Savage F. Morgan

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年2月7日

摘要: This will be completed...reference link:http://stackoverflow.com/questions/7951730/viewpager-and-fragments-whats-the-right-way-to-store-fragments-state 阅读全文
posted @ 2013-02-07 22:27 罗斯摩根 阅读(252) 评论(2) 推荐(0) 编辑

摘要: Make a bundle object and insert your data (in this example your Category object). Be careful, you can't pass this object directly into the bundle, unless it's serializable. I think it's better to build your object in the fragment, and put only an id or something else into bundle. This is 阅读全文
posted @ 2013-02-07 15:49 罗斯摩根 阅读(1945) 评论(1) 推荐(0) 编辑