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

Potentially useful additions #1

Closed
vincentjames501 opened this issue Mar 18, 2016 · 1 comment
Closed

Potentially useful additions #1

vincentjames501 opened this issue Mar 18, 2016 · 1 comment

Comments

@vincentjames501
Copy link

OnSliderStateChangeListener

It would be nice to include the page positions like so:

public interface OnSliderStateChangeListener {
    void onStateChanged(View page,@SlidingContainer.SliderState int state, int position);
    void onPageChanged(View page,@SlidingContainer.SliderState int state, int position);
}

ExpandablePager

You can call setCurrentItem(...) but there should be a getCurrentItem() as well.

ExpandablePagerAdapter

It would be nice if you could also extend FragmentPagerAdapter. I'd like to use fragments instead of views for this.

@dimatim
Copy link
Contributor

dimatim commented Mar 21, 2016

Great suggestions!
all these features are available in 234bfd1 and version 0.2.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants