public void showList(List<ItemChooserRow> list){
  mProgressBar.setVisibility(View.GONE);
  if (!list.isEmpty()) {
    mItemAdapter.addAll(list);
  }
  setState(State.PROGRESS_UPDATE_AVAILABLE);
}

public void showList ( List < ItemChooserRow > list ) { mProgressBar . setVisibility ( View . GONE ) ; if ( ! list . isEmpty ( ) ) { mItemAdapter . addAll ( list ) ; } setState ( State . PROGRESS_UPDATE_AVAILABLE ) ; }
add items to show in the dialog .
