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.