setMainViewTitle

Sets the title of the main app list view.

If a custom title is provided, it will be displayed. Otherwise, the default title "All apps" (R.string.title_all_apps) will be used. The visibility of the title view is also updated:

  • If a custom title is set but is empty, the title view will be hidden (GONE).

  • Otherwise, the title view will be visible (VISIBLE).

Parameters

title

The custom title to set. If null, the default title will be used.