private void Init() { if (this.field == null) { textureIds = new int[Textures.Count]; GL.Enable(All.CullFace); GL.CullFace(All.Back); GL.Enable(All.Blend); GL.BlendFunc(All.SrcAlpha, All.OneMinusSrcAlpha); // create texture ids GL.Enable(All.Texture2D); GL.GenTextures(Textures.Count, textureIds); for (int i = 0; i < Textures.Count; i++) { LoadTexture((Bitmap)Textures.Get(i), textureIds[i]); } this.field = new CLField(textureIds, GLView.context); this.field.MakeLabels(GLView.context.Resources.Configuration.Orientation == Android.Content.Res.Orientation.Landscape, left, right, bottom, top, scale); } }
public override Java.Lang.Object GetItem(int position) { return(projetos.Get(position)); }
public override Object GetItem(int position) { return(spacecrafts.Get(position)); }
public override Java.Lang.Object GetItem(int position) { return(transactions.Get(position)); }
public override Java.Lang.Object GetItem(int position) { return(contacts.Get(position)); }
public override Object GetItem(int position) { return(fruits.Get(position)); }
public override Java.Lang.Object GetItem(int position) { return(albumCovers.Get(position)); }