`Day60` - Add viewmodel data binding on PassDetail...
# 100daysofkotlin-2021
j
Day60
• Add viewmodel data binding on PassDetail fragment • Figured out that I wrongly let run statements... ◦
~~?.let{} ?: run{}
(O)
~~~?.let{}.run{}
(X) ◦ Wow what a dumb mistake......it was really embarrassing when I found this.... I was just curious why this value is not null and it was keep going inside run scope....... • Communication with backend engineer to fix the response shape, etc. backend related ui updates
Day61
• Resolve text striking problem on recyclerview item ◦ Problem : Had to partially cross out a text, but strike tag all did not work. (<s>, <del>, <strike>) ▪︎ ex: (originally charged) (charge after refund) ◦ Solution: Used StrikethroughSpan • Somehow figured out that user data was not being updated. First, I thought it was problem with backend mock data, but as I shoot api in postman, it was working correctly. Reason was that I was not updating the user data on api shooting. I was getting data from cached user entity, and I did not do the updating job.. • Add several webview action,value handling things inside action controller. Add pass coupon bottomsheet connection with webview handling.
Self-Comment
• Actually I was quite uhh... less productive yesterday. I felt as if I was spending too much times due to minor parts (solely due to my dumb mistakes). That was frustrating. Especially wow..that wrong run statement was.. • Viewmodel binding was quite messy since mock data was not fully made yet. In API doc(which is WIP) it was not-nullable, but in response it was null.. And just things like this took my time lol. Thanks that today was better than that. • From monday, I think I can prepare for QA, with wrapping up details.
Goals-Tomorrow
• (work related goals - monday) ◦ Recyclerview inside nested scrollview : had some issues. Resolve this. ◦ Check refund logic with mock response data. • Small missions - find and read at least one article related to rx, embedded android, battery optimization