- 博客(22)
- 收藏
- 关注
转载 如何从layout文件添加 fragment
//向活动添加碎片,根据屏幕的纵向和横向显示//1,获取碎片管理器FragmentManager fragment=getFragmentManager();//2,碎片的显示需要使用FragmentTransaction类操作FragmentTransaction transacction=fragment.beginTransaction();//获取屏幕管理器和默认的显示Disp
2016-03-29 11:36:26 1162
转载 tablayout
1 Star8 Fork2ColaCheng/AndroidTabLayoutWithViewPager Code Issues 0 Pull requests 0 Wiki Pulse GraphsBranch: master Find fileCopy pathA
2016-03-28 18:42:26 510
转载 如何优雅的管理ActionBar
如何优雅的管理ActionBar标签: actionbarandroid封装布局博客2016-03-28 13:08 38人阅读 评论(0) 收藏 举报 分类: [Android] --- 趣味屋(9) 版权声明:本文为博主原创文章,未经博主允许不得转载。目录(?)[+]转载请标明出处:
2016-03-28 13:41:54 380
转载 Android开发之ListView实现不同品种分类分隔栏的效果(非ExpandableListView实现)
Android开发之ListView实现不同品种分类分隔栏的效果(非ExpandableListView实现)2014-09-19 0 个评论 来源:MiniMicall的专栏 收藏 我要投稿我们有时候会遇到这么一个情况。就是我在一个ListView里面需要显示的东西其实是有种类之分的。比如我要分冬天,夏天,秋天,春天,然后在这每个季节下
2016-03-28 13:40:24 496
转载 Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled
Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled.标签: android studioInstant Run requires2016-03-21 16:39 59人阅读 评论(2) 收藏 举报 分类: 开发环境
2016-03-23 16:49:33 3016 3
原创 让swiperefreshlayout 加载更多。
package view;import android.content.Context;import android.support.v4.widget.SwipeRefreshLayout;import android.util.AttributeSet;import android.util.Log;import android.view.LayoutInflater;impor
2016-03-16 16:29:39 425
转载 无缝为Activity、Fragment、任何View设置加载(loading)、重试(retry)和无数据(empty)页面
Code Issues 2 Pull requests 0 Pulse Graphs无缝为Activity、Fragment、任何View设置加载(loading)、重试(retry)和无数据(empty)页面。 3 commits 1 branch 0 releases1 contributor Java 100.0%
2016-03-11 14:00:19 1660 1
转载 使用TabLayout实现底部Tab布局
使用TabLayout实现底部Tab布局发表于 2015-08-09 | 分类于 Android | 12条评论Android design支持库中的TabLayout一般都用来实现头部Tab的效果,比如:但是像微信这种底部Tab布局在我们实际项目中还是非常常见的设计,现在我们也可以用TabLayout非常方便的实现。
2016-03-07 11:58:15 1188
原创 .ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to
这种是类型转换中断。DataEntity 也必须要加, 不光List否则类型转换会在 DataEntity 中断,导致类型转换异常。private DataEntityT> data;@Overridepublic String toString() { return "BaseResults{" + "data=" + data +
2016-03-02 15:22:23 2696
原创 retrofit 错误解析
example.luokx.loadmore_2016_03_02_09_56.MainActivity}: java.lang.IllegalArgumentException: @Field parameters can only be used with form encoding. (parameter #1)//登录@FormUrlEncoded@POST("api/
2016-03-02 10:45:58 11561 2
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人