Beispiel #1
0
        public BaseDialogViewHolder OnCreateViewHolder(ViewGroup parent, int viewType, bool b)
        {
            View v      = LayoutInflater.From(parent.Context).Inflate(itemLayoutId, parent, false);
            var  holder = new CustomDialogViewHolder(v);

            holder.DialogStyle = DialogStyle;
            return(holder);
        }
Beispiel #2
0
 public void SetAttributes(int itemLayoutId, CustomDialogViewHolder holderClass, ImageLoader imageLoader)
 {
     this.itemLayoutId = itemLayoutId;
     this.holderClass  = holderClass;
     this.imageLoader  = imageLoader;
 }
Beispiel #3
0
 public DialogsListAdapter(int itemLayoutId, CustomDialogViewHolder holderClass, ImageLoader imageLoader)
 {
     this.itemLayoutId = itemLayoutId;
     this.holderClass  = holderClass;
     this.imageLoader  = imageLoader;
 }