Can you post the content of your
onCreateView(...) method in the
I’m guessing that you are calling
LayoutInflater.inflate(...) at some point. If so you need to use the overloaded version and pass
false as the
View will be added to the hierachy in the
Fragment.replace(...) call, so should not be attached during inflation.