List of usage examples for android.support.v4.view ViewPager.OnPageChangeListener interface-usage
From source file com.example.MyUnderline.UnderlinePageIndicator.java
/** * Draws a line for each page. The current page line is colored differently * than the unselected page lines. */ public class UnderlinePageIndicator extends View implements ViewPager.OnPageChangeListener { private static final int INVALID_POINTER = -1;
From source file com.android.ted.gank.main.ViewerActivity.java
public class ViewerActivity extends AppCompatActivity implements RealmChangeListener, ViewPager.OnPageChangeListener { public static final int REQUEST_CODE_SET_WALLPAPER = 0x1001; public static final String KEY_SET_WALLPAPER_TIPS = "key_set_wallpaper_tips"; private static final int SYSTEM_UI_BASE_VISIBILITY = View.SYSTEM_UI_FLAG_LAYOUT_STABLE
From source file com.conferenceengineer.android.iosched.ui.phone.TrackDetailActivity.java
public class TrackDetailActivity extends BaseActivity implements ActionBar.TabListener, ViewPager.OnPageChangeListener, SessionsFragment.Callbacks, SandboxFragment.Callbacks, TrackInfoHelperFragment.Callbacks { private static final int TAB_SESSIONS = 100; private static final int TAB_OFFICE_HOURS = 101;
From source file com.aksalj.viewpagerslideshow.LinePageIndicator.java
/** * Draws a line for each page. The current page line is colored differently * than the unselected page lines. */ class LinePageIndicator extends View implements ViewPager.OnPageChangeListener { private static final int INVALID_POINTER = -1;
From source file com.android.firewall.ui.adapter.MainPagerAdapter.java
public class MainPagerAdapter extends FragmentPagerAdapter implements TabHost.OnTabChangeListener, ViewPager.OnPageChangeListener { private final Context context; private final TabHost tabHost; private final ViewPager pager;
From source file com.example.slidingmenu.fragment.NewsFragment.java
public class NewsFragment extends Fragment implements OnRefreshListener<ListView>, ViewPager.OnPageChangeListener { private static final String TAG = "NewsFragment"; private View showLeft; private View showRight; private TextView mTopTitleView;
From source file com.donal.superne.app.ui.chat.emojicon.EmojiconsFragment.java
/** * @author Hieu Rocker (rockerhieu@gmail.com). */ @SuppressLint("ValidFragment") public class EmojiconsFragment extends Fragment implements ViewPager.OnPageChangeListener { private OnEmojiconBackspaceClickedListener mOnEmojiconBackspaceClickedListener;
From source file com.cleveroad.slidingtutorial.CirclePageIndicator.java
/** * Draws circles (one for each view). The current view position is filled and * others are only stroked. */ public final class CirclePageIndicator extends View implements ViewPager.OnPageChangeListener { private float mRadius;
From source file com.github.snowdream.android.apps.imageviewer.ImageViewerActivity.java
public class ImageViewerActivity extends ActionBarActivity implements ViewPager.OnPageChangeListener, PhotoViewAttacher.OnViewTapListener { private String imageUri = null; private List<String> imageUrls = null; private String fileName = null; private ImageLoader imageLoader = null;
From source file com.cleveroad.slidingtutorial.PresentationPagerFragment.java
/** * Base Fragment that contains {@link ViewPager} and where happen most logic like dispatching * transform event to child fragment, changing background color, and located page indicator witch * associated with {@link ViewPagerWrapper}. */ public abstract class PresentationPagerFragment extends Fragment