basshelal / Waqti

Android app for a Kanban board time management system similar to Trello
MIT License
35 stars 7 forks source link

Convert BoardView code to be more API like #58

Closed basshelal closed 5 years ago

basshelal commented 5 years ago

Instead of having hard coded events and code, switch to a customizable callback API style so that it can be used more flexibly

basshelal commented 5 years ago

We started this but things didn't work out, we'll probably do this again sometime in the future

basshelal commented 5 years ago

We need to do this to remove the slowness, even if the API isn't perfect. Change the code to more resemble something like this where onBindViewHolder is much smaller. This is a high priority issue now, we'll move this to the bugs and issues board.

basshelal commented 5 years ago

The code is quite a lot cleaner and more optimized but there's still a lot of jank when scrolling across for the first time on a board, but this seems to be application-wide and not just with BoardView. Closing this, was already unclear but a lot of optimizations have definitely been made and it kind of shows albeit not that much