Skip to content
#

androidx

Here are 704 public repositories matching this topic...

brandlee
brandlee commented Dec 13, 2021

举个例子:
@Nullable public static String getString(@NonNull Intent intent, @NonNull String key, @Nullable String defaultValue) { return getString(intent.getExtras(), key, defaultValue); }
getString的已经有了defaultValue,然而还是Nullable,整个方法返回的也是Nullable,那么这个默认值感觉没有什么意义,也没有节省任何非空的判断

good first issue

🔥 ( 持续更新,目前含 200+ 工具类 ) DevUtils 是一个 Android 工具库,主要根据不同功能模块,封装快捷使用的工具类及 API 方法调用。该项目尽可能的便于开发人员,快捷、高效开发安全可靠的项目。

  • Updated Apr 14, 2022
  • Java

Improve this page

Add a description, image, and links to the androidx topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the androidx topic, visit your repo's landing page and select "manage topics."

Learn more