Skip to content Skip to sidebar Skip to footer

How To Confirm Quit Application In Fragment ? When User Press Back Key

i am creating an applicaiton with different fragments. I want to add code to listener for back key event and confirm with user if he wants to exit the app or not.. public class F

Solution 1:

I have solved the issue by adding the above code in the Main Activity not in each Fragment. Thanks Alls


Post a Comment for "How To Confirm Quit Application In Fragment ? When User Press Back Key"