Example usage for android.app ActionBar.TabListener interface-usage

List of usage examples for android.app ActionBar.TabListener interface-usage

Introduction

In this page you can find the example usage for android.app ActionBar.TabListener interface-usage.

Usage

From source file com.p1creations.bas1ksBeta.MainActivity.java

public class MainActivity extends FragmentActivity implements ActionBar.TabListener {

    private ViewPager viewPager;
    private TabsPagerAdapter mAdapter;
    private ActionBar actionBar;
    // Tab titles

From source file net.cherryzhang.sekuhara.LoginAndRegistration.LoginAndRegistrationActivity.java

public class LoginAndRegistrationActivity extends FragmentActivity implements ActionBar.TabListener {

    AppSectionsPagerAdapter mAppSectionsPagerAdapter;

    ViewPager mViewPager;

From source file ca.mymenuapp.ui.widgets.SwipeableActionBarTabsAdapter.java

/**
 * This is a helper class that implements the management of tabs and all
 * details of connecting a ViewPager with associated TabHost.  It relies on a
 * trick.  Normally a tab host has a simple API for supplying a View or
 * Intent that each tab will show.  This is not sufficient for switching
 * between pages.  So instead we make the content part of the tab host

From source file com.plnyyanks.frcnotebook.activities.ViewTeam.java

/**
 * File created by phil on 3/1/14.
 * Copyright 2014, Phil Lopreiato
 * This file is part of FRC Notebook.
 * FRC Notebook is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
 * FRC Notebook is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

From source file com.example.emulator8051.HomeActivity.java

public class HomeActivity extends FragmentActivity implements ActionBar.TabListener {

    SectionsPagerAdapter mSectionsPagerAdapter; //for fixed tabs+swipe feature

    ViewPager mViewPager;

From source file com.example.llsdktest2.MainActivity.java

public class MainActivity extends FragmentActivity
        implements IPlayerCallback, OnPageChangeListener, ActionBar.TabListener {

    private String mChannelID = "0c31d9b516624fe89c380204236d655a";

    private PlayersFragment mPlayersFragment = null;

From source file net.zhuoweizhang.scripteval.TabsAdapter.java

public class TabsAdapter extends FragmentPagerAdapter
        implements ActionBar.TabListener, ViewPager.OnPageChangeListener {

    private final Activity mActivity;
    private final ActionBar mActionBar;
    private final ViewPager mViewPager;

From source file net.alexjf.tmm.adapters.TabAdapter.java

/**
 * Based on http://stackoverflow.com/a/10082836/441265
 */
public class TabAdapter extends FragmentPagerAdapter
        implements ActionBar.TabListener, ViewPager.OnPageChangeListener {
    private final static String KEY_TABNAV = "pref_key_tab_navigation";

From source file com.example.ll.llsdktest.MainActivity.java

public class MainActivity extends FragmentActivity
        implements IPlayerCallback, OnPageChangeListener, ActionBar.TabListener {
    private String mChannelID = "0c31d9b516624fe89c380204236d655a";
    private PlayersFragment mPlayersFragment = null;
    private MediaOfChannel mMediaOfChannelFragment = null;
    private IPlayerControl mControl;

From source file com.example.android.OurApp.MainActivity.java

public class MainActivity extends FragmentActivity implements ActionBar.TabListener {

    /**
     * The {@link android.support.v4.view.PagerAdapter} that will provide fragments for each of the
     * three primary sections of the app. We use a {@link android.support.v4.app.FragmentPagerAdapter}
     * derivative, which will keep every loaded fragment in memory. If this becomes too memory