コード例 #1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            SetContentView(Resource.Layout.CompanionPlantDetailView);

            var plantRepo = new CompanionPlantsRepository();

            var plantId = Intent.Extras.GetString("plantId");

            _plant = plantRepo.GetPlant(plantId);

            FindViews();
            BindData(_plant.Plant);
            HandleEvents();
        }