Reputation: 283
I need to edit harism's project about page curl to make pages turns from left to right instead of right to left.
From where should I start?
Upvotes: 1
Views: 1887
Reputation: 111
Your requirement is same with me, I have modify Curl Page from harism to fit it. thanks to harism and I hope harism can make official patch. Curl Page From Left to Right while view mode set to SHOW_ONE_PAGE:
Upvotes: 3
Reputation: 42026
Can't you set the current index to the last position and swipe back to first?
mPageProvider= new PageProvider();
mCurlView = (CurlView) findViewById(R.id.curl);
mCurlView.setPageProvider(mPageProvider);
mCurlView.setSizeChangedObserver(new SizeChangedObserver());
mCurlView.setCurrentIndex(index);
mCurlView.setBackgroundColor(0xFF202830);
mCurlView.setCurrentIndex(mPageProvider.mBitmapIds.length);
Upvotes: 1