rootless-logcat icon indicating copy to clipboard operation
rootless-logcat copied to clipboard

Add fast-scrolling ability

Open Sternbach-Software opened this issue 4 years ago • 4 comments

Replace RecyclerView with FastScrollerRecyclerView to offer fast-scrolling through hundreds of thousands of logs quickly without having to manually scroll all the way through (an impossible feat for over 150,000 logs per minute). The bubble letter is "icing on top" and optional (all of the code in LineAdapter can be ignored and the fast-scrolling functionality will remain). The first thing I could come up with for a useful bubble text was the position of the scrollbar in the list. Maybe the time of the log at the scrollbar position would be more useful. What do you think?

Sternbach-Software avatar Apr 01 '21 00:04 Sternbach-Software

I thought recycler view has a fast scroll option. Can we use that instead?

tananaev avatar Apr 01 '21 00:04 tananaev

No. The recycler-view does not have an adjustable handle size and is almost impossible to click because of how small it is. I guarantee almost no one knows that they can even scroll using the handle because it is so hard to use like that, let alone seeing that it is even there. It also doesn't display a bubble. I use the bubble in my work app in a list of speakers to display the first letter of their last name, which is exactly how google does it in their contacts app.

Sternbach-Software avatar Apr 02 '21 04:04 Sternbach-Software

Contacts app is completely different story because there is clear categorization available there.

tananaev avatar Apr 02 '21 05:04 tananaev

Whatever you say. Using the scrolling of a FastScrollerRecylerView is much easier and faster than using a regular RecyclerView. Your choice what to do with that information.

Sternbach-Software avatar Apr 02 '21 06:04 Sternbach-Software