PinnedTrevor HackmanKotlin: Coding a Ternary OperatorCan we write our own ternary operator in Kotlin?Jul 5, 20213Jul 5, 20213
Trevor HackmanWill Google convert LiveData to Kotlin?LiveData is an observable data holder class. It’s part of the androidx.lifecycle library in Android Jetpack and was released in 2018…Apr 30, 2023Apr 30, 2023
Trevor HackmanAndroid: What happens when you rotate the device… 180 degrees?It is not the same as 90 degrees.Feb 27, 2023Feb 27, 2023
Trevor HackmanAndroid View Binding Without Boilerplate — Part 2In part 1, I showed you how to use a delegate with a lifecycle observer to reduce your fragment view binding code fromMay 21, 20221May 21, 20221
Trevor HackmanFirst Impression of Jetpack Compose, QoL IssuesDay 1 impression, not so goodJan 15, 2022Jan 15, 2022
Trevor HackmanAndroid View Binding Without Boilerplate — Part 1A better way to do View Binding, part 1.Dec 12, 2021Dec 12, 2021
Trevor HackmanAvoid this bug in KotlinProblem with function-to-functional-interface conversionNov 13, 20211Nov 13, 20211
Trevor HackmanLogging in Kotlin with Companion ObjectRemoving boilerplate with companion object: Tagger()Oct 20, 2021Oct 20, 2021