Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Room Park Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav Bogdashkin
Room Park Android
Commits
5b1541a9
Commit
5b1541a9
authored
Nov 18, 2019
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix flat infinity cycled mock
fix layout input type
parent
dc8882be
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
0 deletions
+4
-0
ScreenController.kt
.../roompark/presentation/screen/to_flat/ScreenController.kt
+1
-0
ScreenPresenter.kt
...l/roompark/presentation/screen/to_flat/ScreenPresenter.kt
+1
-0
find_flat_screen.xml
app/src/main/res/layout/find_flat_screen.xml
+2
-0
No files found.
app/src/main/java/com/biganto/visual/roompark/presentation/screen/to_flat/ScreenController.kt
View file @
5b1541a9
...
@@ -102,6 +102,7 @@ class FindFlatScreenController :
...
@@ -102,6 +102,7 @@ class FindFlatScreenController :
when
(
viewState
){
when
(
viewState
){
is
FindFlatScreenViewState
.
Idle
->
render
(
viewState
)
is
FindFlatScreenViewState
.
Idle
->
render
(
viewState
)
is
FindFlatScreenViewState
.
StartTour
->
render
(
viewState
)
is
FindFlatScreenViewState
.
StartTour
->
render
(
viewState
)
is
FindFlatScreenViewState
.
SomeError
->
render
(
viewState
)
}
}
}
}
...
...
app/src/main/java/com/biganto/visual/roompark/presentation/screen/to_flat/ScreenPresenter.kt
View file @
5b1541a9
...
@@ -26,6 +26,7 @@ class FindFlatScreenPresenter @Inject constructor(
...
@@ -26,6 +26,7 @@ class FindFlatScreenPresenter @Inject constructor(
override
fun
bindIntents
()
{
override
fun
bindIntents
()
{
val
startTourIntent
=
intent
(
FindFlatScreen
::
startTour
)
val
startTourIntent
=
intent
(
FindFlatScreen
::
startTour
)
.
filter
{
false
}
.
map
{
FindFlatScreenViewState
.
StartTour
(
it
)
}
.
map
{
FindFlatScreenViewState
.
StartTour
(
it
)
}
val
getFlatIntent
=
intent
(
FindFlatScreen
::
getFlat
)
val
getFlatIntent
=
intent
(
FindFlatScreen
::
getFlat
)
...
...
app/src/main/res/layout/find_flat_screen.xml
View file @
5b1541a9
...
@@ -37,6 +37,8 @@
...
@@ -37,6 +37,8 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:cursorVisible=
"true"
android:cursorVisible=
"true"
android:includeFontPadding=
"false"
android:includeFontPadding=
"false"
android:inputType=
"number"
android:maxLength=
"4"
android:singleLine=
"true"
/>
android:singleLine=
"true"
/>
</com.google.android.material.textfield.TextInputLayout>
</com.google.android.material.textfield.TextInputLayout>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment