EngineActivity

abstract class EngineActivity<B : ViewDataBinding>(@LayoutRes() contentLayoutId: Int) : FinishBroadcastActivity, View.OnClickListener

Functions

dispatchTouchEvent
Link copied to clipboard
open override fun dispatchTouchEvent(event: MotionEvent): Boolean
finishTransition
Link copied to clipboard
fun finishTransition()
关闭界面
init
Link copied to clipboard
open fun init()
onBackPressed
Link copied to clipboard
open override fun onBackPressed()
fun onBackPressed(block: () -> Boolean)
返回键事件
onClick
Link copied to clipboard
open override fun onClick(v: View)
onTouchEvent
Link copied to clipboard
fun onTouchEvent(block: MotionEvent.() -> Boolean)
触摸事件
requireActivity
Link copied to clipboard
fun requireActivity(): AppCompatActivity
setContentView
Link copied to clipboard
open override fun setContentView(layoutResId: Int)

Properties

binding
Link copied to clipboard
lateinit var binding: B
rootView
Link copied to clipboard
lateinit var rootView: View

Inheritors

EngineSwipeActivity
Link copied to clipboard
EngineToolbarActivity
Link copied to clipboard