title: Telerik Listview for android swipe clossing automatically
body: <pre><code>public class SwipeExecuteListener : Java.Lang.Object, SwipeExecuteBehavior.ISwipeExecuteListener
  {
  
      private ListViewAdapter listViewAdapter;
      public SwipeExecuteListener(ListViewAdapter adapter)
      {
          listViewAdapter = adapter;
      }
      public void OnSwipeStarted(int position)
      {
      }
      public void OnSwipeProgressChanged(int position, int offset, View swipeContent)
      {
  
      }
  
  
  
      public void OnSwipeEnded(int position, int offset)
      {
          int absOffset = Math.Abs(offset);
          if (absOffset &gt; 300)
          {
              listViewAdapter.Remove(position);
          }
          listViewAdapter.NotifySwipeExecuteFinished();
      }
      public void OnExecuteFinished(int position)
      {
  
      }
  }
  </code></pre>
  
  <p>I am working on listview example using telerik UI for android. but when am i swiping my control left/right its is not showing delete or edit buttons </p>
  
  <pre><code> public class CityAdapter : ListViewAdapter
  {
      public CityAdapter(IList items)
          : base(items)
      {       
      }
  
      public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType)
      {
          LayoutInflater inflater = LayoutInflater.From(parent.Context);
          View view = inflater.Inflate(Resource.Layout.city_list_item, parent, false);
          return new CityViewHolder(view);
      }
  
      public override void OnBindListViewHolder(ListViewHolder holder, int position)
      {
          CityViewHolder viewHolder = (CityViewHolder)holder;
          City city = (City)Items[position];
          viewHolder.nameView.Text = city.Name;
          viewHolder.countryView.Text = city.Country;
      }
  
      public override void OnBindSwipeContentHolder(ListViewHolder holder, int position)
      {
          RelativeLayout mainLayout = (RelativeLayout)holder.ItemView;
          LinearLayout leftLayout = (LinearLayout)mainLayout.GetChildAt(0);
          LinearLayout rightLayout = (LinearLayout)mainLayout.GetChildAt(1);
  
          Button leftButton = new Button(mainLayout.Context);
          leftButton.Text = "edit";
  
          Button rightButton = new Button(mainLayout.Context);
          rightButton.Text = "delete";
  
          leftLayout.RemoveAllViews();
          leftLayout.AddView(leftButton);
  
          rightLayout.RemoveAllViews();
          rightLayout.AddView(rightButton);
      }
  
      public void RefreshList()
      {
  
      }
  
      public override void NotifyRefreshFinished()
      {
          base.NotifyRefreshFinished();
  
          SwipeRefreshBehavior swipeRefreshBehavior = new SwipeRefreshBehavior();
          swipeRefreshBehavior.EndRefresh(true);
  
      }
  
      public class CityViewHolder : ListViewHolder
      {
          public TextView nameView;
          public TextView countryView;
  
          public CityViewHolder(View itemView)
              : base(itemView)
          {
  
              nameView = (TextView)itemView.FindViewById(Resource.Id.nameView);
              countryView = (TextView)itemView.FindViewById(Resource.Id.countryView);
          }
      }
  }
  </code></pre>
  
  <p>this is i am using my listener class please tell me how can i resolve the issue.</p>