开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