Exemple #1
0
        private void InitializeRangeSlider()
        {
            _rangeSlider = _baseView.FindViewById <RangeSliderControl>(Resource.Id.rangeSlider);

            if (_rangeSlider != null)
            {
                _rangeSlider.SetRangeValues(_minValue, _maxValue);
                _rangeSlider.StepValue = _stepValue;

                _rangeSlider.ShowTextAboveThumbs = true;
                _rangeSlider.MinThumbHidden      = true;
                _rangeSlider.MaxThumbHidden      = false;

                _rangeSlider.ActivateOnDefaultValues = true;
                _rangeSlider.TextSizeInSp            = 16;
                _rangeSlider.AlwaysActive            = true;

                _rangeSlider.ThumbShadow          = true;
                _rangeSlider.TextFormat           = _textFormat.ToString();
                _rangeSlider.ActiveColor          = Color.Rgb(46, 167, 243); //light blue
                _rangeSlider.TextAboveThumbsColor = Color.Rgb(219, 92, 76);  //main

                SetSliderValues();
            }
        }
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            View RootView = inflater.Inflate(Resource.Layout.PrivateProfileRatingFragment, container, false);

            SetFonts(RootView);
            BoyText        = RootView.FindViewById <TextView>(Resource.Id.textView2);
            SoruTextt      = RootView.FindViewById <TextView>(Resource.Id.textView1);
            Sifirla        = RootView.FindViewById <TextView>(Resource.Id.textView4);
            Sifirla.Click += Sifirla_Click;
            SoruTextt.Text = GelenSoru.name;
            var activecolor  = Android.Graphics.Color.ParseColor("#FFFFFF"); //Pembe
            var defaultcolor = Android.Graphics.Color.ParseColor("#E8004F"); //siyah

            slider       = RootView.FindViewById <RangeSliderControl>(Resource.Id.rangeSliderControl1);
            BoyText.Text = "";
            //slider.AbsoluteMaxValue = 20f;
            slider.MaxThumbHidden = true;
            slider.SetSelectedMinValue((int)(25 / 2.5f));
            slider.SetSelectedMaxValue(250);
            slider.ActiveColor  = activecolor;
            slider.DefaultColor = defaultcolor;
            slider.SetBarHeight(15);
            PinYerlestir();
            slider.LowerValueChanged += Slider_LowerValueChanged;
            BoyText.Text              = "0";
            CevapYansit();
            return(RootView);
        }
        private void InitComponent(View view)
        {
            try
            {
                IconBack       = view.FindViewById <TextView>(Resource.Id.IconBack);
                IconGender     = view.FindViewById <TextView>(Resource.Id.IconGender);
                GenderRecycler = view.FindViewById <RecyclerView>(Resource.Id.GenderRecyler);

                IconAge = view.FindViewById <TextView>(Resource.Id.IconAge);
                TxtAge  = view.FindViewById <TextView>(Resource.Id.AgeTextView);

                IconLocation     = view.FindViewById <TextView>(Resource.Id.IconLocation);
                LocationPlace    = view.FindViewById <TextView>(Resource.Id.LocationPlace);
                LocationMoreIcon = view.FindViewById <TextView>(Resource.Id.LocationMoreIcon);

                IconVerified     = view.FindViewById <TextView>(Resource.Id.IconVerified);
                TxtVerified      = view.FindViewById <TextView>(Resource.Id.textVerified);
                VerifiedMoreIcon = view.FindViewById <TextView>(Resource.Id.VerifiedMoreIcon);

                IconStatus     = view.FindViewById <TextView>(Resource.Id.IconStatus);
                TxtStatus      = view.FindViewById <TextView>(Resource.Id.textStatus);
                StatusMoreIcon = view.FindViewById <TextView>(Resource.Id.StatusMoreIcon);

                IconProfilePicture     = view.FindViewById <TextView>(Resource.Id.IconProfilePicture);
                TxtProfilePicture      = view.FindViewById <TextView>(Resource.Id.txtProfilePicture);
                ProfilePictureMoreIcon = view.FindViewById <TextView>(Resource.Id.ProfilePictureMoreIcon);

                LayoutLocation       = view.FindViewById <RelativeLayout>(Resource.Id.LayoutLocation);
                LayoutVerified       = view.FindViewById <RelativeLayout>(Resource.Id.LayoutVerified);
                LayoutStatus         = view.FindViewById <RelativeLayout>(Resource.Id.LayoutStatus);
                LayoutProfilePicture = view.FindViewById <RelativeLayout>(Resource.Id.LayoutProfilePicture);

                SeekbarLayout = view.FindViewById <LinearLayout>(Resource.Id.seekbarLayout);
                AgeSeekBar    = view.FindViewById <RangeSliderControl>(Resource.Id.seekbar);
                AgeSwitch     = view.FindViewById <Switch>(Resource.Id.togglebutton);

                BtnApply = view.FindViewById <Button>(Resource.Id.ApplyButton);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconBack, IonIconsFonts.ChevronLeft);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconGender, IonIconsFonts.IosPersonOutline);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconLocation, IonIconsFonts.IosLocationOutline);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconAge, IonIconsFonts.Calendar);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconVerified, IonIconsFonts.CheckmarkCircled);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconStatus, IonIconsFonts.Ionic);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconProfilePicture, IonIconsFonts.Aperture);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, LocationMoreIcon, IonIconsFonts.ChevronRight);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, VerifiedMoreIcon, IonIconsFonts.ChevronRight);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, StatusMoreIcon, IonIconsFonts.ChevronRight);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, ProfilePictureMoreIcon, IonIconsFonts.ChevronRight);
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
        private void SetSliderTheme(RangeSliderControl slider)
        {
            slider.TrackImage                  = GetImageByTheme(FN_BG_SLIDER_TRACK1);
            slider.TrackCrossedOverImage       = GetImageByTheme(FN_ICON_SLIDER_THUMB);
            slider.UpperHandleImageNormal      = GetImageByTheme(FN_ICON_SLIDER_THUMB);
            slider.UpperHandleImageHighlighted = GetImageByTheme(FN_ICON_SLIDER_THUMB);
            slider.UpperValueChanged          += SliderValueChanged;

            slider.LayoutSubviews();
        }
