Android Kotlin Tutorial: Link RecyclerView with Custom RecyclerView.Adapter #3.5

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

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

  • @kaitaviolin
    @kaitaviolin 4 года назад +1

    Thank you so much sir, your style of teaching is easy to understand, i was using guesswork before but now everything makes sense

  • @shahrullohonlutfillohonov4885
    @shahrullohonlutfillohonov4885 5 лет назад +5

    Hello. I'm doing all the things as you show, but when t comes to video, in HobbiesAcitivity, after both recyclerViews "layoutManager" and "adapter" is showing "unresolved reference". what should I do?

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

      same is happening with me also! did you solve this issue? if so, how did you do it?

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

    This is great! Exactly what I was looking for. Big thanks! :)

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

      hi,
      I am a beginner, I want to study kotlin.. can i get ur contact number? we can sharing knowledge via whatsapp ... I'm looking for study friends
      thx

  • @aniketgupta6330
    @aniketgupta6330 4 года назад +2

    hello sir, I am following all this but when this video comes ,in HobbiesActivity.kt , after both recyclerViews "layoutManager" and "adapter" is showing unresolved reference .
    Now what should I do? Please reply this

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

      Hello, did you find any solution for this problem, if yes please help me out

  • @top-futbol-tv
    @top-futbol-tv 6 лет назад +1

    you can make a tutorial Highlight selected item

  • @guduguminchu
    @guduguminchu 4 года назад +1

    How to pass Hobby value to another activity?

  • @rahulh6711
    @rahulh6711 4 года назад +1

    Was it really necessary to use init block?

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

    Everything is okay but you did not show item(hobby) in grid layout.
    I'm unable to do it.
    Please Help

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

      See the complete code link in the description

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

    I have been searching for a long time and no luck. please help.
    i want to delete a record from my sqlite database when to user touches a specific view in the recyclerview.
    how can i build the onclicklistener for the recyclerview that deletes a record from my sqlite database????????

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

    what is the purpose of defining the property of position? it is never used in the code. Is it possible to remove the property of position? thanks!!

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

    Sir i am getting first item only from list what to do

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

    Couldn't see any list. it's just showing blank

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

    All i am doing is googling right now just to understand how this code is actually working.. what you are doing is reading your code and not explaining anything at all

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

      Yes I know. For that purpose I have created a separate Playlist of android development with java. There you will find detail explanation of RecyclerView. Plz check those videos. Also we have android material design Playlist,where you can. Find more. Videos of RecyclerView and cardview

    • @nabeeltech7885
      @nabeeltech7885 5 лет назад +1

      actually i come from android java background at first i didnt understand anything i was also furious at some place but as i knew java i picked his concept and coded along his video i pretty much undertood everything i watched this series to understand his kotlin retrofit hahahah sometimes for small thing you go various ways :D

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

    I am working with the androidx library vs the version 7. Can you show how to create the recycler view with androidx? The layoutManager does not work correctly after upgrading.

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

      Use RecyclerView.VERTICAL

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

      @@smartherd "adapter" is showing unresolved reference .
      Now what should I do? Please reply this....?

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

    Caused by: java.lang.IllegalStateException: recycleView must not be null
    at .EventsActivity.onCreate(EventsActivity.kt:38)

  • @arkytiao
    @arkytiao 4 года назад +1

    For those who get crash with Error: cannot find path “android.support.v7.widget.CardView” on new version of library androidx use:
    tag when setting up the list_item.xml

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

      Thank you so much, spent way too much time trying to 'debug' this app.

  • @АйнускаБактыбекова-и3о

    What is the hobbies

  • @সময়েরপথিক
    @সময়েরপথিক 4 года назад

    Hello, sir txvTitle can not access it's showing some error ): unresolved reference "txvTitle"

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

      put itemView. before txt

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

      @@ahsanrazasumayari8503 "adapter" is showing unresolved reference .
      Now what should I do? Please reply this....?

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

    thank you very very very much
    you are amazing

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

      Welcome

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

      @@smartherd "adapter" is showing unresolved reference .
      Now what should I do? Please reply this sir?

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

    Error inflating class android.support.v7.widget.CardView

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

      If anyone's getting this error here's the solution stackoverflow.com/questions/53089633/how-to-add-cardview-in-layout-xml-in-androidx

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

    This is much confusing ... Hard to get it ..

  • @Victor-dj4td
    @Victor-dj4td 6 лет назад

    thx

  • @jersey-dude
    @jersey-dude 5 лет назад

    Too fast!

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

    Please not divide the video on different parts make it continues