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

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

Check Also

handle-new-notification-in-the-same-activity

How to refresh activity on new notification click – Android developer

In some case we face this kind of issue.. In a specific activity we are …

Leave a Reply

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