Exemple #5
0
 private void FindViewById()
 {
     toEnt         = FindViewById <Button>(Resource.Id.toEntert);
     DateButton    = FindViewById <Button>(Resource.Id.datebefore);
     time_before   = FindViewById <Button>(Resource.Id.timebefore);
     time_after    = FindViewById <Button>(Resource.Id.timeafter);
     _sliderPrice  = FindViewById <RangeSliderControl>(Resource.Id.sliderPrice);
     mToolbar      = FindViewById <SupportToolbar>(Resource.Id.toolbar);
     mDrawerLayout = FindViewById <DrawerLayout>(Resource.Id.drawer_layout);
     mLeftDrawer   = FindViewById <ListView>(Resource.Id.left_drawer);
 }
Exemple #6
0
 private void FindViews()
 {
     _routeNameTextBox             = FindViewById <EditText>(Resource.Id.routeNameText);
     _resolveParametersButton      = FindViewById <Button>(Resource.Id.resolve_parameters_button);
     _addRouteButton               = FindViewById <Button>(Resource.Id.addRouteButton);
     _cancelRouteButton            = FindViewById <Button>(Resource.Id.cancelRouteButton);
     _routeSurfaceSlider           = FindViewById <RangeSliderControl>(Resource.Id.surface_type_slider_filling_view);
     _terrainLevelSelect           = FindViewById <Spinner>(Resource.Id.terrainLevelSelect_filling_view);
     _routeDistanceTextView        = FindViewById <TextView>(Resource.Id.route_length_filling_view);
     _resolveParametersProgressBar = FindViewById <ProgressBar>(Resource.Id.resolve_parameters_progressbar);
 }
