Beispiel #1
0
 private void configureTab(android.app.ActionBar.Tab tab, int position)
 {
     [email protected] tabi = ([email protected]
                                                         .TabImpl)tab;
     android.app.ActionBar.TabListener callback = tabi.getCallback();
     if (callback == null)
     {
         throw new System.InvalidOperationException("Action Bar Tab must have a Callback");
     }
     tabi.setPosition(position);
     mTabs.add(position, tabi);
     int count = mTabs.size();
     {
         for (int i = position + 1; i < count; i++)
         {
             mTabs.get(i).setPosition(i);
         }
     }
 }
Beispiel #2
0
 public abstract android.app.ActionBar.Tab setTabListener(android.app.ActionBar.TabListener
                                                          listener);
Beispiel #3
0
			public override android.app.ActionBar.Tab setTabListener(android.app.ActionBar.TabListener
				 callback)
			{
				this.mCallback = callback;
				return this;
			}
Beispiel #4
0
 public override android.app.ActionBar.Tab setTabListener(android.app.ActionBar.TabListener
                                                          callback)
 {
     this.mCallback = callback;
     return(this);
 }