会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
哦心有
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
39
下一页
2021年5月27日
每日学习
摘要: 今天尝试将获取数据封装为一个类: package com.example.bowenwang; import android.os.Message; import android.util.Log; import org.json.JSONArray; import org.json.JSONExc
阅读全文
posted @ 2021-05-27 13:02 哦心有
阅读(17)
评论(0)
推荐(0)
2021年5月26日
每日学习
摘要: 今日份学习,新闻app当然得有上拉下拉了,所以smartRefreshLayout得好好学一下, <?xml version="1.0" encoding="utf-8"?> <com.scwang.smartrefresh.layout.SmartRefreshLayout xmlns:andro
阅读全文
posted @ 2021-05-26 23:00 哦心有
阅读(83)
评论(0)
推荐(0)
2021年5月25日
每日学习
摘要: 今日份学习,哎,handle得好好学啊 handle的方法 之前的团队项目第一阶段就已经初识handle,今天再次学习它。 void handleMessage(Message msg):处理消息的方法,通常是用于被重写! sendEmptyMessage(int what):发送空消息 sendE
阅读全文
posted @ 2021-05-25 22:46 哦心有
阅读(41)
评论(0)
推荐(0)
2021年5月24日
每日学习
摘要: 今日份学习,继续intent intent的过滤器: 过滤器 <intent-filter> 需要列出一个或者多个的动作,不能为空;过滤器至少包含一个 元素,否则将阻塞所有的意图。如果多个动作被提到,Android 在调用活动前尝试匹配其中提到的一个动作。 过滤器 <intent-filter> 可
阅读全文
posted @ 2021-05-24 14:39 哦心有
阅读(22)
评论(0)
推荐(0)
2021年5月21日
每日学习
摘要: 今天学习android的意图intent, 之前一直使用intent,但一直不知道究竟是什么,只会使用。 今天对其定义进行学习: Android意图是一个要执行的操作的抽象描述。它可以通过 startActivity 来启动一个活动,broadcastIntent 来发送广播到任何对它感兴趣的广播接
阅读全文
posted @ 2021-05-21 23:37 哦心有
阅读(57)
评论(0)
推荐(0)
2021年5月20日
每日学习
摘要: 今天学习Android内容: 对activity的方法加强学习 Activity 类定义了下面的回调。你可以不用实现所有的回调方法。但了解其中的每一个非常的重要,实现这些可以保证你的应用行为如用户所期望的那样。 回调描述 onCreate() 这是第一个回调,在活动第一次创建时调用 onStart(
阅读全文
posted @ 2021-05-20 22:34 哦心有
阅读(45)
评论(0)
推荐(0)
2021年5月19日
每日学习
摘要: 今天讲述团队项目第一阶段中对recyclerview的适配器配置, package com.example.bowenwang; import android.content.Context; import android.content.Intent; import android.os.Bund
阅读全文
posted @ 2021-05-19 12:20 哦心有
阅读(30)
评论(0)
推荐(0)
2021年5月18日
每日学习
摘要: 今天对团队作业进行一些优化: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://sch
阅读全文
posted @ 2021-05-18 22:26 哦心有
阅读(30)
评论(0)
推荐(0)
2021年5月17日
每日学习
摘要: 今天介绍团队项目中的一些费时间需要解决的点。 因为是新闻app,所以详情页面需要美观,所以就要使用webview。 然后介绍一下我的方法: web=findViewById(R.id.web); Intent intent = this.getIntent(); Bean bean=(Bean) i
阅读全文
posted @ 2021-05-17 20:22 哦心有
阅读(19)
评论(0)
推荐(0)
2021年5月14日
每日学习
摘要: 今天讲述对recyclerview的使用: 这里是我的一个布局: <androidx.recyclerview.widget.RecyclerView android:id="@+id/recycler" android:layout_width="match_parent" android:lay
阅读全文
posted @ 2021-05-14 22:18 哦心有
阅读(25)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
39
下一页
公告