Using context.getString for getting formatted strings, as it works better with different locales

Change-Id: I9639bb11197e656c5cdd3a4d63f913edcc0987cb
This commit is contained in:
Sunny Goyal
2015-09-02 15:06:12 -07:00
parent 9e0702f4af
commit f4f89ef608
6 changed files with 8 additions and 12 deletions

View File

@@ -2300,7 +2300,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
}
protected String getCurrentPageDescription() {
return String.format(getContext().getString(R.string.default_scroll_format),
return getContext().getString(R.string.default_scroll_format,
getNextPage() + 1, getChildCount());
}