Back to project page Paginize.
The source code is released under:
Copyright (c) 2014 neevek <i at neevek.net> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ...
If you think the Android project Paginize listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package net.neevek.android.demo.paginize.pages.viewpager; // w ww.jav a 2s . c o m import android.util.Log; import android.widget.TextView; import net.neevek.android.demo.paginize.R; import net.neevek.android.lib.paginize.PageActivity; import net.neevek.android.lib.paginize.ViewWrapper; import net.neevek.android.lib.paginize.annotation.InjectView; import net.neevek.android.lib.paginize.annotation.PageLayout; /** * Created by neevek on 6/16/14. */ @PageLayout(R.layout.page_simple_text) public class ViewPageSubPage1 extends ViewWrapper { private final static String TAG = ViewPageSubPage1.class.getSimpleName(); @InjectView(R.id.tv_text) private TextView mTvSimpleText; public ViewPageSubPage1(PageActivity pageActivity) { super(pageActivity); mTvSimpleText.setText("Try swiping from right to left"); } @Override public void onAttach() { Log.d(TAG, "onAttach() called: " + this); } @Override public void onDetach() { Log.d(TAG, "onDetach() called: " + this); } }