Hi,
I have a requirement to display the arrows on listview items but it's not working!
Basically, I have created a CustomRenderer on iOS:
[assembly: ExportRenderer(typeof(ViewCell), typeof(ArrowCellRenderer))]
namespace NativeApp.iOS
{
[Preserve(AllMembers = true)]
public class ArrowCellRenderer : ViewCellRenderer
{
public override UIKit.UITableViewCell GetCell(Cell item, UIKit.UITableViewCell reusableCell, UIKit.UITableView tv)
{
var cell = base.GetCell(item, reusableCell, tv);
cell.Accessory = UIKit.UITableViewCellAccessory.DisclosureIndicator;
return cell;
}
}
}
and I have added ViewCell to the DataTemplate of each ItemTemplate in the listview but still, the chevrons do not appear.
Please advise