/// <summary> /// For default list item layout and view holder. /// </summary> /// <param name="senderId"> identifier of sender. </param> /// <param name="holders"> custom layouts and view holders. See <seealso cref="MessageHolders"/> documentation for details </param> /// <param name="imageLoader"> image loading method. </param> public MessagesListAdapter(string senderId, MessageHolders holders, ImageLoader imageLoader) { this.senderId = senderId; this.holders = holders; this.imageLoader = imageLoader; this.items = new List <Wrapper>(); }
internal HolderConfig(MessageHolders outerInstance, Type holder, int layout) { this.outerInstance = outerInstance; this.holder = holder; this.layout = layout; }