Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Latest commit

 

History

History
30 lines (20 loc) · 1.76 KB

File metadata and controls

30 lines (20 loc) · 1.76 KB

kakao / com.agoda.kakao.screen / ScreenActions

ScreenActions

interface ScreenActions

Interface with common actions for all screens

Provides basic actions that can be performed on each and every screen

Properties

Name Summary
view abstract val view: ViewInteractionDelegate
ViewInteractionDelegate on which all actions are performed (root view by default)

Functions

Name Summary
closeSoftKeyboard open fun closeSoftKeyboard(): Unit
Closes soft keyboard, if opened
pressBack open fun pressBack(): Unit
Performs click on device's back button
pressKey open fun pressKey(keyCode: Int): Unit
Presses a key with corresponding KeyCodeopen fun pressKey(key: EspressoKey): Unit
Presses a key with correspondingKeyCode and modifiers
pressMenuKey open fun pressMenuKey(): Unit
Presses the hardware menu key

Inheritors

Name Summary
Screen open class Screen<out T : Screen<T>> : ScreenActions
Container class for UI elements.