protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.MisDirecciones); drawer = new Drawer(this); core = new DireccionesCore(); SetResources(); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.Direccion); drawer = new Drawer(this); core = new DireccionesCore(); // Mapa _mapFragment = FragmentManager.FindFragmentById <MapFragment>(Resource.Id.mapa_ver_direccion); _mapFragment.GetMapAsync(this); //Obtener id int id_direccion = Intent.GetIntExtra("direccion_id", 0); Cargar_ubicacion(id_direccion); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.NuevaDireccion); drawer = new Drawer(this); core = new DireccionesCore(); //Mapa _mapFragment = FragmentManager.FindFragmentById <MapFragment>(Resource.Id.mapa_direccion); _mapFragment.GetMapAsync(this); SetResources(); //Botón crear = FindViewById <Button>(Resource.Id.btn_crear_direccion); crear.Click += delegate { Crear_direccion(); }; }