private void InitComponent() { try { BottomBar = FindViewById <ReadableBottomBar>(Resource.Id.readableBottomBar); BottomBar.SetOnItemSelectListener(this); } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
private void InitComponent() { try { BottomBar = FindViewById <ReadableBottomBar>(Resource.Id.readableBottomBar); BottomBar.SetOnItemSelectListener(this); } catch (Exception e) { Console.WriteLine(e); } }
private void InitComponent(View view) { try { MRecycler = (RecyclerView)view.FindViewById(Resource.Id.NotifcationRecyler); EmptyStateLayout = view.FindViewById <ViewStub>(Resource.Id.viewStub); ReadableTopBar = view.FindViewById <ReadableBottomBar>(Resource.Id.TopBar); ReadableTopBar.SetOnItemSelectListener(this); SwipeRefreshLayout = (SwipeRefreshLayout)view.FindViewById(Resource.Id.swipeRefreshLayout); SwipeRefreshLayout.SetColorSchemeResources(Android.Resource.Color.HoloBlueLight, Android.Resource.Color.HoloGreenLight, Android.Resource.Color.HoloOrangeLight, Android.Resource.Color.HoloRedLight); SwipeRefreshLayout.Refreshing = true; SwipeRefreshLayout.Enabled = true; SwipeRefreshLayout.SetProgressBackgroundColorSchemeColor(AppSettings.SetTabDarkTheme ? Color.ParseColor("#424242") : Color.ParseColor("#f7f7f7")); } catch (Exception e) { Console.WriteLine(e); } }