Exemple #7
0
 private void FindViews()
 {
     _filterButton       = _routeBrowserView.FindViewById <Button>(Resource.Id.refreshRoutesButton);
     _terrainLevelSelect = _routeBrowserView.FindViewById <Spinner>(Resource.Id.terrainLevelSelect);
     _routeLengthSlider  = _routeBrowserView.FindViewById <RangeSliderControl>(Resource.Id.route_length_slider);
     _routeSurfaceSlider = _routeBrowserView.FindViewById <RangeSliderControl>(Resource.Id.surface_type_slider);
     _searchRadiusSlider = _routeBrowserView.FindViewById <RangeSliderControl>(Resource.Id.search_range_select);
     _trainingFragment   = (ActivityFragment)FragmentManager.FindFragmentByTag(MainPagerAdapter.GetFragmentTag(0));
     _viewPager          = Activity.FindViewById <ViewPager>(Resource.Id.mainPager);
     _routesRecyclerView = _routeBrowserView.FindViewById <RecyclerView>(Resource.Id.routesRecycler);
 }
        private void InitComponent(View view)
        {
            try
            {
                IconBack = view.FindViewById <TextView>(Resource.Id.IconBack);

                GenderRecycler = view.FindViewById <RecyclerView>(Resource.Id.GenderRecyler);


                TxtAge = view.FindViewById <TextView>(Resource.Id.AgeTextView);


                LocationPlace    = view.FindViewById <TextView>(Resource.Id.LocationPlace);
                LocationMoreIcon = view.FindViewById <TextView>(Resource.Id.LocationMoreIcon);


                TxtVerified      = view.FindViewById <TextView>(Resource.Id.textVerified);
                VerifiedMoreIcon = view.FindViewById <TextView>(Resource.Id.VerifiedMoreIcon);


                TxtStatus      = view.FindViewById <TextView>(Resource.Id.textStatus);
                StatusMoreIcon = view.FindViewById <TextView>(Resource.Id.StatusMoreIcon);


                TxtProfilePicture      = view.FindViewById <TextView>(Resource.Id.txtProfilePicture);
                ProfilePictureMoreIcon = view.FindViewById <TextView>(Resource.Id.ProfilePictureMoreIcon);

                LayoutLocation       = view.FindViewById <RelativeLayout>(Resource.Id.LayoutLocation);
                LayoutVerified       = view.FindViewById <RelativeLayout>(Resource.Id.LayoutVerified);
                LayoutStatus         = view.FindViewById <RelativeLayout>(Resource.Id.LayoutStatus);
                LayoutProfilePicture = view.FindViewById <RelativeLayout>(Resource.Id.LayoutProfilePicture);

                SeekbarLayout = view.FindViewById <LinearLayout>(Resource.Id.seekbarLayout);
                AgeSeekBar    = view.FindViewById <RangeSliderControl>(Resource.Id.seekbar);
                AgeSwitch     = view.FindViewById <Switch>(Resource.Id.togglebutton);

                BtnApply = view.FindViewById <Button>(Resource.Id.ApplyButton);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconBack, AppSettings.FlowDirectionRightToLeft ? IonIconsFonts.ChevronRight : IonIconsFonts.ChevronLeft);

                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, LocationMoreIcon, AppSettings.FlowDirectionRightToLeft ? IonIconsFonts.ChevronLeft : IonIconsFonts.ChevronRight);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, VerifiedMoreIcon, AppSettings.FlowDirectionRightToLeft ? IonIconsFonts.ChevronLeft : IonIconsFonts.ChevronRight);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, StatusMoreIcon, AppSettings.FlowDirectionRightToLeft ? IonIconsFonts.ChevronLeft : IonIconsFonts.ChevronRight);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, ProfilePictureMoreIcon, AppSettings.FlowDirectionRightToLeft ? IonIconsFonts.ChevronLeft : IonIconsFonts.ChevronRight);
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
Exemple #9
0
        private void CreateSliders(CGRect rect)
        {
            rangeSlider = new RangeSliderControl();
            rangeSlider.ShowTextAboveThumbs = true;

            float textSize = 20.0f;

            rangeSlider.TextSize = textSize;
            float someHeight = (float)UIFont.SystemFontOfSize(20).LineHeight;

            //The vertical offset between the sliders fluctuates with the text size
            //If we need to dynamically change the text size then we need to adjust this value as well
            float verticalOffset = (float)(textSize * 0.82);

            float padding = 5.0f;

            rangeSlider.Frame        = new CGRect(padding, rect.Top, rect.Width - padding * 2, rect.Height);
            rangeSlider.TintColor    = UIColor.Black;
            rangeSlider.MaximumValue = 127;
            rangeSlider.MinimumValue = 0;
            rangeSlider.TextColor    = UIColor.Black;

            rangeSlider.LowerValue = 0;
            rangeSlider.UpperValue = 127;

            rangeSlider.DragCompleted += HandleSliderChange;

            hiddenSlider       = new UISlider();
            hiddenSlider.Frame = new CGRect(padding, rect.Top + verticalOffset, rect.Width - padding * 2, rect.Height - (verticalOffset * 0.5));

            hiddenSlider.MinValue  = 0;
            hiddenSlider.MaxValue  = 127;
            hiddenSlider.Value     = startingLocation;
            hiddenSlider.TintColor = UIColor.Clear;
            LocationSelection(false);
            hiddenSlider.SetMinTrackImage(new UIImage(), UIControlState.Normal);
            hiddenSlider.SetMaxTrackImage(new UIImage(), UIControlState.Normal);
            hiddenSlider.ValueChanged += HandleHiddenSliderChange;

            bool highRes = false;

            if (highRes)
            {
                hiddenSlider.SetThumbImage(UIImage.FromFile("*****@*****.**"), UIControlState.Normal);
            }
            else
            {
                hiddenSlider.SetThumbImage(UIImage.FromFile("graphicLocationThumb.png"), UIControlState.Normal);
            }
        }
