public override void OnViewCreated(View view, Bundle savedInstanceState) { base.OnViewCreated(view, savedInstanceState); ToolbarHelper.ShowToolbar(Activity, "Debug Log"); ToolbarHelper.ShowToolbarBackButton(Activity); var fileTextView = View.FindViewById <FileTextView>(Resource.Id.fileText); fileTextView.SetFile(DebugLog.BaseLog.FilePath); }
public override void OnViewCreated(View view, Bundle savedInstanceState) { base.OnViewCreated(view, savedInstanceState); ToolbarHelper.ShowToolbar(Activity, "Playlists"); ToolbarHelper.ShowToolbarBackButton(Activity); var playlistRecycler = view.FindViewById <RecyclerView>(Resource.Id.playlist_recycler); SetUpPlaylistRecycler(playlistRecycler, view); _addPlaylistFab = view.FindViewById <FloatingActionButton>(Resource.Id.fab_add_playlist); }
public override void OnViewCreated(View view, Bundle savedInstanceState) { base.OnViewCreated(view, savedInstanceState); ToolbarHelper.ShowToolbar(Activity, "Playlists"); ToolbarHelper.ShowToolbarBackButton(Activity); var playlistRecycler = view.FindViewById <RecyclerView>(Resource.Id.playlist_recycler); SetUpPlaylistRecycler(playlistRecycler, view); var fileTextView = View.FindViewById <FileTextView>(Resource.Id.fileText); fileTextView.SetFile(DebugLog.BaseLog.FilePath); }
public override void OnViewCreated(View view, Bundle savedInstanceState) { base.OnViewCreated(view, savedInstanceState); ToolbarHelper.ShowToolbar(Activity, "Settings"); ToolbarHelper.ShowToolbarBackButton(Activity); SetUpRecyclerView(); var stayActive = PreferenceManager.FindPreference("stay_active"); if (stayActive != null) { stayActive.PreferenceChange += StayActive_PreferenceChange; } var viewDebugLog = PreferenceManager.FindPreference("view_debug_log"); if (viewDebugLog != null) { viewDebugLog.PreferenceClick += ViewDebugLog_PreferenceClick; } var resetDefaults = PreferenceManager.FindPreference("reset_defaults"); if (resetDefaults != null) { resetDefaults.PreferenceClick += ResetDefaults_PreferenceClick; } var version = PreferenceManager.FindPreference("version"); if (version != null) { version.Summary = Activity.PackageManager.GetPackageInfo(Activity.PackageName, 0).VersionName; } }