fixed regression of not showing status message
This commit is contained in:
parent
b6f5e4a217
commit
7f52435273
|
@ -417,7 +417,10 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
||||||
viewHolder = (ViewHolder) view.getTag();
|
viewHolder = (ViewHolder) view.getTag();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type == STATUS || type == NULL) {
|
if (type == STATUS) {
|
||||||
|
return view;
|
||||||
|
}
|
||||||
|
if (type == NULL) {
|
||||||
if (position == getCount() - 1) {
|
if (position == getCount() - 1) {
|
||||||
view.getLayoutParams().height = 1;
|
view.getLayoutParams().height = 1;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue