A
B
C
D
E
F
G
H
I
K
M
N
O
P
R
S
T
U
V
W
F
- FiveStatesBuilder - class in com.airbnb.mvrx.mocking
- FiveViewModelMockBuilder - class in com.airbnb.mvrx.mocking
- ForceMockExistingViewModel - enum entry in com.airbnb.mvrx.mocking.MockBehavior.InitialStateMocking
Generally uses the same behavior as None, however, if an 'existingViewModel' is accessed and no previous instance exists this will take the default mock state off of the Fragment for that ViewModel and initialize the ViewModel with that state.
This is useful when we want a mocked screen to be able to open non mocked screens (in a test), and would otherwise crash if a newly opened screen uses 'existingViewModel' and the viewmodel doesn't actually exist (because we came from a mocked screen that doesn't represent normal screen flow).
- forDefaultInitialization(List) - function in com.airbnb.mvrx.mocking.ViewMockerKt
- Helper for pulling the default initialization mock out of a list of mocks.
- forDefaultState(List) - function in com.airbnb.mvrx.mocking.ViewMockerKt
- Helper for pulling the default state mock out of a list of mocks.
- FourStatesBuilder - class in com.airbnb.mvrx.mocking
- FourViewModelMockBuilder - class in com.airbnb.mvrx.mocking
- Full - enum entry in com.airbnb.mvrx.mocking.MockBehavior.InitialStateMocking
Initial view model state is taken from MockStateHolder and used in ViewModel creation. Additionally, any changes to state during ViewModel initialization are forcibly overridden by the mocked state.