This file contains hidden or 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
data class TextState(val text: String? = null) : MvRxState | |
class TextViewModel(state: TextState) : MvRxViewModel<TextState>(state) { | |
fun setText(text: String) { | |
setState { | |
copy(text = text) | |
} | |
} | |
} |
This file contains hidden or 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
"State set": { | |
"RoomCountsState": { | |
"modifiedRoomCounts": { | |
"added keys": "[Bedroom=2]" | |
} | |
} | |
} |
This file contains hidden or 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
"click": [ | |
{ | |
"MvRx State set": { | |
"CancellationPolicyState": { | |
"selectedPolicyKey": { | |
"newValue": "flexible", | |
"oldValue": "strict_14_with_grace_period" | |
} | |
} | |
} |
This file contains hidden or 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
"click": [ | |
{ | |
"Request Executed": { | |
"GET": "https://api.airbnb.com/v2/trip_host_reviews?_format=for_funston&_limit=5&_offset=0&host_id=1&rating=5" | |
} | |
} |
This file contains hidden or 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
"click": [ | |
{ | |
"Fragments changed": { | |
"Fragment name": "ManageRoomPhotosFragment", | |
"args": "ManageRoomPhotosArgs(id=100, name=\"Kitchen\")", | |
"state": "STOPPED" | |
} | |
} | |
] |
This file contains hidden or 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
"click": [ | |
{ | |
"onOptionsItemSelected": { | |
"itemId": "android:id\/home", | |
"title": "Location" | |
} | |
}, | |
{ | |
"supportFinishAfterTransition": {} | |
} |
This file contains hidden or 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
"view": "ImageView", | |
"viewId": "listing_image", | |
"properties": { | |
"url": "https://a0.muscache.com/4ea/air/v2/pictures/22903706/501e0ec5_original.jpg" | |
} |
This file contains hidden or 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
"view": "ExpandableTextView", | |
"viewId": "text_row_expandable_text_view", | |
"properties": { | |
"content description": "We know the area well and are happy to tell you interesting places to visit." | |
} |
This file contains hidden or 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
"click": [ | |
{ | |
"Events logged": { | |
"ListingElementActionEvent": 2, | |
"NavigationEvent": 1 | |
} | |
} | |
] |
This file contains hidden or 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
"click": [ | |
{ | |
"Activity finished": {} | |
}, | |
{ | |
"Activity result set": { | |
"resultCode": 99, | |
"resultData": { | |
"extras": "[RESULT_COUNTRY_CODE=AD, RESULT_PHONE_COUNTRY_CODE=376]" | |
} |