@Test public void setNullSetting() { mEstimatedArrivalView.setEstimatedArrivalData(null); assertThat(mEstimatedArrivalView.getVisibility(), is(View.GONE)); }
public void setEstimatedArrivalData(@Nullable GuidanceEstimatedArrivalViewData data) { mData = data; populate(data); }
GuidanceEstimatedArrivalView extends BaseView { public void setEstimatedArrivalData(@Nullable GuidanceEstimatedArrivalViewData data) { mData = data; populate(data); } }
GuidanceEstimatedArrivalView extends BaseView { public void setEstimatedArrivalData(@Nullable GuidanceEstimatedArrivalViewData data) { mData = data; populate(data); } GuidanceEstimatedArrivalView(Context context);  GuidanceEstimatedArrivalView(Context context, @Nullable AttributeSet attrs);  GuidanceEstimatedArrivalView(Context context, @Nullable AttributeSet attrs, int defStyleAttr); @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)  GuidanceEstimatedArrivalView(Context context, @Nullable AttributeSet attrs, int defStyleAttr,
                                        int defStyleRes); }
GuidanceEstimatedArrivalView extends BaseView { public void setEstimatedArrivalData(@Nullable GuidanceEstimatedArrivalViewData data) { mData = data; populate(data); } GuidanceEstimatedArrivalView(Context context);  GuidanceEstimatedArrivalView(Context context, @Nullable AttributeSet attrs);  GuidanceEstimatedArrivalView(Context context, @Nullable AttributeSet attrs, int defStyleAttr); @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)  GuidanceEstimatedArrivalView(Context context, @Nullable AttributeSet attrs, int defStyleAttr,
                                        int defStyleRes); @Nullable GuidanceEstimatedArrivalViewData getEstimatedArrivalData(); void setEstimatedArrivalData(@Nullable GuidanceEstimatedArrivalViewData data); @Override void onRestoreInstanceState(Parcelable state); }
GuidanceEstimatedArrivalView extends BaseView { public void setEstimatedArrivalData(@Nullable GuidanceEstimatedArrivalViewData data) { mData = data; populate(data); } GuidanceEstimatedArrivalView(Context context);  GuidanceEstimatedArrivalView(Context context, @Nullable AttributeSet attrs);  GuidanceEstimatedArrivalView(Context context, @Nullable AttributeSet attrs, int defStyleAttr); @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)  GuidanceEstimatedArrivalView(Context context, @Nullable AttributeSet attrs, int defStyleAttr,
                                        int defStyleRes); @Nullable GuidanceEstimatedArrivalViewData getEstimatedArrivalData(); void setEstimatedArrivalData(@Nullable GuidanceEstimatedArrivalViewData data); @Override void onRestoreInstanceState(Parcelable state);  }