Last active
June 13, 2020 14:53
-
-
Save pranay1494/e0c045cca375fafddcd015964ab420d9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.expandablerecyclerview.data.nestedselect | |
import androidx.databinding.Observable | |
import androidx.databinding.ObservableField | |
import kotlin.collections.ArrayList | |
data class Sections(var id: String?, | |
var sectionName: String, | |
var isMultiSelectEnabled: Boolean = false, | |
var items: List<SelectableEntity> = ArrayList(), | |
var sectionIndex:Int = 0, | |
var isSelected: Boolean = false) { | |
data class SelectableEntity(var id: String = "", var itemName: String = "", var isSelected: Boolean = false) | |
enum class State { | |
EXPANDED, COLLAPSED | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment