摘要: 在一个 Android 应用中,我使用 FragmentPagerAdapter 来处理多 Fragment 页面的横向滑动。不过我碰到了一个问题,即当 Fragment 对应的数据集发生改变时,我希望能够通过调用 mAdapter.notifyDataSetChanged() 来触发 Fragme... 阅读全文
posted @ 2014-10-23 11:43 manmanlu 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 一,View localView = mRadioGroup_content.getChildAt(i);指定自定义菜单栏的点击格,如child3其中:mRadioGroup_content = (LinearLayout) findViewById(R.id.mRadioGroup_content... 阅读全文
posted @ 2014-10-23 11:41 manmanlu 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1,就像Button控件有监听器一样,动画效果也有监听器,只需要实现AnimationListener就可以实现对动画效果的监听,只需要实现AnimationListener就可以实现对动画效果的监听,其中需要重载三个函数,就是下面的这几个函数: \private class MyListenr i... 阅读全文
posted @ 2014-10-23 09:41 manmanlu 阅读(294) 评论(0) 推荐(0) 编辑