@Test @SmallTest public void setImmediate() { setTestHandlerReceivesStates(); KeyedAppStatesReporter reporter = getReporter(mContext); reporter.setStatesImmediate(singletonList(mState)); assertThat(mTestHandler.latestMessage().what).isEqualTo(WHAT_IMMEDIATE_STATE); }
@Override public void setStatesImmediate(@NonNull Collection<KeyedAppState> states) { setStates(states, true); }
DefaultKeyedAppStatesReporter extends KeyedAppStatesReporter { @Override public void setStatesImmediate(@NonNull Collection<KeyedAppState> states) { setStates(states, true); } }
DefaultKeyedAppStatesReporter extends KeyedAppStatesReporter { @Override public void setStatesImmediate(@NonNull Collection<KeyedAppState> states) { setStates(states, true); } DefaultKeyedAppStatesReporter(@NonNull Context context, @NonNull Executor executor);   DefaultKeyedAppStatesReporter(@NonNull Context context); }
DefaultKeyedAppStatesReporter extends KeyedAppStatesReporter { @Override public void setStatesImmediate(@NonNull Collection<KeyedAppState> states) { setStates(states, true); } DefaultKeyedAppStatesReporter(@NonNull Context context, @NonNull Executor executor);   DefaultKeyedAppStatesReporter(@NonNull Context context); @Override void setStates(@NonNull Collection<KeyedAppState> states); @Override void setStatesImmediate(@NonNull Collection<KeyedAppState> states); }
DefaultKeyedAppStatesReporter extends KeyedAppStatesReporter { @Override public void setStatesImmediate(@NonNull Collection<KeyedAppState> states) { setStates(states, true); } DefaultKeyedAppStatesReporter(@NonNull Context context, @NonNull Executor executor);   DefaultKeyedAppStatesReporter(@NonNull Context context); @Override void setStates(@NonNull Collection<KeyedAppState> states); @Override void setStatesImmediate(@NonNull Collection<KeyedAppState> states);  }