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…
Tag: 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.