Reimplement ViewPostActivity using one recyclerview to display a post and its comments instead of using a recyclerview inside NestedScrollView to prevent onBindViewHolder gets called for all the comments data at once and thus consumes more memory and freezes after the comments are loaded.

This commit is contained in:
Alex Ning
2019-06-25 09:21:44 +08:00
parent 34d49d884c
commit c4690a6e38
11 changed files with 927 additions and 846 deletions

View File

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB