コード例 #1
0
            public override Java.Lang.Object InstantiateItem(ViewGroup container, int position)
            {
                Android.Util.Log.Info("MyPagerAdapter", string.Format("InstantiateItem being called for position {0}", position));
                var result = base.InstantiateItem(container, position);
                SuperAwesomeCardFragment frag = result as SuperAwesomeCardFragment;

                if (frag != null)
                {
                    Configure(frag, position);
                    frag.ChangeTitleRequested += toReturn_ChangeTitleRequested;
                }
                return(result);
            }
コード例 #2
0
			protected virtual void Configure(SuperAwesomeCardFragment frag, int position)
			{
				frag.Configure(position, false);
			}
コード例 #3
0
			protected override void Configure(SuperAwesomeCardFragment frag, int position)
			{
				frag.Configure(position, true);
			}
コード例 #4
0
 protected virtual void Configure(SuperAwesomeCardFragment frag, int position)
 {
     frag.Configure(position, false);
 }
コード例 #5
0
 protected override void Configure(SuperAwesomeCardFragment frag, int position)
 {
     frag.Configure(position, true);
 }