mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Show number of contributions in activity subtitle
This commit is contained in:
parent
700bfee178
commit
0be55faffd
2 changed files with 8 additions and 1 deletions
|
|
@ -248,6 +248,8 @@ public class ContributionsActivity
|
|||
public void onLoadFinished(Loader<Cursor> cursorLoader, Cursor cursor) {
|
||||
allContributions = cursor;
|
||||
contributionsList.setCursor(cursor);
|
||||
|
||||
getSupportActionBar().setSubtitle(getResources().getQuantityString(R.plurals.contributions_subtitle, cursor.getCount(), cursor.getCount()));
|
||||
}
|
||||
|
||||
public void onLoaderReset(Loader<Cursor> cursorLoader) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue