0

I can't figure out how to interact with other fragments. I know I need to implement the OnFragmentInteractionListener but I don't know what is the properly ways to pass to the listener.

The OnFragmentInteractionListener has method which take Uri as a parameter. What is the structure of the that Uri we have to pass in.

Why not object instead of Uri.

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
LittleFunny
  • 8,155
  • 15
  • 87
  • 198
  • 3
    Possible duplicate of [How to implement OnFragmentInteractionListener](http://stackoverflow.com/questions/24777985/how-to-implement-onfragmentinteractionlistener) – OneCricketeer Nov 26 '16 at 04:03
  • OnFragmentInteractionListener is nothing which is provided by android you can create your own interface with parameter in callback method which you required for pass the data. – VikasGoyal Nov 26 '16 at 04:03
  • 1) Uri class is an object 2) Uri does what? You can easily change that to whatever you actually need – OneCricketeer Nov 26 '16 at 04:03

0 Answers0