diff --git a/XamarinItemTouchHelper.Sample/RecyclerListAdapter.cs b/XamarinItemTouchHelper.Sample/RecyclerListAdapter.cs index ef98fc3..c77d98b 100644 --- a/XamarinItemTouchHelper.Sample/RecyclerListAdapter.cs +++ b/XamarinItemTouchHelper.Sample/RecyclerListAdapter.cs @@ -76,8 +76,8 @@ public class ItemViewHolder : RecyclerView.ViewHolder, IItemTouchHelperViewHolde public ItemViewHolder (View itemView) : base (itemView) { _itemView = itemView; - textView = (TextView) itemView.FindViewById(Resource.Id.text); - handleView = (ImageView) itemView.FindViewById(Resource.Id.handle); + textView = itemView.FindViewById(Resource.Id.text); + handleView = itemView.FindViewById(Resource.Id.handle); } public void OnItemSelected ()