Building a Crypto Tracker with Kotlin in Android (Part 1)

in #utopian-io8 years ago (edited)

What Will I Learn?

  • You will learn how to setup a Kotlin Android app for ReactiveX and Dagger
  • You will learn how to implement the Parcelize feature in Kotlin
  • You will learn how to use extension functions to cut back boilerplate in an Android Kotlin application.

Requirements

  • Android Studio 3.0 or Android Studio Canary
  • A basic understanding of the Android ecosystem
  • A fair understanding of Kotlin or the Java programming language

Difficulty

  • Intermediate

Description

In this first video tutorial, we setup our android application through various means. We build out our main data model and add the Kotlin Parcelize feature to it so that we can Marshall and Unmarshall the data back and forth from JSON to a POJO. The main advantage of Parcelize over other methods of serialization being the performance and the lack of boilerplate. We then go about adding Extension functions to our application to allow us to reduce boilerplate and handle various things that will become important in the later parts of our application. This includes extending ReactiveX, RxJava and RxAndroid and making it easier for us to deal with Disposables and Disposable Subscribers. We also add a few small Flowable extension functions. Finally, we implement our network functionality so that we can easily read the API. We also add functionality to make it so that the application does not as much consume bandwidth when the user's phone is not on Wifi.

The source code for this project can be found here

Video Tutorial

Related Content

  • Android Applications in Kotlin
  • Desktop Applications in Kotlin
  • Intro to Kotlin Series



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thank you for your hard work.

can you chat me on Discord via utopian channel ?

Thank you very much for sharing this information! Very intriguing! I appreciate it very much! All the best! Positive Energy! Great Karma! Your Friend @extraterrestrial :)

I am glad you enjoyed it.

Hey @tensor I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

you always have great content

Coin Marketplace

STEEM 0.04
TRX 0.33
JST 0.099
BTC 64125.80
ETH 1796.79
USDT 1.00
SBD 0.38