public override GameObject InstantiateCell() { ApplicationInformationItem item = base.InstantiateCell().AddComponent <ApplicationInformationItem>(); if (onCreateItemHandler != null) { onCreateItemHandler(item); } return(item.gameObject); }
private void CreateApplicationInformationItem(ApplicationInformationItem item) { item.agreeEvent = OnAgreeFriendApplicationClickCallBack; item.refuseEvent = OnRefuseFriendApplicationClickCallBack; }