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

com.dailystudio.devbricksx.annotations.ListFragment.kt Maven / Gradle / Ivy

There is a newer version: 1.6.6
Show newest version
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,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy