History log of /frameworks/support/v4/java/android/support/v4/view/PagerAdapter.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fd0bd8336ced5879d3aaa8d96195ba8dce5b5dac 03-Aug-2012 Adam Powell <adamp@google.com> Fix documentation link for PagerAdapter deprecated method

Bug 5675287

Change-Id: Ibc3aafb55f63712a7338ce809f451092420a8c25
/frameworks/support/v4/java/android/support/v4/view/PagerAdapter.java
31bb17f88734747206586eeb3eb57123e3cc2434 01-Feb-2012 Adam Powell <adamp@google.com> Pin the last page to the right edge of a ViewPager.

Change-Id: I7e8fbe783b711a9dd57c76f259f20962d9c3dede
/frameworks/support/v4/java/android/support/v4/view/PagerAdapter.java
a4a06a94df00575480d789b60ea25ce59184df1f 22-Nov-2011 Adam Powell <adamp@google.com> Add variable-width pages to ViewPager.

Override PagerAdapter#getPageWidth. Default implementation returns
1.0.

Add more programmatic configuration settings to PagerTitleStrip:
* setTextSpacing
* setNonPrimaryAlpha
* setTextColor
* setTextSize

Change-Id: Ic05be8059e5b87523225e92dc906940c95349f76
/frameworks/support/v4/java/android/support/v4/view/PagerAdapter.java
0574ca37da4619afe4e26753f5a1b4de314b6565 17-Nov-2011 Svetoslav Ganov <svetoslavganov@google.com> Add the support libraries to the platform documentation (support libs).

Updated the support libraries' documentation.

bug:5629339

Change-Id: Ia026696e541ab200ce05601aabe062a303bcbb97
/frameworks/support/v4/java/android/support/v4/view/PagerAdapter.java
583d8a1ff64c7c59dd4e11759f3d8e994ce878d9 17-Nov-2011 Adam Powell <adamp@google.com> Bug 5327146 - ViewPager API tweaks and docs

PagerAdapter previously took View instances as parameters to several
of its methods leading to lots of casting to ViewGroup in adapter
implementations.

Change these to take ViewGroups. Default implementation calls through
to deprecated stubs with the existing signatures, allowing current
adapters to keep working unmodified.

Add some documentation to PagerAdapter to explain how adapters should
be implemented and the basic mechanics behind ViewPager.

Change-Id: If18a3e4d18a0f84b781518833a23184832808838
/frameworks/support/v4/java/android/support/v4/view/PagerAdapter.java
8fffe01871be1806a1bdefa1f7213b660fcf5ac0 17-Oct-2011 Adam Powell <adamp@google.com> Title strips for ViewPager

Add non-interactive title strips to ViewPager. This includes the
following moving parts:

* Extra decorative view support for ViewPager. Decorative views may be
supplied as child views of a pager in XML layout.

* Some package-private plumbing for communication without disturbing
any pager callbacks that apps may be using.

* The addition of PagerAdapter#getPageTitle to supply title strings
for pages. (Defaults to no title for each page.)

* The view PagerTitleStrip, to be added as a child of ViewPager.
The developer can supply textAppearance/textSize/textColor etc.
as well as layout sizing and gravity information this way.

Change-Id: Id28d7f1ed996869f3f60bf99252340308f292d19
/frameworks/support/v4/java/android/support/v4/view/PagerAdapter.java
2a4d8518f36346ea25a22a736453ff28f2954165 30-Aug-2011 Dianne Hackborn <hackbod@google.com> Fix issues 5158104 and 4981556 (fragment problems)

5158104: com.android.contacts: java.lang.IllegalStateException:
Can not perform this action after onSaveInstanceState at
android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1201)

The ViewPager can just commit without worrying about a state loss,
since it can correctly reconstruct its state later.

4981556: Fragment.mImmediateActivity doesn't get restored on orientation change

I am giving up on this thing; I just don't see how it can actually
be correct. So now instead of getting an exception about a dup
add/remove at point of the add/remove call, this will happen later when
processing the transaction.

Also add an API for controlling the visibility of menus, which ViewPager
uses to have the correct menus shows. And add a method to get the
name of a back stack entry.

Finally fix a recent problem in ViewPager with dealing with focus,
and make ViewPager smart about handling keyboard focus navigation
inside itself.

Change-Id: I280269ac64079d171e9c899ea1cff7e80246c924
/frameworks/support/v4/java/android/support/v4/view/PagerAdapter.java
3661ad6c9143d58f741568f940f77ca9d38dec47 11-Jun-2011 Adam Powell <adamp@google.com> Add ViewPager features.

Support changing data sets in a ViewPager adapter.

Add listener interface to respond to scrolling.

Change-Id: Ib048d938e5721f379a446842d1bd7e80b923627d
/frameworks/support/v4/java/android/support/v4/view/PagerAdapter.java
5c1637087453de15e31861f073eae5133c4e9f7b 06-Jun-2011 Dianne Hackborn <hackbod@google.com> Move PagerView down to the v4 support lib.

Adds in standard adapters for using PagerView with the fragment support library.

Also bring in the most recent HC fragment API and impl changes so that the support
lib matches it.

Change-Id: Id8a590378b8c544a92df4f3c11af323c930aa5fd
/frameworks/support/v4/java/android/support/v4/view/PagerAdapter.java