コード例 #1
0
        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());
        }
コード例 #2
0
        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();
        }
コード例 #3
0
ファイル: BaseFragment.cs プロジェクト: Rejna/DS3Progress
 public BaseFragment()
 {
     ds3DataService = new DS3DataService ();
 }