开发者

How to use page controllers in android

开发者 https://www.devze.com 2023-03-01 06:12 出处:网络
I am building an application in which I have to use 开发者_Go百科page controllers (Similar to the page controllers in iphone ). I could not find any such thing in android .

I am building an application in which I have to use 开发者_Go百科page controllers (Similar to the page controllers in iphone ). I could not find any such thing in android . Is it possible to use this in android or any alternative of this in android ...?

Thanks in advance.


There is no page controllers in Android API. But you can still use this design approach in you code I think. Just move all view interaction logic in separate controller class, leave in Activity derived class only activity specific code, like menu inflation etc.

0

精彩评论

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