Skip to content Skip to sidebar Skip to footer

Android Fragment Can't Read Bundle. Bundle Is Always Null

I wrote a custom static method to create my fragment. Fragment is a subclass of android.support.v4.app.Fragment class. Method to create my fragment is bellow. public static AddItem

Solution 1:

Silly me was overriding bundle set in the Fragment with Activity's savedInstanceState bundle which at that point is NULL.

DUH...

Post a Comment for "Android Fragment Can't Read Bundle. Bundle Is Always Null"