This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="80dp" | |
android:paddingBottom="8dp"> | |
<ImageView | |
android:id="@+id/ivotp" | |
android:layout_width="16dp" | |
android:layout_height="16dp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import kotlin.test.assertEquals | |
data class State(val state: String) | |
data class Event(val event: String) | |
data class CurrentStateEvent(val state: State, val event: Event) | |
class TransitionTable { | |
private var stateTable = mutableMapOf<CurrentStateEvent, State>() |