Conclusion

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

Kotlin data classes provide a clean, elegant way to store data, allowing easy access, comparison, copying, and manipulation. And they provide all this functionality in a performant package. You won’t need to worry about these classes introducing overhead into your app, for the most part.

Whether you’re writing your app from scratch or looking to expand it with additional data functionality, you’ll want to use the data keyword and its functionality. Doing so will provide you with cleaner, more maintainable code.

See forum comments
Download course materials from Github
Previous: Demo Next: Quiz: Create Data Classes