Open zhdh2008 opened 9 years ago
让多个Fragment切换时不重新实例化 http://www.yrom.net/blog/2013/03/10/fragment-switch-not-restart/
ViewPager嵌套Fragment来回滑动重新加载数据 http://blog.csdn.net/q908555281/article/details/48435647
ViewPager+Fragment取消预加载(延迟加载) http://www.2cto.com/kf/201501/368954.html
GridView仅更新当前item的方法
private void updateItem(int position, ImageItem imageItem) { if (currentGridView == null) { return; } int visiblePos = currentGridView.getFirstVisiblePosition(); // The clicked view View view = currentGridView.getChildAt(position - visiblePos); ImageView selectTag = ViewHolder.get(view, R.id.select_tag); selectTag.setImageResource(imageItem.isSelected() ? R.drawable.pictures_selected : R.drawable.picture_unselected); }
1.仿美团实现效果:http://www.cnblogs.com/leestar54/p/4232647.html 2.activity变暗的效果 https://github.com/android-cn/android-discuss/issues/147#issuecomment-97038051 3.锁屏通知 https://github.com/AChep/AcDisplay 4.Customized View define attributes for customized View. http://stackoverflow.com/questions/3441396/defining-custom-attrs http://blog.csdn.net/sasoritattoo/article/details/8614410 http://www.cnblogs.com/hibraincol/archive/2011/10/27/2227149.html 5.仿美团下拉菜单 http://download.csdn.net/detail/u010215134/7296013 6.Android design support library http://www.open-open.com/lib/view/open1433385856119.html https://github.com/yanbober/Android-Blog-Source/tree/master/Support-Library-DemAo 7.Android Image Picker. http://www.pudn.com/downloads648/sourcecode/comm/android/detail2635334.html 8.Camera usage http://vaero.blog.51cto.com/4350852/779942 9.GridView添加分割线 http://blog.csdn.net/jdsjlzx/article/details/44182693 10.shape的使用 http://blog.csdn.net/piglovesula/article/details/24318739 http://www.cnblogs.com/cyanfei/archive/2012/07/27/2612023.html 11.PopupWindow相关 http://blog.csdn.net/aikongmeng/article/details/24505159