SystemaOnParentScrollChangeListener

class SystemaOnParentScrollChangeListener(    systema: SystemaAI,     tagMapping: Map<String, Int>,     dispatcher: CoroutineDispatcher = Dispatchers.IO,     callback: (Result<HttpResponse>) -> Unit = {}) : SystemaCompositeListener<View.OnScrollChangeListener> , View.OnScrollChangeListener

This listener monitors parent's scroll change events and invoke container shown on the child container if appropriate

This is because in order to catch container shown event of the child, we actually need to monitor scroll change of the parent view.

Constructors

Link copied to clipboard
fun SystemaOnParentScrollChangeListener(    systema: SystemaAI,     tagMapping: Map<String, Int>,     dispatcher: CoroutineDispatcher = Dispatchers.IO,     callback: (Result<HttpResponse>) -> Unit = {})

Functions

Link copied to clipboard
fun addChildContainer(recContainer: View)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun clearAll()
Link copied to clipboard
fun getChildContainers(): List<View>
Link copied to clipboard
fun getListeners(): List<View.OnScrollChangeListener>
Link copied to clipboard
open override fun onScrollChange(    containerParent: View?,     scrollX: Int,     scrollY: Int,     oldScrollX: Int,     oldScrollY: Int)
Link copied to clipboard
fun removeChildContainer(recContainer: View)
Link copied to clipboard
fun removeListener(listener: View.OnScrollChangeListener): View.OnScrollChangeListener?