Example #1
0
 protected override void OnCreate(Bundle savedInstanceState)
 {
     base.OnCreate(savedInstanceState);
     SetContentView(Resource.Layout.MisDirecciones);
     drawer = new Drawer(this);
     core   = new DireccionesCore();
     SetResources();
 }
Example #2
0
        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);
        }
Example #3
0
 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();
     };
 }