
🙂¶ Techie 🦄 ¶don't let them see finish ¶Believer¶
Joined March 2021
- Tweets86
- Following59
- Followers5
- Likes135
months ago I made an app while learning room database in #Android & today wasn't my best day and found myself opening it and found some hope in the sessions 🙂,✨ anxiety is part of life, but being its prisoner is optional; don't focus on the mess✨#100DaysOfCode #100DaysOfGADS
TechShabik retweeted
“Cry my child cry, for yesterday is not today and today is not tomorrow. Everyday rises afresh from the hands of Were..."
This was Akoko comforting Nyabera after losing her two children.
Day 4/10-R2, Worked on the search fragment,used delays in a coroutine . Delays avoid making many unnecessary requests when a request is made on each typed letter on the search bar. e.g. ⬇ @andela_alc #100DaysOfCode #100DaysOfGADS #AndroidDev
1
Day 2&3 R-2, improved the UI and finishing of my app #100DaysOfGADS
#AndroidDev
TechShabik retweeted
💡 Android Studio tip!
You can quickly surround selected lines of code with conditional or try/catch blocks simply by pressing Ctrl+Alt+T or Cmd+Opt+T.
Know this one already? 🤔
Day 1-R2, solved an error during casting of application() to my custom application class, i added the name of my custom application class in manifest and it worked, thanks stack overflow 🎉 #AndroidDev #100DaysOfGADS @Andela
Day 10,Worked on network responses in the 1st fragment.Finally understood kotlin generics,basically they help in defining classes & functions to use different data types, type <T> is like a wildcard, it's defined during class instantiation.Consider these codes ⬇ #100DaysOfGADS
5
Day 8&9, learnt ✅base fragment class helps child fragments use shared features from a viewModel.✅Sealed classes, which are abstract classes & define which classes are to inherit from the sealed class all in 1 file. Also learnt compose basics for a club project. #100DaysOfGADS
1
1
TechShabik retweeted
I released my first FREE course 🥳 on ...
“How to make your GitHub profile standout” 💥
Topics covered in written and video format...
✅ Markdown
✅ Dynamic widgets
✅ GitHub Actions
Link in reply below 👇
Many more courses to come 🤓
#EddieHub #GitHub #OpenSource #DevRel
Day 6&7 (Yesterday+Today)
Still working on the health app,fixing various bugs on the retrofit side.Key notes:if there are similar non-primitive data types that need conversion,just use one converter not different ones.Set onclick for recyclerview items using lamda #100DaysOfGADS
3
"The secret to being productive is to work on the right thing—even if it's at a slow pace."
–@JamesClear
1
Day 5/10-R1 #100DaysOfGADS, I set up my converters class(using Moshi) and recyclerView. Learnt the difference between diffutil() and notifydatasetchanged() in recyclerView. notifyDatasetchanged always updates the whole list including items that didn't change...⬇
1
2
DiffUtil solves this by calculating the difference betweeen two lists(old & new) then updates items that were different. Du, also does this in the background thread not blocking main thread
#100DaysOfCode
#AndroidDev
Day 4/10-R1
Learnt Moshi,during communication with apis, it's used to parse JSON (serialize & deserialize) to Kotlin/Java objects. It's lightweight compared to Gson. Gson parses between JSON and Java objects, so it's Kotlin unfriendly due to the biolerplate.
#100DaysOfGADS
5
Someone please explain, What is the difference between:
val a:ClassA and
val a = ClassA()
in kotlin
#Kotlin
2










