Really I need some serious navigation to be added to the Weather app. But there is already so much going on there, that it will be easier to learn about it on the Age Calculator. It is just a single screen, but it could be made nicer using fragments, and this will bring the navigation The full story here…
Category: Android
Age Calculator App – Data Binding
This carries on from the previous post of View Binding. So set up gradle in the same way as described there, if you have not already. And then lets get started.
Age Calculator App – View Binding
Doing the Google Kotlin training courses on Udacity – here – they’re free, why wouldn’t you. If you use View Binding, you can link the view to the code at compile time – potentially improving the performance.
Age Calculator – AutoComplete Field
I don’t want to use a calendar selector. You’re always hunting backwards and forwards for the correct month. I decided it would be better to use an AutoComplete text field. The most you ever have to do is click 3 letters, but that is only if you are born in June or July.
Weather App – Backlog
User Stories I know that you can use something Jira and countless other systems to manage your backlog. But this is not a normal project, this is a home project that I pick up in my spare time. There are no sprints or anything like that. All I need is a do list.
Weather App – Kotliny Kotlin
I used IntelliJ to convert to Kotlin. It gave me the class below. While it compiles and works, it does not look like Kotlin. I would like to take the resulting code and use Kotlin’s features to make it look more like Kotlin
Weather App – Convert to Kotlin
Starting immediately, all future code needs to be in Kotlin. There is a tag in git, so I know where to go back to if it fails. My student colleague assures me it is simple to convert a Java class to Kotlin. Tomorrow’s job. Thanks to my colleague, recently a student, who inspires me with The full story here…
Weather App – API
In the week my weather app stopped working. Looked like it was getting no data. Tried connecting via wifi, on mobile data, checked we actually had internet – but nothing. Turns out their API has a new home. Thanks for nothing Apple.