JungIn Choi
05/23/2021, 4:46 PMDay61
• Googling for recyclerview issue
◦ Designer required recyclerview inside a scrollable view. So at first, my supervisor gave an advice to use recyclerview inside nested scrollview
◦ At very first stage of implementation, I built the entire layout with fixed recyclerview on the bottom. It then worked, but as I removed the fixed size constraint, recyclerview pagination was not working well.
◦ I was quite stressed with this problem. As I printed the api logs, every page was being loaded, and views were not being recycled.
◦ Reason was that nested scrollview renders all its child at first time of its creation.
◦ This is a serious problem, since this fragment I’m now working on will be routed often. If every pass history, not even being displayed on the screen, become loaded, it is very inefficient in terms of both memory usage and backend api loads.
◦ As I figured out this issue, I googled it and found some short comments that reported this same issue. (But they didn’t post any other solution..)
◦ So I guess I have to put the upper view as .. header of recyclerview. Must be some disgusting job tomorrow.
◦ Hmm. And I’ll have to google for some better solution too. Maybe I could just put everything inside the recyclerview and manipulate its coordinate..?
Self-Comment
• I’m actually spending most of the time (except working time) these days, to found rent & mortage …………………… Seoul is a fantastic place to live, if you’re rich. Ha ha, sad that I’m not.
• Ideal plan to found rent by June, move in, and get my focus back to android studies. I know that I did not simply quit that graduate school just to spend weekends finding rents.
Goald Tomorrow
• Resolve that recyclerview issue
• Finish refunding logic
• Minor layout fixes (customize shadows)
• Check for payment logic
• Prepare for QA, practice replacing mock response dataBryan L
05/24/2021, 1:55 AMJungIn Choi
05/25/2021, 3:47 PM