title: How to use the MvvmCross fluent API to bind a RecyclerView item's TextView to a property of its ViewModel on Android?
body: <p>I am using <strong>MvvmCross</strong> in my <strong>Xamarin Android</strong> project. I have an <code>MvxActivity</code> with an <code>MvxRecyclerView</code>, that I have assigned an item template in its layout file.</p>
  
  <pre><code>&lt;MvxRecyclerView
      android:id="@+id/my_recycler_view"
      local:MvxItemTemplate="@layout/item_recycler_view" /&gt;
  </code></pre>
  
  <p>The ViewModel is quite simple, it consists just of one property that holds the data to display in the <code>RecyclerView</code>:</p>
  
  <pre><code>public class MainViewModel : MvxViewModel
  {
      private IEnumerable&lt;ViewModelItem&gt; _viewModelItems;
      public IEnumerable&lt;ViewModelItem&gt; ViewModelItems
      {
          get { return _viewModelItems; }
          set { SetProperty(ref _viewModelItems, value); }
      }    
  }
  </code></pre>
  
  <p>Generally I like to use the MvvmCross fluent API as much as possible because of the implicit refactoring support.
  So in my activity, I am binding a property of the <code>MvxRecyclerView</code> like this:</p>
  
  <pre><code>var recyclerView = View.FindViewById&lt;MvxRecyclerView&gt;(Resource.Id.my_recycler_view);
  var set = this.CreateBindingSet&lt;MainView, MainViewModel&gt;();
  set.Bind(recyclerView)
      .For(v =&gt; v.ItemsSource)
      .To(vm =&gt; vm.ViewModelItems);
  set.Apply();
  </code></pre>
  
  <p>So far so good. Now, the layout file for the item template basically just contains a <code>TextView</code>:</p>
  
  <pre><code>&lt;LinearLayout&gt;
      &lt;TextView
          android:id="@+id/innerText" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>And my <code>ViewModelItem</code> class looks like this:</p>
  
  <pre><code>public class ViewModelItem
  {
      public string Title { get; set; }
  }
  </code></pre>
  
  <p>My question now is, how and where do I bind the <code>TextView.Text</code> property to the <code>ViewModelItem.Title</code> property using the fluent API?</p>
  
  <p>I know it is quite easy to do without the fluent API by supplying an <code>MvxBind</code> attribute in the item template layout file, but I would really prefer a fluent API solution.</p>