All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.com.sceyt.chatuikit.presentation.components.picker.adapter.MediaData.kt Maven / Gradle / Ivy

There is a newer version: 1.7.2
Show newest version
package com.sceyt.chatuikit.presentation.components.picker.adapter

import android.net.Uri
import androidx.databinding.BaseObservable
import androidx.databinding.Bindable
import com.sceyt.chatuikit.BR
import com.sceyt.chatuikit.presentation.components.picker.BottomSheetMediaPicker

data class MediaData(
        val contentUri: Uri,
        val realPath: String,
        val isWrong: Boolean,
        val mediaType: BottomSheetMediaPicker.MediaType
) : BaseObservable() {

    var selected: Boolean = false
        @Bindable get
        set(value) {
            field = value
            notifyPropertyChanged(BR.selected)
        }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy