You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A [Controller](control-core/src/main/kotlin/at/florianschuster/control/Controller.kt) is an ui-independent class that controls the state of a view. The role of a `Controller` is to separate business-logic from view-logic. A `Controller` has no dependency to the view, so it can easily be unit tested.
39
+
A [Controller](control-core/src/main/kotlin/at/florianschuster/control/Controller.kt) is an
40
+
ui-independent class that controls the state of a view. The role of a `Controller` is to separate
41
+
business-logic from view-logic. A `Controller` has no dependency to the view, so it can easily be
42
+
unit tested.
34
43
35
44
## info & documentation
36
45
@@ -44,8 +53,9 @@ A [Controller](control-core/src/main/kotlin/at/florianschuster/control/Controlle
44
53
45
54
## examples
46
55
47
-
*[kotlin-counter](examples/kotlin-counter): most basic kotlin example. uses `Controller`.
48
-
*[android-counter](examples/android-counter): android counter example built with [jetpack compose](https://developer.android.com/jetpack/compose).
56
+
*[kotlin-counter](examples/kotlin-counter): most basic kotlin example. uses `Controller`.
57
+
*[android-counter](examples/android-counter): android counter example built
58
+
with [jetpack compose](https://developer.android.com/jetpack/compose).
Copy file name to clipboardExpand all lines: control-core/api/control-core.api
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -49,21 +49,33 @@ public final class at/florianschuster/control/ControllerLog$Custom : at/florians
49
49
50
50
public final class at/florianschuster/control/ControllerLog$None : at/florianschuster/control/ControllerLog {
51
51
public static final field INSTANCE Lat/florianschuster/control/ControllerLog$None;
52
+
public fun equals (Ljava/lang/Object;)Z
53
+
public fun hashCode ()I
54
+
public fun toString ()Ljava/lang/String;
52
55
}
53
56
54
57
public final class at/florianschuster/control/ControllerLog$Println : at/florianschuster/control/ControllerLog {
55
58
public static final field INSTANCE Lat/florianschuster/control/ControllerLog$Println;
59
+
public fun equals (Ljava/lang/Object;)Z
60
+
public fun hashCode ()I
61
+
public fun toString ()Ljava/lang/String;
56
62
}
57
63
58
64
public abstract class at/florianschuster/control/ControllerStart {
59
65
}
60
66
61
67
public final class at/florianschuster/control/ControllerStart$Immediately : at/florianschuster/control/ControllerStart {
62
68
public static final field INSTANCE Lat/florianschuster/control/ControllerStart$Immediately;
69
+
public fun equals (Ljava/lang/Object;)Z
70
+
public fun hashCode ()I
71
+
public fun toString ()Ljava/lang/String;
63
72
}
64
73
65
74
public final class at/florianschuster/control/ControllerStart$Lazy : at/florianschuster/control/ControllerStart {
66
75
public static final field INSTANCE Lat/florianschuster/control/ControllerStart$Lazy;
76
+
public fun equals (Ljava/lang/Object;)Z
77
+
public fun hashCode ()I
78
+
public fun toString ()Ljava/lang/String;
67
79
}
68
80
69
81
public abstract interface class at/florianschuster/control/ControllerStub : at/florianschuster/control/Controller {
@@ -120,6 +132,9 @@ public final class at/florianschuster/control/TakeUntilKt {
120
132
public static synthetic fun takeUntil$default (Lkotlinx/coroutines/flow/Flow;ZLkotlin/jvm/functions/Function2;ILjava/lang/Object;)Lkotlinx/coroutines/flow/Flow;
121
133
}
122
134
135
+
public abstract interface annotation class at/florianschuster/control/TestOnlyStub : java/lang/annotation/Annotation {
136
+
}
137
+
123
138
public abstract interface class at/florianschuster/control/TransformerContext {
0 commit comments