How to write clean Kotlin and Android code!
What you'll learn
- How to write clean Android code
- How to create a clean coding mindset
- Awesome Kotlin features
- How to clean up an existing project
- Hidden Android Studio shortcuts
Requirements
- Basic Android and Kotlin experience
Description
Have you ever gone back to your code and understood nothing because it was too messy and unorganized? Have you spent tons of time trying to figure out what in the world have you written in that app?
This has happened to me many times as well and I know how frustrating this is, but we are here to actually fix it and prevent it from happening again!
Class objective
This course is about writing clean Kotlin Android code which will save you a lot of time. You will be able to write much better and consistent code, so you will never end up wasting so much time trying to understand your projects.
We will work together on your programming mindset. We are going to create a way of thinking so when you write code you also refactor it afterwards, because cleaning your code after you finish a feature is as important as having the ability to write it in the first place.
This course also features many tips and tricks on how to write clean and readable Kotlin code.
Who this course is for:
- BeginnerAndroid Developers
- Intermediate Android Developers
- Expert Android Developers
Course content
- Preview05:06
- Preview03:04
- 01:43Install Android Studio
- 01:29Getting to know the starting project
- 04:33Importing project and running the app
- 08:07Looking at the code and deciding what is wrong
- 06:48Shorten methods by splitting them
- Preview12:04
- 05:30Keep your logic simple with real example
- 02:59Keep your logic simple Summary
- 07:49Use Enum for static content
- 03:25Enums for static content Summary
- 09:50Start cleaning your code more often
- 02:29Clean your code Summary
- 09:49Collection operators: Map and filter
- 02:25Map and filter operators Summary
- 11:46Collection operators: Sort and find
- 02:41Sort and find Summary
- 09:23When to check for null and Fail Fast strategy
- 03:40When to check for null Summary
- 17:56Split application's responsibilities
- 02:34Split application's responsibilities Summary
- 07:00Structure your packages by using structuring strategies
- 05:40Structuring packages by feature
- 19:32Start using coding styles for Java and Android
- 03:45Wrap up
Instructor
Hello, I'm Catalin and I'm a Software Engineer at AirTouch New Media, main editor at CodingTroops and tech enthusiast on everything that is about code and programming.
I’ve been developing Android apps all my life now and I believe that this is a great time and moment for me to share all the tips and tricks that I've learned while coding on huge applications with millions of downloads and reviews.
My main projects vary from open source contributions to the Android library ecosystem, Augmented Reality Apps built on ARCore SDK to smart AI applications that make use of the most advanced NLP engines out there. If you'd like to check them out, make sure to visit my Github profile page.