Esempio n. 1
0
 public override int GetSpanSize(int position)
 {
     if (adapter.GetItemViewType(position) == (int)EditAdapter.EditTileType.VIEW_TYPE_CONTENT)
     {
         return(1);
     }
     else
     {
         return(Activity.Resources.Configuration.Orientation == Android.Content.Res.Orientation.Landscape ? 2 : 1);
     }
 }
 public override int GetSpanSize(int position)
 {
     if (adapter.GetItemViewType(position) == (int)EditAdapter.EditTileType.VIEW_TYPE_CONTENT)
     {
         return(1);
     }
     else
     {
         return(collumns);
     }
 }