![]() We first divide the firstVisibleItemScrollOffset by 600 in order to get a smaller value of the first item’s scroll offset. It’s not exactly what we wanted, but if we consider that scrolling past the first item is enough to collapse/expand the toolbar, we can do calculate the offset by doing some simple calculations: This changes as you scroll past the items within your list. If we were to scroll past two items within our list, this field would be 2 because the third element would now be the first visible item.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |