A
A
Andrew2016-09-08 15:12:01
Java
Andrew, 2016-09-08 15:12:01

Return to the previous fragment?

There is a navigation drawer and fragments, how to make it so that when the back arrow is pressed, the previous fragment is returned, and not exiting the application?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Kuzmin, 2016-09-08
@Flashmond

en.stackoverflow.com/questions/476620/android-%D0%...
Read the comments of the answer. It explains how it's done right.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question