(Integer number, long max, NumberFormat nf)
| 2533 | } |
| 2534 | |
| 2535 | static String formatNumber(Integer number, long max, NumberFormat nf) { |
| 2536 | if (number == null) |
| 2537 | return null; |
| 2538 | return nf.format(Math.min(number, max)) + (number > max ? "+" : ""); |
| 2539 | } |
| 2540 | |
| 2541 | static void linkPro(final TextView tv) { |
| 2542 | if (ActivityBilling.isPro(tv.getContext()) && !BuildConfig.DEBUG) |