Package io.getstream.butterfly.livedata
Functions
Link copied to clipboard
fun Activity.postureLiveData(context: CoroutineContext = EmptyCoroutineContext): LiveData<Posture>
Content copied to clipboard
fun Fragment.postureLiveData(context: CoroutineContext = EmptyCoroutineContext): LiveData<Posture>
Content copied to clipboard
Returns a LiveData of the Posture by tracking the WindowLayoutInfo.
Link copied to clipboard
fun Activity.windowLayoutInfoLiveData(context: CoroutineContext = EmptyCoroutineContext): LiveData<WindowLayoutInfo>
Content copied to clipboard
fun Fragment.windowLayoutInfoLiveData(context: CoroutineContext = EmptyCoroutineContext): LiveData<WindowLayoutInfo>
Content copied to clipboard
fun WindowInfoTracker.windowLayoutInfoLiveData(activity: Activity, context: CoroutineContext = EmptyCoroutineContext): LiveData<WindowLayoutInfo>
Content copied to clipboard
Returns a LiveData of the WindowLayoutInfo.