SLRCustomOverlay

@Serializable
data class SLRCustomOverlay(@IdRes val actionId: Int, @StringRes val titleId: Int, @DrawableRes val iconId: Int, val fullClassName: String)

Sets the custom overlay to the list menu.

Constructors

Link copied to clipboard
constructor(@IdRes actionId: Int, @StringRes titleId: Int, @DrawableRes iconId: Int, fullClassName: String)

Properties

Link copied to clipboard
val actionId: Int

id for a navigation, example: in the ids.xml define

Link copied to clipboard
Link copied to clipboard
val fullClassName: String

full class name of the Fragment class example "io.streamlayer.demo.MainFragment"

Link copied to clipboard
val iconId: Int

id resource for button image

Link copied to clipboard
var onBottomMenu: Boolean
Link copied to clipboard
val titleId: Int

string resource for button title

Functions

Link copied to clipboard
fun position(position: Int): SLRCustomOverlay

Set button position in the menu. Starting from left to right after profile menu.

Link copied to clipboard

Show button in the bottom menu