public void onItemClick(
     AdapterView<?> paramAdapterView, View paramView, int paramInt, long paramLong) {
   Vertical vertical = this.databaseController.getVerticalById(this.verticalId);
   Intent localIntent = new Intent(this, SlideshowPagerActivity.class);
   localIntent.putExtra("slideshowId", ((Slideshow) this.slideshows.get(paramInt)).getId());
   localIntent.putExtra("slideshowsIds", this.getSlideshowsIds());
   localIntent.putExtra("slideshowIndex", paramInt);
   localIntent.putExtra("verticalName", vertical.getVerticalName());
   startActivity(localIntent);
 }
 public void updateList() {
   slideshows = this.databaseController.getSlideshows(this.verticalId);
   Vertical vertical = this.databaseController.getVerticalById(this.verticalId);
   titleTextView.setText(vertical.getVerticalName());
   titleTextView.setVisibility(View.VISIBLE);
   actionActivity.setText("Slideshows");
   actionActivity.setVisibility(View.VISIBLE);
   customAdapter = new CustomSlideshowAdapter(this, this.slideshows);
   mySitesListView.setOnItemClickListener(this);
   mySitesListView.setAdapter(this.customAdapter);
 }