阅读背景:

Android活动仅在它们呈现的数据方面有所不同

来源:互联网 

I'm trying to build an application. MainActivity has 50 buttons and all of them will open a new activity. Each of these 50 activities will look the same (it will have 4 buttons that open new activities). These new 4 activities will differ only in the fact they will have different information. Do I indeed need 200 activities (that will differ only in presenting different information to the user) and 200 layouts or is there a better way to do this? What's the proper way to do it?I'm trying to build an application. MainActivit




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: