update 送礼
This commit is contained in:
@@ -48,6 +48,10 @@ public class GiftListAdapter extends RecyclerView.Adapter<GiftListAdapter.ViewHo
|
||||
return list.size();
|
||||
}
|
||||
|
||||
public GiftBean getItem() {
|
||||
return list.get(selectPosition);
|
||||
}
|
||||
|
||||
public class ViewHolder extends RecyclerView.ViewHolder {
|
||||
private ImageView giftIcon;
|
||||
private TextView giftName;
|
||||
|
||||
@@ -97,7 +97,6 @@ public class MsgMessageRecyclerViewAdapter extends ConversationListAdapter {
|
||||
|
||||
@Override
|
||||
public int compare(BaseUiConversation baseUiConversation, BaseUiConversation t1) {
|
||||
System.out.println(" " + t1.mCore.getSentTime() + "|" + baseUiConversation.mCore.getSentTime() + " " + baseUiConversation.mCore.getConversationTitle() + "|" + t1.mCore.getConversationTitle());
|
||||
return (int) (t1.mCore.getSentTime() - baseUiConversation.mCore.getSentTime());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user