Skip to content Skip to sidebar Skip to footer

Viewpager With A Listview Fragment - The Specified Child Already Has A Parent

So I will start off by saying that I have seen several other people post with the exact same error. However, I am at the stage where I have tried all ten different solutions and a

Solution 1:

View view = inflater.inflate(R.layout.list_view_layout, null);

You should use null container when inflating the view, else the container is going to be the parent of your inflated view.


Post a Comment for "Viewpager With A Listview Fragment - The Specified Child Already Has A Parent"