android项目知识点总结-(个人习惯 供自己以后参考 请勿评论)

1.获取验证码:TimeButton 类
2.分享:友盟分享
3.推送:极光推送
4.地图:百度地图, 高德地图
5.聊天:融云,环信

6.首页显示多碎片布局
home = getSupportFragmentManager().findFragmentByTag(“home”);
FragmentTransaction transaction = getSupportFragmentManager().beginTransaction();

7.list添加头部
home_list.addHeaderView(view);

8.刷新首页
android.support.v4.widget.SwipeRefreshLayout

9.自定义MyGridView,MyListView能解决SrcollView冲突或者是listview嵌套GiidView,嵌套listview冲突

10.fragment与viewpager连用
android.support.design.widget.TabLayout 与
android.support.v4.view.ViewPager
v.my_zixun_viewpager.setAdapter(new MyPageAdapter(getSupportFragmentManager()));
v.my_zixun_tablayout.setupWithViewPager(v.my_zixun_viewpager);
//表示缓存页面
v.my_zixun_viewpager.setOffscreenPageLimit(titles.length-1);

11.fragment中嵌套fragment与Viewpager
v.viewpager.setAdapter(new MyPageAdapter(getChildFragmentManager()));

12.定义数组
private final String[] titles={“推荐”,”新闻”,”行情”,”测评”,”技术”,”用车”,”张三”,”李四”};
private String[] CITY = new String[]{“北京市”, “广东省”, “山东省”, “江苏省”, “河南省”,”上海市”}

13.事件总线更新数据
EvenBus

14.图片加载库,Glide,(ImageLoader老版本图片库),具体使用参考链接
http://www.cnblogs.com/alone-01/p/5768750.html
Google出品的图片加载库,这里有非常好的指导文档:https://mrfu.me/2016/02/27/Glide_Getting_Started/

15.item 圆角:CardView
compile ‘com.android.support:cardview-v7:24.2.0’

16.注解:ButterKnife
链接:http://blog.csdn.net/qq_33306988/article/details/53509044

17.base适配器:BaseRecyclerViewAdapter
github链接:https://github.com/CymChad/BaseRecyclerViewAdapterHelper
我的jar包下载路径:http://download.csdn.net/detail/qq_28759359/9781878

18.快速实现微信支付(真的!很快!)
链接:https://juejin.im/post/589845d6128fe10058ebc48e

19.svn android studio配置
http://blog.csdn.net/ma969070578/article/details/50923761
http://blog.csdn.net/Android_Study_OK/article/details/51387677

20.那些年收藏的 Android 开源库集合 (控件)
http://www.jianshu.com/p/3baddcf948af

你可能感兴趣的:(总结)