Skip to content Skip to sidebar Skip to footer

Getting Null Pointer Exception When Trying To Populate Listview From Fragment C To Fragment B

I am newbie to android development. I need to populate ListView in fragment B from the value selected by user in the spinner from fragment C. So far what I tried is bundle method b

Solution 1:

The reference String that you are passing while putting the argument args.putString("yog",god);should be the same while you are retriving it yog=getArguments().getString("yog");


Post a Comment for "Getting Null Pointer Exception When Trying To Populate Listview From Fragment C To Fragment B"