protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            ds3DataService = new DS3DataService ();

            // Create your application here
            SetContentView(Resource.Layout.ObjectMenuView);
            ActionBar.NavigationMode = ActionBarNavigationMode.Tabs;

            AddTab("Rings", Resource.Drawable.FavoritesIcon, new RingListFragment());
            AddTab("Gestures", Resource.Drawable.FavoritesIcon, new GestureListFragment());
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate (savedInstanceState);

            SetContentView (Resource.Layout.ObjectDetailView);
            dataService = new DS3DataService();
            context = this;

            var selectedDS3ObjectId = Intent.Extras.GetInt("selectedDS3ObjectId");
            selectedObject = dataService.GetDS3ObjectById(selectedDS3ObjectId);

            FindViews();
            BindData();
        }
Beispiel #3
0
 public BaseFragment()
 {
     ds3DataService = new DS3DataService ();
 }