Android

Hello There

Hello There! Hello There. I needed a playground Hello There, specifically for getting HelloThere’d with Kotlin. I decided that there is nothing more Hello There than Hello There. Which seems kinda HelloThere. But after some research, I found that HelloThere is sufficiently General Kenobi for my purposes. I also HelloThered Read more…

By Jacques Smuts, ago
Android

Udacity’s Material Design Course Submission

Here is my course submission: https://github.com/JacquesSmuts/MaterialForUdacity I learnt a few unexpected things during this submission: Use the Material Design Color Palette. Use the correct version of “colorPrimary” for your theme. Spot the difference in the two items below. <style name="Theme.Bacon" parent="@style/Theme.AppCompat.Light"> <item name="colorPrimary">@color/theme_primary</item> </style> <style name="Theme.Bacon" parent="@style/Theme.Material.Light"> <item name="android:colorPrimary">@color/theme_primary</item> </style> Read more…

By Jacques Smuts, ago
Android

Udacity Advanced Lessons 3: Espresso Testing, Publishing

Espresso Espresso seems nice. This is the first Android course I’ve seen that makes it a point to include app testing in the course. Usually it’s quite neglected. They also provide this awesome cheatsheet: https://google.github.io/android-testing-support-library/docs/espresso/cheatsheet/ to be used with this project https://github.com/udacity/AdvancedAndroid_TeaTime Honestly, there wasn’t a lot for me to Read more…

By Jacques Smuts, ago
Android

Udacity Android 5: Background Tasks

Background Tasks And here we get to the server-client-database relationship, and how to handle these things. It seems quite obvious, but it’s amazing to me how many apps (including almost all of the ones I’ve worked on), tie all of the API calls closely to the Activity lifecycle. It should really be Read more…

By Jacques Smuts, ago
Udacity

Udacity Android 3: Lifecycles, Preferences

LifeCycles This section is mostly about AsyncTask and SavedInstancedState. Things most devs would encounter naturally. However, I did learn about the AsyncTaskLoader. This is particularly useful for things like network calls, if the user rotates the device or switches to a different app while an AsyncTask is running, the Loader makes sure Read more…

By Jacques Smuts, ago