Father and husband; Android Engineer and Quality Advocate; For fun, I enjoy playing video games, guitar, and table top games. I also dabble in hobby game dev and pixel arts.
The factory pattern is a very basic pattern used in many places, including Android development, also with Kotlin. In fact, many types in Android frameworks are instantiated with factory methods, and you may actually have written factory methods or classes already yourself without knowing it.
Father and husband; Android Engineer and Quality Advocate; For fun, I enjoy playing video games, guitar, and table top games. I also dabble in hobby game dev and pixel arts.
Yea I know I have used it in other languages and frameworks. It is referred to in Effective Java as well. The specifics of Android are new to me. I am currently taking the Google course on it with hopes of gaining the certification at the end of the year! Also developing an app on the side using Jetpack Compose concepts with hopes to do a KMP back end and eventual SwiftUI front end for an iOS version. Thanks again for your tips! Shot you a follow to see the other interesting tid bits you post!
Father and husband; Android Engineer and Quality Advocate; For fun, I enjoy playing video games, guitar, and table top games. I also dabble in hobby game dev and pixel arts.
I've never used this before. I think it would be very for e commerce type apps with different kinds of objects. As i'm just learnt this design pattern, maybe i'll run into usecases where i can use it! ;D
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Is this something still useful in Kotlin for your work with Android?
The factory pattern is a very basic pattern used in many places, including Android development, also with Kotlin. In fact, many types in Android frameworks are instantiated with factory methods, and you may actually have written factory methods or classes already yourself without knowing it.
Yea I know I have used it in other languages and frameworks. It is referred to in Effective Java as well. The specifics of Android are new to me. I am currently taking the Google course on it with hopes of gaining the certification at the end of the year! Also developing an app on the side using Jetpack Compose concepts with hopes to do a KMP back end and eventual SwiftUI front end for an iOS version. Thanks again for your tips! Shot you a follow to see the other interesting tid bits you post!
Wow ,that's very very cool. Good luck with the certification exams! What do you think about Compose?
So far I like it much better than using XML and the Views concept of old.
I've never used this before. I think it would be very for e commerce type apps with different kinds of objects. As i'm just learnt this design pattern, maybe i'll run into usecases where i can use it! ;D