79167840

Date: 2024-11-07 19:31:10
Score: 2
Natty:
Report link

I had the exact same issue. The problem was that I set fragment layout twice: in activity_main.xml (using FragmentContainerView and its attribute "android:name") and in my fragment class.

Removing "android:name" from FragmentContainerView had fixed duplicating items in my case.

I hope it'll help anyone.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Semyon Kuragin