Coder Social home page Coder Social logo

kotlin_intro's Introduction

Kotlin_Intro

First Kotlin project!!!

Note: I am now adding DI & Rx. I wanted to learn the core fundementals before I jumped into the helpers.

Opinion about Kotlin

To start, Kotlin is amazing and can see why people are switching over. I do wish I jumped into the language sooner but was intimidated and learning MVVM and Architectural Components (which I love). It is an easy language to dive into if the programmer has a solid OO experience. At this moment, I would suggest new developers to master Java before moving to Kotlin because it is easier to comprehend and write without any Android experience(which may change the more I use Kotlin). I am happy to say that I am going to be using Kotlin from here on out.

Goal

  • Get a solid understanding of Kotlin (note: so far it is amazing and I wish I converted earlier)
  • Using Kotlin and MVVM archecture to build a News application retreiving RSS feeds from news sites.
  • Unit Test in Kotlin

Kotlin Stages:

  • Retrofit, Http3, and custom LiveLib (Will be converting this to Kotlin as well) for Network connections..
    • Unit Test with Kotlin
  • Room database
    • Unit Test with Kotlin
  • UI and Data Handling (data binding with Arch Components)
    • ViewModels, Fragmentation, RecyclerAdapters...
  • Dependency Injection (Dagger)
  • RxJava

Libraries

ext.gradle_version = '3.0.1'
ext.kotlin_version = '1.2.21'
ext.support_version = '27.0.2'
ext.arch_version = '1.1.0'
ext.room_version = '1.1.0-alpha1'
ext.retro_version = '2.3.0'
ext.http3_version = '3.9.0'
ext.glide_version = '4.5.0'

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version"
    // android/support
    implementation "com.android.support:appcompat-v7:$support_version"
    implementation "com.android.support:design:$support_version"
    implementation "com.android.support:recyclerview-v7:$support_version"
    implementation "com.android.support:cardview-v7:$support_version"
    implementation "com.android.support:customtabs:$support_version"
    implementation "com.android.support:support-vector-drawable:$support_version"
    // Kotlin
    kapt "com.android.databinding:compiler:$gradle_version"
    // Arch ViewModel, LiveData and Room
    implementation "android.arch.lifecycle:extensions:$arch_version"
    kapt "android.arch.lifecycle:compiler:$arch_version"
    implementation "android.arch.persistence.room:runtime:$room_version"
    kapt "android.arch.persistence.room:compiler:$room_version"
    // Retro
    implementation "com.squareup.retrofit2:retrofit:$retro_version"
    implementation "com.squareup.retrofit2:converter-gson:$retro_version"
    implementation "com.squareup.okhttp3:logging-interceptor:$http3_version"
    // Glide
    implementation "com.github.bumptech.glide:glide:$glide_version"
    kapt "com.github.bumptech.glide:compiler:$glide_version"
    // Live Lib
    implementation project(':livelib')
}

kotlin_intro's People

Contributors

eugenehoran avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.