`Day 63` - Continue building <https://github.com/B...
# 100daysofkotlin-2021
b
Day 63
• Continue building Ktor server for Daily Doc ◦ Implemented ways to add users • Updated IntelliJ & Android Studio: client, plugins, and dependencies • Read Medium Article: How to Use Ktor in Your Android App
Self-Comment
• Managed to get a few things accomplished before company arrived & on the first day. Afterwards there wasn't much time spent at the house. • I've completed the ktor server for my backend(what I want to implement for now that is). Now I'll be going through and implementing Retrofit into the project in a Daily Doc branch. • Had some trouble with the Wifi causing a weak connection throughout the day. Took about 3 hours to update everything 🤷‍♂️ • Article gave some new perspectives on Ktor. Interested in going through differences between retrofit and ktor. -------------- ◦ Didn't accomplish much while I had guests over for the holiday weekend. Not enough that I'll count towards a day. Mostly covered some small readings in the mornings.. ◦ Don't have anything major planned for June so will be focused on the progressing & committing to the challenge! ◦ Will be looking to start sending out resumes by the end of the month. Originally planned for May, but didn't accomplish what I wanted to, so I intend to do it this month. Note to self: Don't start a novel that has 1600 chapters.. I typically have a bad habit of binge reading / watching.. A friend had suggested a new genre & novel to try and I fell for it. I've avoided entangling myself in such content this past year, but it's gotten the better of me and has been the root of my lack of progress in May. 🤦🏻‍♂️ --------------
Day 64
• New Daily Doc branch created for remote & user db ◦ Updated dependencies & added retrofit dependencies ◦ Adjusted Note Entity data package ◦ Adjusted Room Db ◦ Resource & Event Wrappers created
Self-Comment
• Started working on implementing retrofit into DD. Data package is similar, so not really any issues there. I had previously saved the note creation date as a String, now saved as a Long(need to thoroughly check project to make sure I change everything correctly). • Was planning on completing Jetpack Compose Navigation .. However, I decided to hold off since I can go ahead and implement the registration & login screen in the previously created drawer state. ◦ I did scan over the end result for the codelab on github . Shockingly enough, I'm not that impressed with it! (Wonder if it's a good thing?).. ▪︎ The finished app for the codelab doesn't drop the backstack when navigating through tabs, so I can get stuck with an infinitely large stack. ▪︎ Codelab covers navigating with arguments and deep link support, but I'm not sure where these come in to play inside of the finished app? Would have to complete the codelab to learn more..
Goals Tomorrow
• Setup Basic Register / Login screens in Compose. Utilize current login screen embedded in drawer state • Keep users logged in & log out option • Look into using datastore instead of SharedPreferences (see thread) • Implement add/update note & fetch notes to/from server in DD.