private void refreshCacheSummary() { // Load the item selected from the current cache size. final long limitBytes = userFileManager.getContentCacheSize(); final long usedBytes = userFileManager.getCacheUsedSize(); final long pinnedBytes = userFileManager.getPinnedSize(); cacheLimitTextView.setText(StringFormatUtils.getBytesString(limitBytes, false)); cacheInUseTextView.setText(StringFormatUtils.getBytesString(usedBytes, false)); cacheAvailableTextView.setText(StringFormatUtils.getBytesString(limitBytes - usedBytes, false)); cachePinnedTextView.setText(StringFormatUtils.getBytesString(pinnedBytes, false)); }