Using Localization.shortCount() and old likeCount
This commit is contained in:
parent
32d4d2a432
commit
fcc6d99811
1 changed files with 4 additions and 1 deletions
|
|
@ -137,7 +137,10 @@ public class CommentsMiniInfoItemHolder extends InfoItemHolder {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item.getLikeCount() >= 0) {
|
if (item.getLikeCount() >= 0) {
|
||||||
itemLikesCountView.setText(String.valueOf(item.getLikeCount()));
|
itemLikesCountView.setText(
|
||||||
|
Localization.shortCount(
|
||||||
|
itemBuilder.getContext(),
|
||||||
|
item.getLikeCount()));
|
||||||
} else {
|
} else {
|
||||||
itemLikesCountView.setText("-");
|
itemLikesCountView.setText("-");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue