class Needs : LifecycleObserver
Needs implements showing and dismissing popup with background, animations.
class Builder
Builder class for creating Needs. |
|
abstract class Factory
An abstract factory class for creating Needs instance. |
Needs(context: Context, builder: Builder)
Needs implements showing and dismissing popup with background, animations. |
var isShowing: Boolean |
fun dismiss(): Unit
dismiss the popup menu. |
|
fun onDestroy(): Unit
dismiss automatically when lifecycle owner is destroyed. |
|
fun setBackgroundSystemUiVisibility(visibility: Int): Unit
sets system UI visibility flags for backgroundView. |
|
fun setOnConfirmListener(onConfirmListener: OnConfirmListener): Unit fun setOnConfirmListener(block: () -> Unit): Unit |
|
fun show(view: View): Unit
shows the popup menu to the center. |