public void Remoteitem(List <SpacePartsList.SpacePart> spacePartsList, int position)
        {
            spacePartsList.RemoveAt(position);

            adapters = new SpacePartsItemAdapter(this, spacePartsList, round_count);
            adapters.NotifyDataSetChanged();
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            round_count = Convert.ToInt32(prefs.GetString("keyRound_Count", null));

            try
            {
                var ObjectEvent = JsonConvert.DeserializeObject <List <SpacePartsList.SpacePart> >(Intent.GetStringExtra("Object_Event"));
                spacePartsList = ObjectEvent;
            }
            catch (Exception ex)
            {
                string error = ex.Message;
            }

            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.spacepart_listview);
            try
            {
                if (spacePartsList.Count != 0)
                {
                    adapters                 = new SpacePartsItemAdapter(this, spacePartsList, round_count);
                    spaceListView            = FindViewById <ListView>(Resource.Id.spacepart_listView);
                    spaceListView.Adapter    = adapters;
                    spaceListView.ItemClick += spacepartlist_ItemClick;

                    //refreshLayouts = FindViewById<SwipeRefreshLayout>(Resource.Id.swipeRefreshLayout);
                    //refreshLayouts.SetColorSchemeColors(Color.Red, Color.Green, Color.Blue, Color.Yellow);


                    this.InitializeServiceClient();
                }
                else if (spacePartsList.Count == 0)
                {
                    var m_main = new Intent(this, typeof(Activity_NoItem));
                    this.StartActivity(m_main);
                }
            }
            catch (Exception ex)
            {
                string errror = ex.Message;
            }

            // Create your application here
        }