03 2020 档案
摘要:data class Person(val name: String="",val age:Int=0) { } Java代码实现: //json转List public static <T> java.util.List<T> getListFromJson(String json, Class<
阅读全文
摘要:获取手机本地图片的宽度和高度,我们通常使用以下方法: final BitmapFactory.Options options = new BitmapFactory.Options(); options.inJustDecodeBounds = true; BitmapFactory.decodeF
阅读全文