public override void onItemClick <T1>(AdapterView <T1> a, View v, int position, long id)
 {
     // these positions are hard-coded to some example activities,
     // they match
     // the array contents of activityNames above.
     if (0 == position)
     {
         outerInstance.startHelloWorld();
     }
     else if (1 == position)
     {
         outerInstance.startHelloWorldUI();
     }
     else if (2 == position)
     {
         outerInstance.startHelloWorldVideoCapturer();
     }
     else if (3 == position)
     {
         outerInstance.startHelloWorldVideoRenderer();
     }
     else if (4 == position)
     {
         outerInstance.startHelloWorldSubclassing();
     }
     else if (5 == position)
     {
         outerInstance.startVoiceOnly();
     }
     else if (6 == position)
     {
         outerInstance.startAudioDevice();
     }
     else if (7 == position)
     {
         outerInstance.startHelloWorldEmulator();
     }
     else if (8 == position)
     {
         outerInstance.startScreensharing();
     }
     else if (9 == position)
     {
         outerInstance.startDefaultCameraCapturer();
     }
     else if (10 == position)
     {
         outerInstance.startScreenshot();
     }
     else
     {
         Log.wtf(LOGTAG, "unknown item clicked?");
     }
 }