File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
reactiveviewmodel/src/main/java/com/alexdeww/reactiveviewmodel/widget Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ typealias FormatterAction = (text: String) -> String
1414@SuppressLint(" CheckResult" )
1515class InputControl internal constructor(
1616 initialText : String ,
17- formatter : FormatterAction ? ,
18- hideErrorOnUserInput : Boolean
17+ hideErrorOnUserInput : Boolean ,
18+ formatter : FormatterAction ?
1919) : BaseControl() {
2020
2121 val text = state(initialText)
@@ -38,9 +38,9 @@ class InputControl internal constructor(
3838
3939fun inputControl (
4040 initialText : String = "",
41- formatter : FormatterAction ? = null ,
42- hideErrorOnUserInput : Boolean = true
43- ): InputControl = InputControl (initialText, formatter, hideErrorOnUserInput )
41+ hideErrorOnUserInput : Boolean = true ,
42+ formatter : FormatterAction ? = null
43+ ): InputControl = InputControl (initialText, hideErrorOnUserInput, formatter )
4444
4545
4646private val EditText .textChanges: Observable <CharSequence >
You can’t perform that action at this time.
0 commit comments