12 2015 档案
Volley封装
摘要:Volley.jar下载在Application初始化 Volleyqueues=Volley.newRequestQueue(appContext);并返回RequestQueue 对象 public static RequestQueue getHttpQueues(){ return que... 阅读全文
posted @ 2015-12-25 11:32 freexiaoyu 阅读(415) 评论(0) 推荐(0)
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
摘要:引用appcompat 类库提示error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.引用地址adt-... 阅读全文
posted @ 2015-12-24 14:27 freexiaoyu 阅读(335) 评论(0) 推荐(0)
The type android.support.v4.view.ScrollingView cannot be resolved. It is indirectly referenced from
摘要:前几天另一个项目使用RecyclerView控件,引用类库然后继承一切都很顺序详细:http://www.cnblogs.com/freexiaoyu/p/5022602.html今天打算将另一个项目的ListView控件也替换成RecyclerView以同样的方式引用了RecyclerView,引... 阅读全文
posted @ 2015-12-24 00:39 freexiaoyu 阅读(1868) 评论(0) 推荐(0)
Recyclerview 实现上拉加载更多
摘要:LinearLayoutManager layoutManager;layoutManager = new LinearLayoutManager(getActivity()); layoutManager.setOrientation(LinearLayoutManager.VERTICAL)... 阅读全文
posted @ 2015-12-16 15:40 freexiaoyu 阅读(1381) 评论(0) 推荐(0)
RecyclerAdapter封装
摘要:import java.util.LinkedList;import java.util.List;import android.content.Context;import android.support.v7.widget.RecyclerView;import android.view.Lay... 阅读全文
posted @ 2015-12-15 15:13 freexiaoyu 阅读(2587) 评论(0) 推荐(0)
项目中自己一直用到的baseAdapter的类
摘要:1 import java.util.LinkedList; 2 import java.util.List; 3 4 import android.content.Context; 5 import android.view.LayoutInflater; 6 import and... 阅读全文
posted @ 2015-12-15 10:45 freexiaoyu 阅读(456) 评论(0) 推荐(0)
SwipeRefreshLayout 和RecyclerView 使用
摘要:使用是布局 View CodeLinearLayoutManager layoutManager = new LinearLayoutManager(getActivity()); layoutManager.setOrientation(Li... 阅读全文
posted @ 2015-12-05 23:44 freexiaoyu 阅读(2635) 评论(0) 推荐(0)
DrawerLayout 使用
摘要:android.support.v4.widget.DrawerLayout 做为根布局布局格式 一个第布局是内容,第二个是左侧菜单,第三个是右侧菜单,通过android:layout... 阅读全文
posted @ 2015-12-05 16:51 freexiaoyu 阅读(3104) 评论(0) 推荐(0)