I pass an uri with this structure
FragA listview--> interface-->main activity--> detail Activity XXX--> Detail Fragment
it looks it goes well till the three XXX you see above
i take the Uri from the detail Activity (after I receive it from another activity) and I pass it to the Fragment Activity with arguments.putParceable identifying a unique Key and starting the FragmentDetail:
and in Detail Fragment called by the above snippet I have a NPE at the line String mUriString = mUri.toString(); because mUri is null!
on the bold text below this snippet!
the Uri I am passing is a CONTENT URI +ID ( from the DB )
if you need more code let me know please
We coders are all geniuses. Sometimes misunderstood, others humble, introvert or without focus, but how much light abide in our curiosity?(me)