Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

Releases: novoda/view-pager-adapter

v1.0.0

27 Jun 09:34
Compare
Choose a tag to compare

Includes (#18, #19):

  • Breaking: bindView(V view, int position, @nullable SparseArray viewState) has gone from protected to private
  • Breaking: bindView(V view, int position) made abstract again so clients have to implement it
  • Behaviour change: if client returns Views with IDs in protected abstract V createView(ViewGroup container, int position); then the library will throw an exception
  • New: protected void restoreHierarchyState(V view, int position, @nullable SparseArray viewState)
  • New: protected void saveHierarchyState(V view, int position, SparseArray viewState)

v0.9.6

10 May 13:11
Compare
Choose a tag to compare

Includes

  • Replacing WeakHashMap of Views with HashMap and manual view removal in DestroyItem #15

v0.9.5

05 May 11:08
Compare
Choose a tag to compare

Includes

  • Fixed crash when restoring activity state #14

v0.9.4

19 Apr 09:17
Compare
Choose a tag to compare

Includes

  • Bug fix around the inflated view not having its own state restored #13

v0.9.3

11 Apr 13:28
Compare
Choose a tag to compare

Includes:

  • Updated dependencies, tools, plugins and Gradle wrapper versions #10
  • Rebind tabs with existing state after calling notifyOnDataSetChanged #11

v0.9.2

04 Apr 14:57
Compare
Choose a tag to compare

Includes:

  • new bindView to allow manually controlling view state restoration #9

  • replace abstract bindView with empty body protected #9

v0.9.1

15 Apr 12:07
Compare
Choose a tag to compare

Includes:

  • replace Map with SparseArray in ViewPagerAdapter
  • add explicit ClassLoader to bundle reading to avoid class not found errors