Skip to content Skip to sidebar Skip to footer

Android Viewpager Inside Dialogfragment, App Crashed With No View Found For Id Using Api 17

for the issue in question. Tried Searching for solutions and says getChildFragmentManager/getSupportFragmentManager should be used, but the problem is even with updated android sdk

Solution 1:

It may not be an answer in a way, at least it solve one of the causes which gives a new type of exception in which i will post another question if i cannot resolved it with answers from similar problems. The one that got resolved here is I am now able to use the getChildFragmentManager and getSupportFragmentManager function and the answer can be found here: Eclipse Android missing getSupportedFragmentManager and getChildFragmentManager.

Solution 2:

I think you should use:

View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState);

Instead of:

Dialog onCreateDialog(Bundle savedInstanceState);

It's helped for me.

Also, check out this link:

fragments in viewpager, no view found error

Post a Comment for "Android Viewpager Inside Dialogfragment, App Crashed With No View Found For Id Using Api 17"