Handler基本使用 public class MainActivity extends AppCompatActivity { /** * 这里的list如果不使用handler,由于是网络资源,加载需要时 间, 在当我们进行加载ui是 * 很可能list为空,或者没有全部加载完成 */ pri ...
分类:
移动开发 时间:
2021-05-24 05:06:21
阅读次数:
0
Android资源类型 > 形状可绘制图像shape 语法 <?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape=[ ...
分类:
移动开发 时间:
2021-05-24 05:05:59
阅读次数:
0
package com.example.leetcode; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.List; /** * @descripti ...
分类:
其他好文 时间:
2021-05-24 04:04:16
阅读次数:
0
这是因为Library项目中也定义了与主项目相同的属性,就会导致合并失败,比如都默认生成的android:label="@string/app_name" 或者 android:icon="@drawable/icon_logo" 红框中加入冲突的标签就可以解决问题 tools:replace="a ...
分类:
移动开发 时间:
2021-05-24 03:27:53
阅读次数:
0
简介: 以传递 name 和 pwd 参数为例,分别介绍此场景在 Android 小程序和 iOS 小程序中的实现过程。 前言 在部分场景下,需要向小程序的默认接收页(pages/index/index)传递参数。 本文将以传递 name 和 pwd 参数为例,分别介绍此场景在 Android 小程 ...
分类:
微信 时间:
2021-05-24 01:56:19
阅读次数:
0
结果集映射 resultMap 复杂类型使用(一对多的处理) - association 关联 [多对一] 多个学生对应一个老师 - connection 集合 [一对多] 一个老师对应多个学生 - javaType 和 ofType javaType 用来指定实体类中的某个属性的类型 ofType ...
分类:
其他好文 时间:
2021-05-24 01:42:09
阅读次数:
0
video 支持 App平台: 支持本地视频(mp4/flv)、网络视频地址(mp4/flv/m3u8)及流媒体(rtmp/hls/rtsp)。 小程序: live-player 支持 app不支持 百度小程序支持 m3u8 格式;微信小程序支持 flv, rtmp 格式 所以决定微信小程序使用li ...
分类:
微信 时间:
2021-05-24 01:41:50
阅读次数:
0
1 for循环 2 import com.google.common.base.Function; 3 import com.google.common.collect.Maps; 4 5 import java.util.ArrayList; 6 import java.util.HashMap; ...
分类:
其他好文 时间:
2021-05-23 23:53:14
阅读次数:
0
If you are new to YAML, here is a useful link to a blog on YAML. YAML tutorial Here is a free tool that was mentioned in the video that can convert YA ...
分类:
其他好文 时间:
2021-05-04 16:11:49
阅读次数:
0
一键下载B站的普通视频、番剧、电影的小工具 获取软件 由于软件还未完善,目前打赏价定位5.88元,后面软件完善价格会提高 >>>点击跳转打赏页面 目前Android版还在开发中 电脑版支持跨平台使用,只要装了JDK8环境即可,支持Window64 Linux64 Macos64版本,仅支持64位系统 ...
分类:
其他好文 时间:
2021-05-04 16:03:52
阅读次数:
0