![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
作业
super_y_cai
这个作者很懒,什么都没留下…
展开
-
job_day01
按钮的种类原创 2019-08-30 21:45:13 · 154 阅读 · 0 评论 -
通知,监听
初始化数据,开启异步任务,并在异步任务结束时,发送通知private String path="http://www.qubaobei.com/ios/cf/dish_list.php?stage_id=1&limit=20&page=3"; private Button downDate; private Button sendDate; privat...原创 2019-09-02 21:10:18 · 91 阅读 · 0 评论 -
Fragment的效果与生命周期
先用RadioButton实现按钮效果 private RadioButton contacts; private RadioButton message; contacts = (RadioButton) findViewById(R.id.contacts); message = (RadioButton) findViewById(R.id.mess...原创 2019-09-03 20:15:50 · 123 阅读 · 0 评论 -
FrameMent的回退与传值
创建Framement之后,Framement不隐藏的话会叠加回退fragmentTransaction.addToBackStack("top");传值1.通过bundle来传递//获取值的一方 FragmentManager manager = getSupportFragmentManager(); FragmentTransaction fragmentTra...原创 2019-09-04 21:18:09 · 451 阅读 · 0 评论 -
头部标题和ViewPage的联动
先创建视图topTab = (TabLayout) findViewById(R.id.top_tab); viewShow = (ViewPager) findViewById(R.id.view_show); footCip = (LinearLayout) findViewById(R.id.foot_cip); start = (Butt...原创 2019-09-05 23:45:20 · 155 阅读 · 0 评论 -
图片与字符串的写入文件与读取
获取视图downImg = (Button) findViewById(R.id.down_img); readImg = (Button) findViewById(R.id.read_img); downJson = (Button) findViewById(R.id.down_json); readJson = (Button) findV...原创 2019-09-06 21:00:38 · 307 阅读 · 0 评论 -
ContentProvider
内容提供者 @Override public void onCreate(SQLiteDatabase db) { //创建 db.execSQL("create table user(_id integer,_name varchar(20),_age integer)"); db.beginTransaction(); ...原创 2019-09-09 23:49:11 · 100 阅读 · 0 评论 -
day1
客户端OkHttpClient.Builder builder=new OkHttpClient.Builder(); builder.connectTimeout(60, TimeUnit.SECONDS); builder.readTimeout(1,TimeUnit.MINUTES); OkHt...原创 2019-09-27 21:31:12 · 73 阅读 · 0 评论