@Test @SmallTest @SdkSuppress(minSdkVersion = 16) public void testGetInitialState_nullNetworkInfo() { NetworkState expectedState = new NetworkState(false, false, false, false); assertThat(mTracker.getInitialState(), is(expectedState)); }
@Override public NetworkState getInitialState() { return getActiveNetworkState(); }
NetworkStateTracker extends ConstraintTracker<NetworkState> { @Override public NetworkState getInitialState() { return getActiveNetworkState(); } }
NetworkStateTracker extends ConstraintTracker<NetworkState> { @Override public NetworkState getInitialState() { return getActiveNetworkState(); } NetworkStateTracker(Context context); }
NetworkStateTracker extends ConstraintTracker<NetworkState> { @Override public NetworkState getInitialState() { return getActiveNetworkState(); } NetworkStateTracker(Context context); @Override NetworkState getInitialState(); @Override void startTracking(); @Override void stopTracking(); }
NetworkStateTracker extends ConstraintTracker<NetworkState> { @Override public NetworkState getInitialState() { return getActiveNetworkState(); } NetworkStateTracker(Context context); @Override NetworkState getInitialState(); @Override void startTracking(); @Override void stopTracking();  }