Bryan L
04/03/2021, 6:00 AMDay 24
• Working Navigation to Detail Screen & New Note Screen
• Basic UI set up for all 3 screen
• Caching new note works (if onDestroy()
is provoked from backpress on mainscreen or app closed, cache still disappears) 🤔
• Learned about Partition
Self-Comment
• Great day. Didn't set much for goals today, but managed to accomplish what I did. I'll take the win! The app doesn't have that great of UI and still needs a lot of work, but under the hood it's coming together. I was having a hard time at first not implementing Dependency Injection, but now that I've figured it out, it's not all that different. I'm understanding why people say that DI doesn't effect much in small apps, but pays off in larger ones. I'm sure I could improve a lot on SOLID principles, but I'll ask for code reviews once it's uploaded to Git. I'm thinking about changing the Detail Screen up and deleting the viewmodel for it. Just use the ListViewModel and when a note is clicked, instead of just navigating to the single note, make it to where I can swipe <- to see older notes and -> to see newer ones. That might take up some time, so I may work on adding some other features on my list first such as storing on a server instead of just local. Would also like to add a search feature, perhaps I'll work on that tomorrow. Also I'm sure I've seen it before, but partition looks convenient! Played around with it in my project, but ultimately decided not to use it.
Goals Tomorrow
1. Take a look at RBP and see if I can make a simple version of it with a few basic lists.
2. Add to Notes App (swipeable navigation, swipeable list, or start with either retrofit/firebase) & Upload to Git?? 😱