I would like to do the following:
setContentView(R.layout.product_details_editpage);
I want to check if product_details_editpage layout has another layout included in it? If so, for the included layout components, I would like to reuse the handlers from elsewhere in the App.
If the included layout has a button such as Logout, then I dont want to re-implement that logout button handler again in th eactivity that sets calls setContentView() above.
What is the easiest way /best way to do this?
agreed with above comments. accept te discussion is closed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.