Exemple #10
0
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            View view = inflater.Inflate(Resource.Layout.PrivateProfileFiltreleActivity, container, false);

            SetFonts(view);
            view.FindViewById <LinearLayout>(Resource.Id.rootView).ClipToOutline = true;
            Kaydet          = view.FindViewById <Button>(Resource.Id.button1);
            Geri            = view.FindViewById <ImageButton>(Resource.Id.ımageButton1);
            Geri.Click     += Geri_Click;
            textEnd         = view.FindViewById <TextView>(Resource.Id.textView6);
            txtStart        = view.FindViewById <TextView>(Resource.Id.textView4);
            Erkek           = view.FindViewById <Button>(Resource.Id.button1);
            Kadin           = view.FindViewById <Button>(Resource.Id.button2);
            HerIkisi        = view.FindViewById <Button>(Resource.Id.button3);
            Onayla          = view.FindViewById <Button>(Resource.Id.button4);
            Onayla.Click   += Onayla_Click;
            Erkek.Tag       = 1;
            Kadin.Tag       = 2;
            HerIkisi.Tag    = 3;
            Erkek.Click    += CinsiyetClick;
            Kadin.Click    += CinsiyetClick;
            HerIkisi.Click += CinsiyetClick;
            var activecolor  = Android.Graphics.Color.ParseColor("#E8004F");
            var defaultcolor = Android.Graphics.Color.ParseColor("#221E20");

            slider              = view.FindViewById <RangeSliderControl>(Resource.Id.rangeSliderControl1);
            slider.ActiveColor  = activecolor;
            slider.DefaultColor = defaultcolor;
            slider.SetBarHeight(15);
            LayoutInflater inflater2 = LayoutInflater.From(this.Activity);

            Android.Views.View markerLayout = inflater2.Inflate(Resource.Layout.custompin, null);
            var bmp = LayoutToBitmap(markerLayout);

            slider.ThumbImage        = bmp;
            slider.ThumbPressedImage = bmp;
            slider.DragCompleted    += Slider_DragCompleted;
            slider.SetTextAboveThumbsColor(Color.Transparent);
            GetSelectedFilter();
            return(view);
        }
