I added in android manifest a back button in my navigation bar on top of screen to go back to the previous activity using this:
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".main.MainActivity"/>
and now when ever i use the back button in my nav bar, the content of MainActivity gets refreshed it's like clearing task, however when i use my normal back button (on Bottom of screen) my MainActivity's content does not get refreshed as i am only starting the intent programmatically and i haven't cleared task using intent flags.
how can i prevent the back button in nav bar in the title from clearing the previous activity's task using androidManifest?
thanks in advance