protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); FragmentTransaction transaction = FragmentManager.BeginTransaction(); SlidingTabsFragment fragment = new SlidingTabsFragment(); transaction.Replace(Resource.Id.sample_content_fragment, fragment); transaction.Commit(); }
protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); CuratorEngine curatorEngine = new CuratorEngine(ExternalCacheDir.AbsolutePath, CacheDir.AbsolutePath, ExternalCacheDir.AbsolutePath, 10); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); FragmentTransaction transaction = FragmentManager.BeginTransaction(); SlidingTabsFragment fragment = new SlidingTabsFragment(curatorEngine); transaction.Replace(Resource.Id.sample_content_fragment, fragment); transaction.Commit(); curatorEngine.Registy("Alexey", "Luzyanin", "AVT-613", "AVTF", Curator.AccessLevel.admin, "dota", "virtuspro"); curatorEngine.LoginCurator("dota", "virtuspro"); }