2013年4月28日
摘要: 【Android Training - 06】分享数据内容 [Lesson 3 - 在ActionBar上添加Share Action]分类:Android2012-03-31 19:161245人阅读评论(0)收藏举报androidactiontrainingmenustreamfunction目录(?)[+]Adding an Easy Share Action[增加一个简单的分享Action]这一课会介绍在ActionBar中添加一个高效率且比较友好的Share功能,会使用到ActionProvider(在Android 4.0上才被引进)。它会handle出现share功能的appea 阅读全文
posted @ 2013-04-28 17:35 zhengbeibei 阅读(327) 评论(0) 推荐(0) 编辑
摘要: onSaveInstanceState和onRestoreInstanceState触发的时机先看Application Fundamentals上的一段话:Android calls onSaveInstanceState() before the activity becomes vulnerable to being destroyed by the system, but does not bother calling it when the instance is actually being destroyed by a user action (such as pressing 阅读全文
posted @ 2013-04-28 15:45 zhengbeibei 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 2012-06-17 23:4311518人阅读评论(35)收藏举报androidAndroidANDROIDfragmentFragmentjavaJavaJAVAuiUI官网目录(?)[+]Fragment要点Fragment作为Activity界面的一部分组成出现可以在一个Activity中同时出现多个Fragment,并且,一个Fragment亦可在多个Activity中使用。在Activity运行过程中,可以添加、移除或者替换Fragment(add()、remove()、replace())Fragment可以响应自己的输入事件,并且有自己的生命周期,当然,它们的生命周期直接被其所 阅读全文
posted @ 2013-04-28 15:06 zhengbeibei 阅读(2098) 评论(0) 推荐(0) 编辑