- 博客(3)
- 资源 (24)
- 问答 (1)
- 收藏
- 关注
原创 EventBus3.0.0的使用
1.添加依赖compile 'org.greenrobot:eventbus:3.0.0'2.自定义事件类,并提供构造方法以及get方法public class SecondEvent { public String mMsg; public SecondEvent(String mMsg) { this.mMsg = mMsg; }
2017-03-25 20:32:50 408
原创 activity显示意图跳转
activity显示意图跳转两种方式:方式1:Intent intent = new Intent();//参数二:所要跳转的页面的字节码文件名intent.setClass(this, SecordActivity.class);this.startActivity(intent);方式2:Intent intent=new Intent(this,Sec
2017-03-24 10:45:33 1023
原创 android studio 发布app出错:please select the product flavors to build and sign
android studio 发布app出错:please select the product flavors to build and sign
2017-03-03 18:23:01 3255 1
Android 计算器(仅限定两个数的运算)
2017-10-18
自定义实现指示线的左右滑动(长度为屏幕上标题个数的一半)
2017-10-09
使用ViewDragHelp实现ImageView拖动超过屏幕1/2回到屏幕左边,否则到右边,还有一个就是还能实现点击的效果
2017-07-16
底部切换标签 Activity+子fragment
2017-04-04
底部切换标签(方式二)Activity+Fragment
2017-04-04
NavigationView+ToolBar+TabLayout+ViewPager+Fragment综合使用
2017-02-25
Android studio新建项目报红 但是可正常运行
2020-09-18
TA创建的收藏夹 TA关注的收藏夹
TA关注的人