摘要: 创建fragment不应该通过new的方式, 应该通过一下方式 在Fragment2中,新建一个函数:newInstance(String text)来接收传过来的参数: 新建一个Fragment2实例,然后将参数通过SetArguments设置到其中; 创建fragment不应该通过new的方式, 阅读全文
posted @ 2017-06-27 18:42 wlwqnj 阅读(1792) 评论(0) 推荐(0) 编辑
摘要: package com.kallaite.rxjavademo.customcontrols;import android.content.Context;import android.util.AttributeSet;import android.widget.TextView;public c 阅读全文
posted @ 2017-06-27 15:42 wlwqnj 阅读(153) 评论(0) 推荐(0) 编辑