how to use same logout function to all the activity in the application?
In my application i have logout option on the header xml file and the functionality occurred related activity i want to us开发者_JS百科e same functionality to all the page in my android application without reputation. how to do this work?.
use application context for all the activity
you should use <incude></include>
feature of android to merge your Header layout in all othe layout.
精彩评论