public override RecyclerView.ViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) { Context context = Application.Context; NightLightCell cell = CreateCell(); NightlightRecyclerViewViewHolder nightlightViewHolder = new NightlightRecyclerViewViewHolder(cell); return(nightlightViewHolder); }
public NightlightRecyclerViewViewHolder(View itemView) : base(itemView) { cell = itemView as NightLightCell; Title = cell.Title; TextField = cell.TextField; Warning = cell.Warning; TextField.TextChanged += TextField_TextChanged; }