Fix deprecated funcs
Only fix kotlin code, because JAVA SUCKS
This commit is contained in:
1 parent
3db6cc1a1c
commit
fafe25fee4
9 files changed
+29
-12
No files matched your search
@@ -0,0 +1,8 @@
|
||||
package com.hippo.util
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.core.os.BundleCompat
|
||||
|
||||
inline fun <reified T> Bundle.getParcelableCompat(key: String?): T? {
|
||||
return BundleCompat.getParcelable(this, key, T::class.java)
|
||||
}
|
||||
Reference in new issue
Block a user