MaterialRecents icon indicating copy to clipboard operation
MaterialRecents copied to clipboard

scrolling view

Open KaustubhSatam opened this issue 8 years ago • 1 comments

i want to show last item first and then the scrolling starts downwards any help where do i do the changes in your code for eg: i want to start from item 9 and scroll down for rest of the cards till item 0

KaustubhSatam avatar Feb 04 '17 07:02 KaustubhSatam

For me, I use this: boolean isFirst = true; @Override protected void dispatchDraw(Canvas canvas) { if (isFirst) { scroll = getMaxScroll(); …… isFirst = false; } And it seems to work well. Maybe you can look at mine: https://github.com/MeCreationTeam/ME_MaterialRecent/blob/master/src/tk/zielony/materialrecents/RecentsList.java (I don't really understand why this way works, I'm just a learner.)

zhaozihanzzh avatar Jul 22 '18 10:07 zhaozihanzzh