/// <summary> /// Put given post in given box. /// </summary> /// <param name="i_IndexInList">The value that the scroll bar points on.</param> /// <param name="i_BoxIndex">The index of the box that will hold the post.</param> protected override void updateItem(int i_IndexInList, int i_BoxIndex) { PostInformation currentPost = m_posts[i_IndexInList]; FBBoxProxy fBBox = new FBBoxProxy(currentPost); m_boxes[i_BoxIndex] = fBBox; }
/// <summary> /// Synching the review sub-list with the scroll bar. /// </summary> /// <param name="i_IndexInList">The index that the scroll bar is on.</param> /// <param name="i_BoxIndex">The index of the box the user should be placed.</param> protected override void updateItem(int i_IndexInList, int i_BoxIndex) { User user = null; if (m_usersList != null) { user = m_usersList[i_IndexInList].User; } FBBoxProxy fBBox = new FBBoxProxy(user); m_boxes[i_BoxIndex] = fBBox; }