mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-04 06:00:11 +00:00
升级:gradle依赖库版本
This commit is contained in:
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…
Reference in New Issue
Block a user