Exemple #11
0
        private void InitComponent(View view)
        {
            try
            {
                MainLayout        = view.FindViewById <RelativeLayout>(Resource.Id.mainLayout);
                IconLocation      = view.FindViewById <TextView>(Resource.Id.IconLocation);
                LocationTextView  = view.FindViewById <TextView>(Resource.Id.LocationTextView);
                LocationPlace     = view.FindViewById <TextView>(Resource.Id.LocationPlace);
                LocationMoreIcon  = view.FindViewById <TextView>(Resource.Id.LocationMoreIcon);
                GenderTextView    = view.FindViewById <TextView>(Resource.Id.GenderTextView);
                IconFire          = view.FindViewById <TextView>(Resource.Id.IconFire);
                IconAge           = view.FindViewById <TextView>(Resource.Id.IconAge);
                AgeTextView       = view.FindViewById <TextView>(Resource.Id.AgeTextView);
                AgeNumberTextView = view.FindViewById <TextView>(Resource.Id.Agenumber);
                OnlineTextView    = view.FindViewById <TextView>(Resource.Id.OnlineTextView);
                IconOnline        = view.FindViewById <TextView>(Resource.Id.Icononline);
                ResetTextView     = view.FindViewById <TextView>(Resource.Id.Resetbutton);
                LocationLayout    = view.FindViewById <RelativeLayout>(Resource.Id.LayoutLocation);
                ButtonMan         = view.FindViewById <Button>(Resource.Id.ManButton);
                ButtonGirls       = view.FindViewById <Button>(Resource.Id.GirlsButton);
                ButtonBoth        = view.FindViewById <Button>(Resource.Id.BothButton);
                ButtonApply       = view.FindViewById <Button>(Resource.Id.ApplyButton);
                AgeSeekBar        = view.FindViewById <RangeSliderControl>(Resource.Id.seekbar);
                OnlineSwitch      = view.FindViewById <Switch>(Resource.Id.togglebutton);
                IconDistance      = view.FindViewById <TextView>(Resource.Id.IconDistance);
                TxtDistanceCount  = view.FindViewById <TextView>(Resource.Id.Distancenumber);
                DistanceBar       = view.FindViewById <SeekBar>(Resource.Id.distanceSeeker);

                ResetTextView.Visibility = ViewStates.Gone;
                ButtonApply.Visibility   = ViewStates.Gone;
                MainLayout.Visibility    = ViewStates.Gone;

                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconLocation, IonIconsFonts.IosLocationOutline);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, LocationMoreIcon, IonIconsFonts.ChevronRight);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconFire, IonIconsFonts.IosPersonOutline);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconAge, IonIconsFonts.Calendar);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.IonIcons, IconOnline, IonIconsFonts.Ionic);
                FontUtils.SetTextViewIcon(FontsIconFrameWork.FontAwesomeLight, IconDistance, FontAwesomeIcon.StreetView);

                FontUtils.SetFont(LocationTextView, Fonts.SfRegular);
                FontUtils.SetFont(LocationPlace, Fonts.SfRegular);
                FontUtils.SetFont(GenderTextView, Fonts.SfRegular);
                FontUtils.SetFont(AgeTextView, Fonts.SfRegular);
                FontUtils.SetFont(OnlineTextView, Fonts.SfRegular);
                FontUtils.SetFont(TxtDistanceCount, Fonts.SfRegular);

                DistanceBar.Max = 50;
                DistanceBar.SetOnSeekBarChangeListener(this);

                AgeSeekBar.SetSelectedMinValue(18);
                AgeSeekBar.SetSelectedMaxValue(75);

                OnlineSwitch.Checked = false;

                ButtonGirls.SetBackgroundResource(Resource.Drawable.follow_button_profile_friends);
                ButtonGirls.SetTextColor(AppSettings.SetTabDarkTheme ? Color.ParseColor("#ffffff") : Color.ParseColor("#444444"));

                ButtonBoth.SetBackgroundResource(Resource.Drawable.follow_button_profile_friends_pressed);
                ButtonBoth.SetTextColor(Color.ParseColor("#ffffff"));

                ButtonMan.SetBackgroundResource(Resource.Drawable.follow_button_profile_friends);
                ButtonMan.SetTextColor(AppSettings.SetTabDarkTheme ? Color.ParseColor("#ffffff") : Color.ParseColor("#444444"));

                MAdView = view.FindViewById <AdView>(Resource.Id.adView);
                AdsGoogle.InitAdView(MAdView, null);

                SetLocalData();
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }
        protected async override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            // Create your application here
            SetContentView(Resource.Layout.SearchPlayers);

            Typeface tf = Typeface.CreateFromAsset(Assets, "fonts/Font Awesome 5 Free-Solid-900.otf");

            _toolbar          = FindViewById <Toolbar>(Resource.Id.tbr_searchPlayers_toolbar);
            _name             = FindViewById <EditText>(Resource.Id.et_searchPlayers_name);
            _positionsSpinner = FindViewById <Spinner>(Resource.Id.spn_searchPlayers_preferedPosition);

            _heightRange = FindViewById <RangeSliderControl>(Resource.Id.sld_searchPlayers_heightRange);
            _heightRange.SetSelectedMinValue(0);
            _heightRange.SetSelectedMaxValue(300);

            _weightRange = FindViewById <RangeSliderControl>(Resource.Id.sld_searchPlayers_weightRange);
            _weightRange.SetSelectedMinValue(0);
            _weightRange.SetSelectedMaxValue(300);

            _ageRange = FindViewById <RangeSliderControl>(Resource.Id.sld_searchPlayers_ageRange);
            _ageRange.SetSelectedMinValue(_ageRange.AbsoluteMinValue);
            _ageRange.SetSelectedMaxValue(_ageRange.AbsoluteMaxValue);

            _search        = FindViewById <Button>(Resource.Id.btn_searchPlayers_searchPlayers);
            _search.Click += Search_Click;

            _recyclerView  = FindViewById <RecyclerView>(Resource.Id.rv_searchPlayers_players);
            _layoutManager = new LinearLayoutManager(this, LinearLayoutManager.Vertical, false);
            _recyclerView.SetLayoutManager(_layoutManager);

            _noPlayersFound = FindViewById <TextView>(Resource.Id.tv_searchPlayers_noPlayersFound);

            SetSupportActionBar(_toolbar);
            SupportActionBar.SetDisplayHomeAsUpEnabled(true);
            SupportActionBar.SetHomeButtonEnabled(true);

            _toggleFilters = FindViewById <TextView>(Resource.Id.tv_searchPlayers_toggleFilters);

            _toggleFilters.Click   += ToggleFilters_Click;
            _toggleFilters.Typeface = tf;

            _filters = FindViewById <TableLayout>(Resource.Id.tl_searchPlayers_filters);

            var positions = new List <string> {
                Literals.AllPositions
            };

            positions.AddRange(Enum
                               .GetNames(typeof(Position))
                               .Select(r => Literals.ResourceManager.GetString(r)));
            _positionsSpinner.Adapter = new ArrayAdapter <string>(this, Android.Resource.Layout.SimpleSpinnerDropDownItem, positions.ToArray());

            _resetFilters        = FindViewById <Button>(Resource.Id.btn_searchPlayers_resetFilters);
            _resetFilters.Click += ResetFilters_Click;

            _account = AccountStore
                       .Create()
                       .FindAccountsForService(GetString(Resource.String.app_name))
                       .FirstOrDefault();

            HttpResponseMessage getPlayersHttpResponse = await RestManager.GetAvailablePlayers(_searchPlayersCritera);

            HttpResponseMessage getCoachClubHttpResponse = await RestManager.GetMemberClub(_account.Username);

            string getCoachClubResponse = await getCoachClubHttpResponse.Content.ReadAsStringAsync();

            string getPlayersResponse = await getPlayersHttpResponse.Content.ReadAsStringAsync();

            if (getPlayersHttpResponse.IsSuccessStatusCode &&
                !string.IsNullOrWhiteSpace(getPlayersResponse) &&
                getPlayersResponse != "null")
            {
                _clubDetails   = JsonConvert.DeserializeObject <ClubDetails>(getCoachClubResponse);
                _memberDetails = JsonConvert.DeserializeObject <IEnumerable <MemberDetails> >(getPlayersResponse);
                if (_memberDetails.Any())
                {
                    _adapter = new PlayerAdapter(this, _memberDetails.ToArray(), _clubDetails, _account);
                    _recyclerView.SetAdapter(_adapter);
                }
            }
        }