I have a fragment and a dialogfragment, I want to communicate between them:
send data from fragment to dialogfragment and
send data from dialogfragment to fragment
I read about setTargetFragment and getTargetFragment but I couldnot understand how to use them correctly to send/receive data to/from dialogfragment.
any help?