Android Jetpack: Sweetening Kotlin development with Android KTX (Google I/O '18)

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 42

  • @andreikushner3406
    @andreikushner3406 6 лет назад +26

    Why is it when Jake explains something it always seems so easy and understandable.

    • @h4m74ro
      @h4m74ro 6 лет назад

      Andrei Kushner yeah, Jake has a talent for that it seems.

  • @betterclever
    @betterclever 6 лет назад +45

    I see Jake, I hit Like.

  • @uragannn
    @uragannn 6 лет назад +70

    Our lord and savior!

  • @OussamaHAFFERSSAS
    @OussamaHAFFERSSAS 6 лет назад +18

    As always, Jake you rock !

  • @aweklin
    @aweklin 4 года назад

    This presentation made me feel more confident in the future of Android with Kotlin.
    Paying more attention to all future Google I/O events.
    Thanks #Jetbrains

  • @stevengao8345
    @stevengao8345 6 лет назад +6

    new to android development, would you tell me which should I go learn Kotlin with android studio plus ktx, or should I go flutter with dart, google is confusing new comers like me, I felt it is a dilemma for me to even start learning it.

    • @pixelPlex
      @pixelPlex 6 лет назад +5

      Steven - If you are only going to develop Android apps then using Kotlin (via Kotlin JVM - kotlinlang.org/docs/reference/android-overview.html ) with Android Studio and the KTX library would be the way to go (Option 1). On the other hand if you are going to develop both Android and iOS apps then it would make sense to use Kotlin Native (for iOS development - kotlinlang.org/docs/reference/native-overview.html ), and Kotlin JVM (for Android development) along with the Kotlin multi-platform system ( kotlinlang.org/docs/reference/multiplatform.html ) to share common code like business logic (Option 2).
      With Option 2 Android development is done in the same way as Option 1. There is a real life Kotlin multi-platform project (Kotlin Conf) you can look at here: github.com/JetBrains/kotlinconf-app
      Do note that the Kotlin Conf project also covers the server-side and the web (as a web front end).

  • @tylerjamesfrench7341
    @tylerjamesfrench7341 2 года назад

    Good watching.

  • @SuperCorleone17
    @SuperCorleone17 6 лет назад

    When should we create extensions? are they worth the effort to use them only once or should they be used more times to worth it?
    Also
    Is it there a hard rule to use inline or not? I´ve read you should use it on small functions, but how can we define "small", until 4 or 5 lines of code?

  • @sebastiancipolat
    @sebastiancipolat 6 лет назад +5

    our lord Jake!

  • @BenyusBoros
    @BenyusBoros 6 лет назад

    Thank you Daddy!
    You are always on point.

  • @kemel-7000
    @kemel-7000 2 месяца назад

    Can you please say, how to highlight code, like Jake did here?

  • @tieskedh
    @tieskedh 6 лет назад

    onApi can return a class which has the functions orApi() and orNull() another possibility would be to return null or the returnvalue of the language and the last option would be to return Unit?
    This would however only feel good to me if the body of the method would be an specific context like ApiContext to which multiple functions are attached that can only be called from that specific body. In that case you would really use the type-safe builders, but I think this approach doesn't entirely match the other extension-functions.

  • @witoldsienski1709
    @witoldsienski1709 6 лет назад

    Next point for Kotlin :)

  • @eric-ampire
    @eric-ampire 5 лет назад

    Very nice

  • @mohsenteymouri5426
    @mohsenteymouri5426 3 года назад

    Thanks jake

  • @Spasms7
    @Spasms7 6 лет назад +1

    The supreme leader

  • @gyorgyszabo208
    @gyorgyszabo208 6 лет назад +4

    How does this look in Kotlin?
    public JakeWharton getLegend();

  • @MusobarMedia
    @MusobarMedia 6 лет назад

    thanks Jake

  • @VincentFischer
    @VincentFischer 6 лет назад +3

    Who has androidstudio not on dracula???

    • @VincentFischer
      @VincentFischer 6 лет назад

      Thawindu Angesh Tuto I'm so used to auto completion, I rarely read the second or even third letter.

    • @codinginflow
      @codinginflow 6 лет назад

      Dark Themes are actually worse for your eyes.

    • @VincentFischer
      @VincentFischer 6 лет назад +1

      Not If you like me are in your mums basement without ambient lighting. When I'm outside the house under direct sunlight I'd agree (especially on my Macbook Retina glare) but it's to rare to really matter for me

    • @codinginflow
      @codinginflow 6 лет назад

      Fair enough but isn't most of the internet light anyways? RUclips has a dark theme, but apart from that almost everything is just bright.

    • @nadeemshaikh7863
      @nadeemshaikh7863 5 лет назад

      @@codinginflow How are they worse?

  • @anupammanori455
    @anupammanori455 6 лет назад

    It's actually Flutter.

  • @minimalistapps8299
    @minimalistapps8299 5 лет назад

    Where can I get these slides?

  • @juanesdev
    @juanesdev 6 лет назад

    Waoooooooooo!!!! 😱😱😱😱

  • @DotaAvailable
    @DotaAvailable 6 лет назад +3

    it was java then , why java ? and then people moved to kotlin , then why kotlin , lets go for flutter , then why i/o released new updates to Android kotlin , since the flutter will be taken place next years , can anyone tell me why should i learn jetpack, people are going to move to web development since there is no stability in coding platform.

    • @trocchiettoski
      @trocchiettoski 6 лет назад +1

      flutter is not to take over. native react is much stronger. The real reason why ktx is so important is because wants to become the new hybrid thing in future

  • @nicolassanta6324
    @nicolassanta6324 6 лет назад

    Wow

  • @misdi_official
    @misdi_official 6 лет назад

    great

  • @allat0nce
    @allat0nce 6 лет назад +7

    Hi /r/mAndroidDev

  • @nitingupta7739
    @nitingupta7739 2 месяца назад

    Oh what

  • @RS-kt6is
    @RS-kt6is 6 лет назад

    We won't port our code to Kotlin yet, but YOU should. LOL

  • @АнтонИцкович-х7у
    @АнтонИцкович-х7у 6 лет назад +1

    flutter Is coming,why I need to know all that ?

    • @RhexGomez
      @RhexGomez 6 лет назад +1

      Flutter looks promising yet it is a Bleeding edge technology. And unlike with Java/Kotlin we have many stable frameworks like Picasso, Okhttp, Dagger, Retrofit etc. I understand that we can create our own library but that's a lot of work TBH. :)

    • @АнтонИцкович-х7у
      @АнтонИцкович-х7у 6 лет назад

      No future with Dart?

  • @Yazon2006
    @Yazon2006 6 лет назад +2

    Unfortunatelly I fell asleep at the middle of presentation. So boring (