com.dailystudio.devbricksx.annotations.ListFragment.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of devbricksx-kotlin-annotations Show documentation
Show all versions of devbricksx-kotlin-annotations Show documentation
DevBricks eXetrems Kotlin Annotations
package com.dailystudio.devbricksx.annotations
import kotlin.reflect.KClass
enum class DataSource {
Flow,
LiveData,
}
@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.CLASS)
annotation class ListFragment(
val layout: Int = -1,
val layoutByName: String = "",
val fillParent: Boolean = true,
val dataSource: DataSource = DataSource.LiveData,
val superClass: KClass<*> = Void::class,
val pageSize: Int = 20,
val gridLayout: Boolean = false,
val columns: Int = 2,
)