升级:gradle依赖库版本

pull/208/head
pppscn 2 years ago
parent c2435850e7
commit 8655f1108a

@ -184,8 +184,8 @@ dependencies {
androidTestImplementation deps.espresso.core
implementation 'androidx.core:core-ktx:1.8.0'
implementation "androidx.activity:activity-ktx:1.4.0"
implementation "androidx.fragment:fragment-ktx:1.4.1"
implementation "androidx.activity:activity-ktx:1.5.1"
implementation "androidx.fragment:fragment-ktx:1.5.1"
implementation "androidx.cardview:cardview:1.0.0"
implementation 'androidx.appcompat:appcompat:1.4.2'
implementation 'androidx.preference:preference-ktx:1.2.0'

@ -7,7 +7,7 @@ import com.idormy.sms.forwarder.database.AppDatabase
class BaseViewModelFactory(private val context: Context?) : ViewModelProvider.Factory {
override fun <T : ViewModel?> create(modelClass: Class<T>): T {
override fun <T : ViewModel> create(modelClass: Class<T>): T {
if (context == null) throw IllegalArgumentException("Context CAN NOT BE null")

@ -119,7 +119,7 @@
app:sb_ripple_color="@color/white"
app:sb_ripple_duration="500"
app:sb_shape_type="rectangle"
tools:ignore="SmallSp" />
tools:ignore="PrivateResource,SmallSp" />
</LinearLayout>

Loading…
Cancel
Save