Fixup! Make LongList, IntList actually a parcelable mutableListOf()
This commit is contained in:
1 parent
29352b8838
commit
d83f476439
2 files changed
+4
-2
No files matched your search
@@ -4,4 +4,5 @@ import android.os.Parcelable
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Parcelize
|
||||
class IntList : Parcelable, MutableList<Int> by mutableListOf()
|
||||
class IntList @JvmOverloads constructor(private val delegate: MutableList<Int> = mutableListOf()) :
|
||||
Parcelable, MutableList<Int> by delegate
|
||||
@@ -4,4 +4,5 @@ import android.os.Parcelable
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Parcelize
|
||||
class LongList : Parcelable, MutableList<Long> by mutableListOf()
|
||||
class LongList @JvmOverloads constructor(private val delegate: MutableList<Long> = mutableListOf()) :
|
||||
Parcelable, MutableList<Long> by delegate
|
||||
Reference in new issue
Block a user