private void MAdapterOnItemClick(object sender, InviteFriendsAdapterClickEventArgs adapterClickEvents)
        {
            try
            {
                var position = adapterClickEvents.Position;
                switch (position)
                {
                case >= 0:
                {
                    var item = MAdapter.GetItem(position);

                    Contact = item;
                    if (item != null)
                    {
                        switch ((int)Build.VERSION.SdkInt)
                        {
                        case < 23:
                            Methods.App.SendSms(this, item.PhoneNumber, InviteSmsText);
                            break;

                        default:
                        {
                            //Check to see if any permission in our group is available, if one, then all are
                            if (CheckSelfPermission(Manifest.Permission.SendSms) == Permission.Granted)
                            {
                                new IntentController(this).OpenIntentSendSms(item.PhoneNumber, InviteSmsText);
                            }
                            else
                            {
                                new PermissionsController(this).RequestPermission(104);
                            }

                            break;
                        }
                        }
                    }

                    break;
                }
                }
            }
            catch (Exception e)
            {
                Methods.DisplayReportResultTrack(e);
            }
        }
        private void MAdapterOnItemClick(object sender, InviteFriendsAdapterClickEventArgs adapterClickEvents)
        {
            try
            {
                var position = adapterClickEvents.Position;
                if (position >= 0)
                {
                    var item = MAdapter.GetItem(position);

                    Contact = item;
                    if (item != null)
                    {
                        if ((int)Build.VERSION.SdkInt < 23)
                        {
                            Methods.App.SendSms(this, item.PhoneNumber, InviteSmsText);
                        }
                        else
                        {
                            //Check to see if any permission in our group is available, if one, then all are
                            if (CheckSelfPermission(Manifest.Permission.SendSms) == Permission.Granted)
                            {
                                new IntentController(this).OpenIntentSendSms(item.PhoneNumber, InviteSmsText);
                            }
                            else
                            {
                                new PermissionsController(this).RequestPermission(104);
                            }
                        }
                    }
                }
            }
            catch (Exception e)
            {
                Console.WriteLine(e);
            }
        }