Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Temporarily revert to be able to build Leanback. See #206
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheesebaron committed Apr 4, 2016
1 parent b29fcf2 commit 8716e6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Expand Up @@ -22,5 +22,7 @@ public interface IMvxRecyclerAdapter
ICommand ItemLongClick { get; set; }

object GetItem(int position);

int ItemTemplateId { get; set; }
}
}
2 changes: 2 additions & 0 deletions MvvmCross.Droid.Support.V7.RecyclerView/MvxRecyclerAdapter.cs
Expand Up @@ -155,6 +155,8 @@ public virtual object GetItem(int position)
return _itemsSource.ElementAt(position);
}

public int ItemTemplateId { get; set; }

protected virtual void SetItemsSource(IEnumerable value)
{
if (ReferenceEquals(_itemsSource, value) && !ReloadOnAllItemsSourceSets)
Expand Down

0 comments on commit 8716e6b

Please sign in to comment.