Kotlin Data Class Tutorial with Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ต.ค. 2024

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

  • @adityashidlyali7814
    @adityashidlyali7814 3 ปีที่แล้ว +7

    Sir your Kotlin videos made my OOPs much stronger.. thank you sir..❤️

  • @funnyvid7634
    @funnyvid7634 ปีที่แล้ว +1

    Excellent, I am using your videos to supplement my learning from a book

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

    Very useful tutorial! Thank you!

  • @Kepler57
    @Kepler57 2 ปีที่แล้ว +1

    Bravo Bilal! Thumb up!

  • @radbaver
    @radbaver 3 ปีที่แล้ว +4

    Maaan! I just saw the official Video from google “Data Classes - Kotlin Vocabulary “ and was good but I still did not fully get it. I instantly searched “Data Class” in your channel and your video helped me a lot! 💪🏻😃 Would be cool if you can create videos based on Android Dev Channel with the Simplified Coding touch!! Keep up the good work 🙏🏻❤️

  • @vikramsinghnegi1559
    @vikramsinghnegi1559 3 ปีที่แล้ว

    A fruit full thanks to you sir for this beautiful tutorial.
    But I have a question.
    Why kotlin compiler generates componentN methods instead of just using getters?
    If you check out decompiled kotlin bytecode you'll notice that componentN methods and getters are exactly the same.
    Please answer.
    It's my humble request to you sir.

  • @terencejumba1939
    @terencejumba1939 3 ปีที่แล้ว +1

    Nice tutorial I've really learned a lot much appreciated💪🏻😃

  • @AlaaAlbrg
    @AlaaAlbrg 3 ปีที่แล้ว +1

    The component part is not very clear, why you comment the all the print(person.componentX), and what are those useful I didn't get it?

    • @SimplifiedCoding
      @SimplifiedCoding  3 ปีที่แล้ว +1

      for all the variables available in the constructor of your data class, a function named componentN() where n is the number.
      component1() will return first paramemter
      component2() will return second parameter
      .
      .
      componentN() will return Nth parameter.
      Hope you understood now.

  • @islamicinsightbysaifi
    @islamicinsightbysaifi 3 ปีที่แล้ว +3

    Good job

  • @luckysoftwaresolutions8989
    @luckysoftwaresolutions8989 3 ปีที่แล้ว

    How to add vfx effects to our apps like making vedios or photoeditings

  • @shreyashchoudhary7413
    @shreyashchoudhary7413 3 ปีที่แล้ว

    Loved it!

  • @syedhassan1586
    @syedhassan1586 3 ปีที่แล้ว

    Sir please make a video on OOP. We want to clear the concepts.

    • @SimplifiedCoding
      @SimplifiedCoding  3 ปีที่แล้ว

      Kotlin Object Oriented Programming for Beginners
      th-cam.com/play/PLk7v1Z2rk4hjgFKGBxDkb0f09ugBC0xOL.html

  • @luckysoftwaresolutions8989
    @luckysoftwaresolutions8989 3 ปีที่แล้ว

    Sir could you make a vedios about android development from scratch

  • @GD-ix6gd
    @GD-ix6gd 3 ปีที่แล้ว

    Sir please rest api with pagination ka ek tutorial bna dijiye.

    • @SimplifiedCoding
      @SimplifiedCoding  3 ปีที่แล้ว

      Check here: www.simplifiedcoding.net/android-jetpack-paging-3/

    • @GD-ix6gd
      @GD-ix6gd 3 ปีที่แล้ว

      @@SimplifiedCoding sir mera matlab tha ki server side pagination hona chyiye
      1 object me limited data hina chyiye
      Like this
      {
      "page" : "1"
      "Data" : "5"
      "Results" : [ ]

    • @GD-ix6gd
      @GD-ix6gd 3 ปีที่แล้ว

      Mene pura TH-cam dekh liya lekin kahi bhi pagination in rest api ka tutorial nahi he

    • @SimplifiedCoding
      @SimplifiedCoding  3 ปีที่แล้ว +1

      Ok i will make

    • @GD-ix6gd
      @GD-ix6gd 3 ปีที่แล้ว

      @@SimplifiedCoding Look, please do it like this
      { "page": 1,
      "results":
      [
      { "profile_path": "/z3sLuRKP7hQVrvSTsqdLjGSldwG.jpg", "adult": false, "id": 28782, "known_for":
      [
      { "poster_path": "/hE24GYddaxB9MVZl1CaiI86M3kp.jpg", "adult": false, "overview": "A cryptic message from Bond’s past sends him on a trail to uncover a sinister organization. While M battles political forces to keep the secret service alive, Bond peels back the layers of deceit to reveal the terrible truth behind SPECTRE.", "release_date": "2015-10-26", "original_title": "Spectre", "genre_ids": [ 28, 12,
      Ye Tmdb ka api he

  • @kidsstory8675
    @kidsstory8675 2 ปีที่แล้ว

    Hi Vikram betal!!! 😂😂

  • @NurKholiq-o7b
    @NurKholiq-o7b 9 หลายเดือนก่อน

    That's java code not in kotlin

  • @bechirtrifi7372
    @bechirtrifi7372 3 ปีที่แล้ว