• Stars
    star
    2,660
  • Rank 16,427 (Top 0.4 %)
  • Language
    Kotlin
  • License
    Apache License 2.0
  • Created almost 9 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Companion App for the book

Kotlin for Android Developers (the book)

This is the code you can use to follow the book.

https://antonioleiva.com/kotlin-android-developers-book/

Are you tired of using an ancient, inexpressive and unsafe language to develop your Android apps? Do you cry out loud every time you see a Null Pointer Exception in your bug tracker? Then Kotlin is your solution! A language specifically created for Java developers, easy to learn, expressive, null safe and really intuitive. Your productivity will boost and your apps will become more robust. Learn Kotlin the easy way by example and discover the tricks that will make coding easier.

And now, it's officially supported by Google!

Kotlin for Android Developers cover

About the book

In this book, I'll be creating an Android app from ground using Kotlin as the main language. The idea is to learn the language by example, instead of following a typical structure. I'll be stopping to explain the most interesting concepts and ideas about Kotlin, comparing it with Java 7. This way, you can see what the differences are and which parts of the language will help you speed up your work.

This book is not meant to be a language reference, but a tool for Android developers to learn Kotlin and be able to continue with their own projects by themselves. I'll be solving many of the typical problems we have to face in our daily lives by making use of the language expressiveness and some other really interesting tools and libraries.

The book is very practical, so it is recommended to follow the examples and the code in front of a computer and try everything it's suggested. You could, however, take a first read to get a broad idea and then dive into practice.

Versions

As I update the book, I need to push -f this repository with the new changes, so that it matches with the new text.

That means that if you are reading an old version of the book, main branches won't be aligned with your text.

To make things easier, I'll keep track of those versions in separates branches, which will be linked from here:

License

Copyright 2019 Antonio Leiva

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

More Repositories

1

androidmvp

MVP Android Example
Java
5,943
star
2

Bandhook-Kotlin

A showcase music app for Android entirely written using Kotlin language
Kotlin
1,858
star
3

MaterialEverywhere

Showcase of the new AppCompat 21, which includes new Material Theme, working in pre-21 devices.
Java
1,292
star
4

MaterializeYourApp

Example of a Material App for Android
Java
1,268
star
5

RecyclerViewExtensions

A library focused on making the use of RecyclerView for Android easier
Java
443
star
6

clean-architecture

Clean architecture sample
Kotlin
383
star
7

DaggerExample

Android project using Dagger library
Java
323
star
8

androidmvvm

Android MVVM sample
Kotlin
146
star
9

architect-coders

Companion app for Architect Coders training
Kotlin
83
star
10

LimeApp

Open source Application based on the tutorials written in http://www.limecreativelabs.com. The best way to quickly test tutorial result.
Java
81
star
11

diffutil-recyclerview-kotlin

An example on how to implement DiffUtil for RecyclerViews in Kotlin, and what to do to make code simpler.
Kotlin
79
star
12

coroutines-sample

Companion sample for coroutines 1.3
Kotlin
68
star
13

kotlin-online-course

Companion App for the online course "Kotlin for Android Developers"
Kotlin
66
star
14

BrandedLaunchScreen

An example on how to implement a Branded Launch Screen in Android
Java
64
star
15

flow-workshop

Sample App for Flow Workshop
Kotlin
40
star
16

compose-expert-free

App de ejemplo para el contenido gratuito de Compose Expert
Kotlin
37
star
17

kontacts

A simple contacts Android App written in Kotlin
Kotlin
25
star
18

KataContactsKotlin

A Kata written in Kotlin based on the work of Karumi Team
Kotlin
21
star
19

Voice-Search-Example

An quick example on how to integrate our App with Google Now by using Voice Search
Java
18
star
20

compose-expert-premium

Premium samples for Compose Expert Training
Kotlin
17
star
21

kotlin-android-training

Code used in my free training http://antonioleiva.com/kotlin-training
Kotlin
17
star
22

NavigationDrawerCompat

Java
16
star
23

architect-coders-lite

App de ejemplo para Architect Coders Lite
Kotlin
16
star
24

tutorials

Code for tutorials on http://www.limecreativelabs.com
Java
15
star
25

ActionBarCompatExample

An example of new ActionBarCompat included in Support Library r18
15
star
26

databinding

Data Binding sample explained in this video https://www.youtube.com/watch?v=xZFGUb-9hRk
Kotlin
14
star
27

compose-navigation-sample

Sample for a talk about Jetpack Compose Navigation
Kotlin
11
star
28

compose-training

Companion App for Jetpack Compose live training
Kotlin
11
star
29

viewbinding-sample

Sample using the new ViewBinding feature in Android Studio 3.6
Kotlin
9
star
30

MovieTrailersTv

Sample Android TV App
Kotlin
8
star
31

compose-desktop-sample

Sample code to show how to create a first desktop App using Kotlin and Compose
Kotlin
8
star
32

mvi-sample

Sample App to support my articles and videos related to MVI pattern
Kotlin
7
star
33

android-boost-training

Companion App for the course Android Boost Training
Kotlin
6
star
34

functional-views-android

Port to Kotlin of the example created by 47deg
Kotlin
6
star
35

migration-compose-workshop

App de Notas con una arquitectura simple y migraciΓ³n a Compose
Kotlin
6
star
36

android-kotlin-gradle-script

Android Project using Kotlin Gradle Script
Kotlin
6
star
37

devexperto-challenge

Ruby
5
star
38

antoniolg

My public profile
4
star
39

veggie-foodies

Open source App using Kotlin Multiplatform and Jetpack Compose
Kotlin
4
star
40

QrReader

A simple QR reader. Created to implement a number of techniques based on clean architecture, MVP for views and some advanced features from Gradle.
3
star
41

TicTacToe

TicTacToe Game written in Compose using Copilot to assist with the code
Kotlin
2
star
42

flow-sample

Flow sample for my free video-course on my Spanish YouTube Channel: https://devexperto.com/youtube
Kotlin
2
star
43

kotlin-java-developers

Sample app for my training
Kotlin
1
star
44

codemotion-compose-workshop-2022

Kotlin
1
star