aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/activity/IAbstractActivity.java
blob: 59aa284f229000c82f837f6f0e24ee3ff8ed82bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package cgeo.geocaching.activity;


public interface IAbstractActivity {

    public void showToast(String text);

    public void showShortToast(String text);

    public void invalidateOptionsMenuCompatible();

    /**
     * Override this method to create a showcase view highlighting the most important UI element.
     *
     */
    public ShowcaseViewBuilder getShowcase();

    /**
     * Call this method to actually present a showcase. The right time to invoke this method depends on the showcase
     * target. I.e. if the showcase target is an action bar item, this method can only be invoked after that item has
     * been created in onCreateOptionsMenu.
     */
    public void presentShowcase();

}