From f9ab2aa0ac988a50b189f9f06ddb6ea34510f883 Mon Sep 17 00:00:00 2001 From: Vishnu Rajeevan Date: Mon, 25 Aug 2014 18:09:59 -0500 Subject: [PATCH] adding app count to title --- app/src/main/java/com/dwak/applist/AppListFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/dwak/applist/AppListFragment.java b/app/src/main/java/com/dwak/applist/AppListFragment.java index 1bf86c6..038394a 100644 --- a/app/src/main/java/com/dwak/applist/AppListFragment.java +++ b/app/src/main/java/com/dwak/applist/AppListFragment.java @@ -371,6 +371,7 @@ protected void onPostExecute(List applicationInfos) { mAdapter.notifyDataSetChanged(); mProgressBar.setVisibility(View.GONE); mListView.setVisibility(View.VISIBLE); + getActivity().setTitle(mApplicationList.size() + " apps"); } } }