mvrx-mocking / com.airbnb.mvrx.mocking / MockStateHolder / setMock

setMock

fun <V : MockableMavericksView, A : Parcelable> setMock(view: MockableMavericksView, mockInfo: MavericksMock<V, A>): Unit

Set mock data for a view reference. The mocks will be used to provide initial state when the view models are initialized as the view is started.