private void init(){
  samples.add(new Sample(getString(R.string.label_network),SampleNetworkActivity.class));
  samples.add(new Sample(getString(R.string.label_retrofit),SampleRetrofitActivity.class));
  samples.add(new Sample(getString(R.string.label_string),SampleStringActivity.class));
  samples.add(new Sample(getString(R.string.label_object),SampleConfigActivity.class));
  sampleArrayAdapter=new SampleArrayAdapter(samples);
  samplesListView.setAdapter(sampleArrayAdapter);
}

private void init ( ) { samples . add ( new Sample ( getString ( R . string . label_network ) , SampleNetworkActivity . class ) ) ; samples . add ( new Sample ( getString ( R . string . label_retrofit ) , SampleRetrofitActivity . class ) ) ; samples . add ( new Sample ( getString ( R . string . label_string ) , SampleStringActivity . class ) ) ; samples . add ( new Sample ( getString ( R . string . label_object ) , SampleConfigActivity . class ) ) ; sampleArrayAdapter = new SampleArrayAdapter ( samples ) ; samplesListView . setAdapter ( sampleArrayAdapter ) ; }
adds sample to the sample list and initializes and sets the adapter
