常見 Android X Support 包名轉換
跳至導覽
跳至搜尋
X | Support |
---|---|
import androidx.annotation.NonNull; | import android.support.annotation.NonNull; |
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
看是否又遺漏。