Cộng Nghệ

RecyclerView + CardView – Part 1 – LAYOUTS AND CUSTOM OBJECTS – Android Studio Tutorial

Rate this post



In this video we start building a RecyclerView, which contains CardViews with 1 ImageView and 2 TextViews each.

Watch the whole RecylerView playlist:

You can find the example code and dependencies here:

Want to use Kotlin instead? Watch the Kotlin version here:

____________________
❗ Subscribe to the channel:

🎓 Find more tutorials and courses on my website:

💻 Hire me for your next project:

📨 Subscribe to the Coding in Flow newsletter:

💚 Donate to Coding in Flow with a message:

❓ Ask your programming questions in our chat:

📣 Follow Coding in Flow on other sites:
Facebook:
Instagram:
Twitter:
Github:

⌨️ My gear and tools:
Microphone:
Mouse:
Keyboard:
Desk:
Monitor:
Webcam:
Screen recorder:

(above links are affiliate links, which means that I earn a small commission if you buy through them with NO additional costs to you.)

Tag: recyclerview, 2017, android, android apps, android apps programming, android development, android studio, android studio tutorial, android tutorial, apps programming, coding, java, learn to code, learn to program, software development, tutorial, recyclerview, recyclerview tutorial, recyclerview android, android recyclerview, android recyclerview tutorial, android recyclerview example, android recyclerview cardview, android cardview, android cardview tutorial, android cardview and recyclerview

Xem Thêm Bài Viết Về Công Nghệ Khác: https://meocongnghe.vn/cong-nghe

Nguồn: https://meocongnghe.vn

36 Comments

  1. I want to add items in my recycleview from another actiity , Hey Please Help basically i am using Recycle view to update coins history in my game , So basically there are 2-3 games all in seperate activity, So as soon as user wins or looses the coins are updated in coins history

    Reply
  2. for me the dependencies are in
    dependencies {

    implementation fileTree(dir: "libs", include: ["*.jar"])

    implementation 'androidx.appcompat:appcompat:1.1.0'

    implementation 'androidx.constraintlayout:constraintlayout:1.1.3'

    testImplementation 'junit:junit:4.12'

    androidTestImplementation 'androidx.test.ext:junit:1.1.1'

    androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'

    } format please help me how to edit them

    Reply
  3. Hello Sir, I am wondering for the answer of below Question.
    when does getItemCount() method get called in RecycleView adapter?

    and why it called multiple times in fragment?
    Please help me and if you are able toh make a video on this then please do that.

    Reply
  4. bro i have learned most of the android components from you only ….thank u bro and keep making android videos… and one more thing create a new android playlist for 2020 android studio version…thanku so much bro.

    Reply
  5. Thanks 'Coding in Flow' for your nice video. Basically I was able to follow your instructions. However, I simply could not move the text item using the Layout editor. After draging and droping the elements on the layout they are automatically moved to the top left corner. Any idea what I am doing wrong?

    Reply

Post Comment