- Kotlin Blueprints
- Ashish Belagali Hardik Trivedi Akshay Chordiya
- 270字
- 2021-07-02 21:50:21
Social Media Aggregator Android App
We have seen the power of Kotlin for Spring Boot. However, building a mobile application is different. It's much more compact compared to browser apps, they have to be delivered fast. It has to be 10 times faster in terms of processing user input.
Kotlin's features along with its compiler's support for the Android app development makes developing Android apps much easier, interesting, and productive. The biggest advantage of using Kotlin is its Null Safety feature. NullPointerException is the foe for any Android apps and is a nightmare for developers. Kotlin simply kills the possibility of NullPointerException. It also has a robust API also. Apart from Null Safety Kotlin has features such as extension function, Lambdas, delegated properties, and functions such as let, apply, with, and when. All this makes Android app development so much fun. The Kotlin team have built an Anko library, which is also loaded with lots of features. Anko is one more reason to love Kotlin.
Kotlin is a great language and the best way to learn any language is by gaining practical knowledge. In this chapter, you will learn to create a social media aggregator app along with Kotlin's features. You will learn to apply Kotlin in the Android way.
In this chapter, you will learn:
- How to start an activity
- Dealing with preferences
- Model classes
- RecyclerView, adapters, and click events
- String interpolation
- Functions such as let, apply, with, when, and so on
We will be referencing classes and files we have created for the companion app. Make sure while reading you have the source code handy.
- 深度實踐OpenStack:基于Python的OpenStack組件開發(fā)
- Spring技術(shù)內(nèi)幕:深入解析Spring架構(gòu)與設(shè)計
- Java應(yīng)用開發(fā)與實踐
- jQuery EasyUI網(wǎng)站開發(fā)實戰(zhàn)
- 基于Java技術(shù)的Web應(yīng)用開發(fā)
- R語言游戲數(shù)據(jù)分析與挖掘
- 深入淺出Serverless:技術(shù)原理與應(yīng)用實踐
- SQL Server數(shù)據(jù)庫管理與開發(fā)兵書
- Service Mesh實戰(zhàn):基于Linkerd和Kubernetes的微服務(wù)實踐
- Kubernetes進階實戰(zhàn)
- Java程序設(shè)計基礎(chǔ)(第6版)
- 會當(dāng)凌絕頂:Java開發(fā)修行實錄
- 深入淺出 HTTPS:從原理到實戰(zhàn)
- Java EE項目應(yīng)用開發(fā)
- HTML5程序設(shè)計基礎(chǔ)教程