官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 白城市| 襄樊市| 永新县| 英山县| 社旗县| 蒙城县| 开原市| 津南区| 昌都县| 泰安市| 察哈| 汝州市| 高雄县| 忻城县| 阜城县| 郯城县| 宁强县| 浑源县| 庄河市| 常德市| 房产| 鹤壁市| 奉新县| 达州市| 墨江| 雷山县| 南开区| 青龙| 米林县| 富民县| 博爱县| 鄂伦春自治旗| 儋州市| 沈丘县| 浦北县| 福贡县| 县级市| 阳信县| 佛学| 宜良县| 区。|