开发者

how to use same logout function to all the activity in the application?

开发者 https://www.devze.com 2023-03-08 17:47 出处:网络
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 wi

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

精彩评论

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