随笔(八)

1. AsyncListUtil
2.推送新项目到git

git add README.md

git commit -m “add README”

git push -u origin master

3.ViewModel
Android 的 ViewModel 机制源码解析
4. DiffUtil
5.

需要泛型类型信息的泛型函数的简便形式

//  public final class Gson { //     ... //     public <T> T fromJson(JsonElement json, Class<T> classOfT) throws JsonSyntaxException { //     ...
inline fun <reified T: Any> Gson.fromJson(json): T = this.fromJson(json, T::class.java)
6.flutter

猜你喜欢

转载自blog.csdn.net/qq_27073205/article/details/79752840