“常见 Android X Support 包名转换”的版本间差异
跳到导航
跳到搜索
(创建页面,内容为“Category:Android {| class="wikitable" |- ! scope="col"|X ! scope="col"|Support |- |import androidx.annotation.NonNull; |import android.support.annotation.NonNull…”) |
|||
(未显示同一用户的2个中间版本) | |||
第7行: | 第7行: | ||
|import androidx.annotation.NonNull; | |import androidx.annotation.NonNull; | ||
|import android.support.annotation.NonNull; | |import android.support.annotation.NonNull; | ||
|- | |||
|import androidx.annotation.DrawableRes; | |||
|import android.support.annotation.DrawableRes; | |||
|- | |- | ||
|import androidx.annotation.Nullable; | |import androidx.annotation.Nullable; | ||
第31行: | 第34行: | ||
|androidx.constraintlayout.widget.ConstraintLayout | |androidx.constraintlayout.widget.ConstraintLayout | ||
|android.support.constraint.ConstraintLayout | |android.support.constraint.ConstraintLayout | ||
|- | |||
|androidx.recyclerview.widget.RecyclerView | |||
|android.support.v7.widget.RecyclerView | |||
|} | |} | ||
最后全局搜寻 <code>androidx</code> 看是否 | 最后全局搜寻 <code>androidx</code> 看是否 有 遗漏。 |
2022年8月9日 (二) 03:15的最新版本
X | Support |
---|---|
import androidx.annotation.NonNull; | import android.support.annotation.NonNull; |
import androidx.annotation.DrawableRes; | import android.support.annotation.DrawableRes; |
import androidx.annotation.Nullable; | import android.support.annotation.Nullable; |
import androidx.core.app.ActivityCompat; | import android.support.v4.app.ActivityCompat; |
import androidx.fragment.app.FragmentActivity; | import android.support.v4.app.FragmentActivity; |
import androidx.constraintlayout.widget.ConstraintLayout; | import android.support.constraint.ConstraintLayout; |
import androidx.annotation.MainThread; | import android.support.annotation.MainThread; |
import androidx.annotation.RequiresApi; | import android.support.annotation.RequiresApi; |
import androidx.core.content.ContextCompat; | import android.support.v4.content.ContextCompat; |
androidx.constraintlayout.widget.ConstraintLayout | android.support.constraint.ConstraintLayout |
androidx.recyclerview.widget.RecyclerView | android.support.v7.widget.RecyclerView |
最后全局搜寻 androidx
看是否有遗漏。