Auto Generate Constructor + Getter/Setter (With Custom Variable Naming) – Android Studio Tutorial
When we create a POJO (Plain Old Java Object) we also have to create constructors and getter and setter methods. Instead of doing this manually, Android Studio/IntelliJ has a handy shortcut to automatically generate this code for us.
If you want to use a custom prefix for your variables names, like the hungarian notation, you can change your settings to not include that prefix into your variable and method names.
____________________
💻 Find the BEST programming tutorials on TutHub:
https://tuthub.io
⭐ Get my MVVM Caching Course now:
https://codinginflow.com/caching
❗ Subscribe to the channel:
https://www.youtube.com/c/codinginflo…
📨 Subscribe to the Coding in Flow newsletter:
https://codinginflow.com/newsletter
❓ Join our free developer community:
https://discord.gg/TSnMvmc
📣 Follow Coding in Flow on other sites:
Facebook: https://www.facebook.com/codinginflow
Instagram: https://www.instagram.com/codinginflow
TikTok: https://www.tiktok.com/@codinginflow
Twitter: https://twitter.com/codinginflow
Github: https://github.com/codinginflow
💰 Business requests, sponsoring, etc.: info@codinginflow.com
Views :25454
android studio