MdListWidgetContainer

Widget that only accepts child of type T. It is a simpler replacement for Container which accept any kind of child.

Author

Maanrifa Bacar Ali

Inheritors

Functions

Link copied to clipboard
abstract fun add(item: T)

Adds given item to the current widget.

abstract fun add(position: Int, item: T)

Adds given item to the current widget at the given position.

Link copied to clipboard
abstract fun addAll(items: List<T>)

Adds a list of items to the current widget.

Link copied to clipboard
abstract fun disposeAll()

Removes all items from the current widget and disposes them.

Link copied to clipboard
abstract fun remove(item: T)

Removes given item from the current widget.

Link copied to clipboard
abstract fun removeAll()

Removes all items from the current widget.

Link copied to clipboard
abstract fun removeAt(position: Int)

Removes the item from the current widget at the given position.