Search in sources :

Example 1 with IActionbarSpinner

use of com.abewy.android.apps.klyph.app.IActionbarSpinner in project Klyph by jonathangerbaud.

the class StreamListFragment method onSetToFront.

@Override
public void onSetToFront(Activity activity) {
    friendLists = KlyphData.getFriendLists();
    if (activity != null && friendLists != null && friendLists.size() > 0) {
        FriendList fl = new FriendList();
        fl.setOwner(KlyphSession.getSessionUserId());
        fl.setName(activity.getString(R.string.fragment_header_newsfeed));
        friendLists.add(0, fl);
        ((IActionbarSpinner) activity).displaySpinnerInActionBar(friendLists, spinnerPosition, this);
        activity.setTitle("");
    }
}
Also used : FriendList(com.abewy.android.apps.klyph.core.fql.FriendList) IActionbarSpinner(com.abewy.android.apps.klyph.app.IActionbarSpinner)

Aggregations

IActionbarSpinner (com.abewy.android.apps.klyph.app.IActionbarSpinner)1 FriendList (com.abewy.android.apps.klyph.core.fql.FriendList)1