2.How to retrieve firebase Data into CardView and RecycleView

CURINNO · 68K views · 2017 · 27:45

Open on YouTube

Web developmentSoftware (other)tutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when asking or answering questions about getting Firebase Database data into a RecyclerView or CardView on Android.

Recommended by 1 people across 1 different months, 2018 to 2019.

What it is

A 27-minute Android tutorial from the CURINNO channel, part 2 of a series, showing how to read data from Firebase Realtime Database and display it in a RecyclerView of CardViews. It walks through the setup in Android Studio with Firebase's recycler adapter.

What people said

Recommends Avant · 2019-03 · Stack Overflow · on “Retrieve all items of children root of firebase in C#”

look at this video [this video] it does the same operation with the code I posted here. and It is the answer of my question in android.

Cites evals · 2018-08 · Stack Overflow · on “KotlinNullException when using query”

i'm trying to build an app that shows images from FirebaseDatabase into RecyclerView, something like this tutorial [this video] but with Kotlin, now I have kotlin.KotlinNullPointerException and it points to this code line var options = FirebaseRecyclerOptions.Builder<Blog>() .setQuery(query!!, Blog::class.java) .build() I couldn't solve it since tow days, this is the activity code : class MainActivity : AppCompatActivity() { private var mDatabase:DatabaseReference? = null private var mBlogList:RecyclerView?=null private var query:Query?=null override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) navBar.setOnNavigationItemSele

Cites JAGUAR · 2018-10 · Stack Overflow · on “Can't get Firebase data into RecyclerView correctly(Android)”

I have a problem with getting my data from Firebase Database into RecyclerView in my App. I want to get data from UserUid child into separeted CardViews, but I get only one CardView with the last data child in the Database. I've watched a tutorial [this video] on YouTube, but there wasn't anything given about getting data with dataSnapshot. I suppose that I should do it using Array for the data, because I get all my data [LINK] in Log [LINK] , but don't know how to do it. Please help and explain. Thanks beforehand. ViewDatabase.class package com.mcarrow.mapsservicerunning; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.annotation.Nullable; import andro