普通用户的聊天栏更高一些
This commit is contained in:
@@ -56,7 +56,6 @@ public class MainMessageChatFragment extends ConversationListFragment {
|
||||
public void onChanged(List<BaseUiConversation> uiConversations) {
|
||||
int hashCode = uiConversations.hashCode();
|
||||
if (listHashCode != hashCode) {
|
||||
Log.i("nwq", "刷新数据");
|
||||
listHashCode = hashCode;
|
||||
((MainConversationListAdapter) mAdapter).onFinish();
|
||||
}
|
||||
|
||||
@@ -70,10 +70,14 @@ public class DateFormatUtil {
|
||||
StringBuilder stringBuilder = new StringBuilder();
|
||||
if (days > 0) {
|
||||
stringBuilder.append(days).append(day).append(" ");
|
||||
} else if (hours > 0) {
|
||||
}
|
||||
if (hours > 0) {
|
||||
stringBuilder.append(hours).append(hour).append(" ");
|
||||
} else if (minutes > 0) {
|
||||
}
|
||||
if (minutes > 0) {
|
||||
stringBuilder.append(minutes).append(minute);
|
||||
}else {
|
||||
stringBuilder.append("0"+minute);
|
||||
}
|
||||
return stringBuilder.toString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user