mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-08-14 13:51:57 +00:00
Add: Favorites category
This commit is contained in:
@@ -10,6 +10,12 @@ sealed class Section : KParcelable {
|
||||
val CREATOR = KParcelable.creator { All }
|
||||
}
|
||||
|
||||
object FAVORITE : Section() {
|
||||
@Suppress("unused")
|
||||
@JvmField
|
||||
val CREATOR = KParcelable.creator { FAVORITE }
|
||||
}
|
||||
|
||||
data class Category(val name: String) : Section() {
|
||||
override fun writeToParcel(dest: Parcel, flags: Int) {
|
||||
dest.writeString(name)
|
||||
|
Reference in New Issue
Block a user