Home / Android F F P / Call dialog fragment from another fragment and return callback in the fragment from dialog frament

Call dialog fragment from another fragment and return callback in the fragment from dialog frament

From the Fragment open the dialog fragment like below

then to recive the callback from the dialog fragment in your host fragment use this code in your dialog fragment

Then you will receive in your fragment.

About Rana

Avatar photo
Love to do fun with programming and build something new.. :)

Check Also

How to change fab(floating action bar) color android

Floating action bar is an attractive implementation in android material design. Any one can do …

Leave a Reply

Your email address will not be published. Required fields are marked *