protected void BindTemplatedItemViewHolder(TemplatedItemViewHolder templatedItemViewHolder, object context)
 {
     if (ItemsView.ItemSizingStrategy == ItemSizingStrategy.MeasureFirstItem)
     {
         templatedItemViewHolder.Bind(context, ItemsView, SetStaticSize, _size);
     }
     else
     {
         templatedItemViewHolder.Bind(context, ItemsView);
     }
 }
示例#2
0
 protected virtual void BindTemplatedItemViewHolder(TemplatedItemViewHolder templatedItemViewHolder, object context)
 {
     templatedItemViewHolder.Bind(context, ItemsView);
 }