Bug 1288256 - Post: add comments explaining HomePager specific methods in HomeScreen r=sebastian

MozReview-Commit-ID: 5hgTMzff6zq

--HG--
extra : rebase_source : a89d18e6cf5e06ae7845a8373535b5fda89fbb59
This commit is contained in:
Andrzej Hunt 2016-07-21 08:03:37 -07:00
Родитель 12a3fc81a8
Коммит e8b5a4e8dd
1 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -38,12 +38,17 @@ public interface HomeScreen {
void onToolbarFocusChange(boolean hasFocus);
// The following three methods are HomePager specific. The persistence framework might need
// refactoring/generalising at some point, but it isn't entirely clear what other panels
// might need so we can leave these as is for now.
void showPanel(String panelId, Bundle restoreData);
void setOnPanelChangeListener(OnPanelChangeListener listener);
void setPanelStateChangeListener(HomeFragment.PanelStateChangeListener listener);
/**
* Set a banner that may be displayed at the bottom of the HomeScreen. This can be used
* e.g. to show snippets.
*/
void setBanner(HomeBanner banner);
void load(LoaderManager lm, FragmentManager fm, String panelId, Bundle restoreData, PropertyAnimator animator);