ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Expect/Actual in Kotlin Multiplatform - KMP for Beginners

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 มิ.ย. 2024
  • In this video I'll show you how Expect/Actual in Kotlin Multiplatform works!
    👉 Check out my course Building Industry-Level Multiplatform Apps With KMP here: pl-coding.com/kmp?...
    💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
    pl-coding.com/drop-table-ment...
    ⭐ Courses with real-life practices
    ⭐ Save countless hours of time
    ⭐ 100% money back guarantee for 30 days
    ⭐ Become a professional Android developer now:
    pl-coding.com/premium-courses...
    Get my FREE PDF about 20 things you should never do in Jetpack Compose:
    pl-coding.com/jetpack-compose...
    Regular programming advice on my Instagram page: / _philipplackner_
    Join my Discord server:
    / discord
    Get the source code for this video on GitHub:
    github.com/philipplackner/Exp...

ความคิดเห็น • 43

  • @purplehazer417
    @purplehazer417 หลายเดือนก่อน +9

    Phillip, once I start learning a topic about development - you start making videos about it. It is unbelievable 😅

    • @markdelphi8075
      @markdelphi8075 หลายเดือนก่อน +1

      in discrete mathematic it's called a great matching (graph theory)

  • @MixwellSidechains
    @MixwellSidechains หลายเดือนก่อน +2

    Hi Phillip! I'm following this series closely, thanks for it. I'd like to contribute that to have the Desktop app run by clicking the run button you could:
    * Open the Run Configuration settings
    * Add a Shell configuration name it DesktopApp if you want
    * On the window set it to run the script from "text" not "From File"
    * Add those parameters "./gradlew run" and ensure that the absolute path of the configuration is the project folder
    * Save and run it as normal in the drop-down list.
    Hope it helps others. Maybe you can review that with others in the next video. I know you'll get what I mean. Thanks again for the videos. Can't wait for more.

  • @4rju9YT
    @4rju9YT หลายเดือนก่อน +2

    Finished the MVVM Shopping list playlist yesterday and this one today. I learned a lot about MVVM design and clean architectures, but I still feel like I don't fully understand the concepts. I think with more practice, I'll get there.
    You're a great mentor, man. I've been following your channel for a while and have watched some of your playlists, like Android Basics and other individual videos. But from yesterday, I'm going to start watching all your playlists in order.
    In your early videos, you used to ask if there was anything you could improve upon or if we didn't understand something. You were always looking for ways to improve. And now you've become a great mentor and TH-camr. You're an inspiration, and I have a lot of respect for you, big brother. ❤

  • @zakariabouchantouf5141
    @zakariabouchantouf5141 หลายเดือนก่อน +2

    My day is missing you 😂❤

  • @tch.777
    @tch.777 หลายเดือนก่อน

    Amazing like always!!! Ty ❤

  • @riezkymaisyar4038
    @riezkymaisyar4038 29 วันที่ผ่านมา

    love it as alwayss, thanks phillip

  • @kinggeorges625
    @kinggeorges625 หลายเดือนก่อน

    Thanks for the video. We are waiting impatiently a full tutorial for a real world App with API requests

  • @paisita92hd42
    @paisita92hd42 15 วันที่ผ่านมา

    Amazing tutorial, thanks Philipp

  • @DaleHawkins
    @DaleHawkins หลายเดือนก่อน

    Great video. I like where this series is heading!

  • @fsfaysalcse
    @fsfaysalcse หลายเดือนก่อน +1

    Thanks a lot, This is my time to say shut up to my flatter Developer friend. Could please make a video of each platform trigger notification

  • @TiagoDvl
    @TiagoDvl หลายเดือนก่อน +2

    Bruh the 20:34 mark made me cackle a lil bit but wonderful work 🤣Im kind of starting to feel the urge to start mown project

  • @sikka09
    @sikka09 หลายเดือนก่อน

    Nice explained

  • @moldovanpeter5123
    @moldovanpeter5123 หลายเดือนก่อน

    For simple stuff like engines, clients etc I use expect/actual but for a concrete implementation (storage access etc) I use delegations

  • @PascarlHome
    @PascarlHome หลายเดือนก่อน +1

    Can't wait for a full clean architecture kmp tutorial.Great work 👍

    • @mic9969
      @mic9969 หลายเดือนก่อน

      yeah also waiting clean arch + mvvm + api some app

  • @ntikomathaba2662
    @ntikomathaba2662 หลายเดือนก่อน

    Your timing is impeccable!!! Thank you my GOAT 🐐
    Can we do networking next?

    • @PhilippLackner
      @PhilippLackner  หลายเดือนก่อน +1

      I have a video on ktor already, I don't think there's any difference in the implementation for KMP :)

  • @Hayabusa17
    @Hayabusa17 หลายเดือนก่อน +1

    Привет из Казахстана. Большое спасибо за видео❤, можете снять про архитектуру приложений на kmp?

  • @anudeepananth
    @anudeepananth หลายเดือนก่อน

    Can we use native kotlin and swift native firebase libraries using expect and actual to perform user authentication since firebase has no official support for KMM yet

  • @ayushrai3266
    @ayushrai3266 หลายเดือนก่อน +2

    Can we Use Room database for Ios App in Kmp projects ?

  • @muhurthreddy2944
    @muhurthreddy2944 หลายเดือนก่อน

    could u make another video on google sign in cuz a lot of things have changed plzzz

  • @vertique
    @vertique หลายเดือนก่อน

    Are you going to post videos about SwiftUI?

  • @user-fp2gh7dx7y
    @user-fp2gh7dx7y 8 วันที่ผ่านมา

    we want compose google maps with expect/actual and cocoapods setup pls!!!

  • @brianquigley1940
    @brianquigley1940 หลายเดือนก่อน

    👍

  • @peter4vn
    @peter4vn หลายเดือนก่อน +1

    0:00 pause

  • @mariamuitomole
    @mariamuitomole หลายเดือนก่อน

    Philipp, on these paid courses you have, like the KMP course on the description, do you keep it up to date with the latest changes on the APIs? Like, on the course description it says you use SQLDelight for local database, but know that Room is coming for KMP, will you update the course to include room as an alternative? Same to Compose Multiplatform. On the FAQ it says it isn't on a "good stage yet", but maybe this answer was written a while ago, and now Compose Multiplatform seem to be in a good stage to be included. Will you include it on the course?

    • @PhilippLackner
      @PhilippLackner  หลายเดือนก่อน

      The courses are kept up-to-date with breaking changes. Updating single technologies is close to impossible to do well structured without re-recording the entire course since most lessons will depend on these technologies. Just because Room is out doesn't mean that there's no place for SQLDelight, both are viable libraries, so that's something I wouldn't update.
      Also, just because CMP is out doesn't mean every KMP app has to use it. There's still value in native UI since it will look and feel native. You don't get that with CMP. Once it becomes more stable, I'll make a separate course about it.

  • @soumyajeetnayak3011
    @soumyajeetnayak3011 หลายเดือนก่อน

    i am getting error as Unresolved reference: platform , in iosMain and nativeMain, what to do, i checkedout the code from your github

  • @wog4299
    @wog4299 หลายเดือนก่อน

    When will the series complete ?how much videos are you going to make ?

  • @CSAbhiOnline
    @CSAbhiOnline หลายเดือนก่อน

    All I understand is it's similar to an interface

  • @ZeeshanSyed-pq3gq
    @ZeeshanSyed-pq3gq หลายเดือนก่อน

    Why does your face cam video look like 420p 😂

  • @j2shoes288
    @j2shoes288 หลายเดือนก่อน

    Son, why did you go back to KMP after a long time? It's still so immature/weak/flaky

    • @PhilippLackner
      @PhilippLackner  หลายเดือนก่อน

      It's a great technology

    • @j2shoes288
      @j2shoes288 หลายเดือนก่อน

      @@PhilippLackner you're funny! "great technology", sorry, I don't understand German. Let me Microsoft translate that? Oh, you mean "it's shit"! Crazy build times ( 8.5 mins for a Hello World app on an M3 for ios+android only! ), no logging, partially supported Compose, half the libraries don't work.

    • @_plaha_
      @_plaha_ 25 วันที่ผ่านมา

      @@j2shoes288 dude, you drank, go sleep

  • @user-kw9cu
    @user-kw9cu 4 วันที่ผ่านมา

    It didn't work for my laptop correctly and it was always showing 100% so I had to calculate it manually.
    val scale = batteryLevel.currentCapacity.toFloat() / batteryLevel.maxCapacity.toFloat()
    val value = (scale * 100.0).roundToInt()