Android Firebase 01 : RecyclerView - Retrieve Text and Images with Picasso

Android Firebase 01 : RecyclerView - Retrieve Text and Images with Picasso

Atif Pervaiz

6 лет назад

93,242 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@stanislavilyin4993
@stanislavilyin4993 - 26.07.2018 09:39

Hello friends. I found the reason.
You need to go to the database rules.
And change them for these:
{
   "rules": {
     ".read": true,
     ".write": true
   }
}

after that, rebuild the application and look at its work
good luck to all

Ответить
@truthwillsetyou_free
@truthwillsetyou_free - 24.11.2022 11:11

I can't find populationviewholder method in firebaserecycleradapter, please help me..

Ответить
@CRIZ209
@CRIZ209 - 30.08.2022 05:13

'FirebaseRecyclerAdapter(com.firebase.ui.database.FirebaseRecyclerOptions<net.zerodayschool.carcontrol.mData.ProfileVehiculo>)' in 'com.firebase.ui.database.FirebaseRecyclerAdapter' cannot be applied to '(java.lang.Class<net.zerodayschool.carcontrol.mData.ProfileVehiculo>, int, java.lang.Class<net.zerodayschool.carcontrol.mDataListView.MyHolder>, com.google.firebase.database.DatabaseReference)

?????

Ответить
@espectactorteatro4028
@espectactorteatro4028 - 24.08.2022 22:52

I can't find populateViewHolder Method in FirebaseRecyclerAdapter class

Ответить
@tvmbusgaming
@tvmbusgaming - 30.03.2022 16:21

Can u send full source code

Ответить
@mariamuniz4325
@mariamuniz4325 - 14.02.2022 00:36

@Atif Pervaiz  how to sort recyclerview ascending?

Ответить
@mariamuniz4325
@mariamuniz4325 - 13.02.2022 23:07

Hi Sir, when search start recyclerview item load ascending order how to start databse order in searchview

Ответить
@shivamdeepverma732
@shivamdeepverma732 - 18.10.2021 20:03

Age restricted why?

Ответить
@Hoang.ThanhTung
@Hoang.ThanhTung - 12.08.2021 05:04

Class 'Anonymous class derived from FirestoreRecyclerAdapter' must either be declared abstract or implement abstract method 'onBindViewHolder(VH, int, T)' in 'FirestoreRecyclerAdapter'

I meet this error :/

Ответить
@ShakaMudasir
@ShakaMudasir - 17.06.2021 03:29

Hi can u please create new same series but using Mvvm architecture

Ответить
@nurshahieraazleen756
@nurshahieraazleen756 - 23.05.2021 12:18

My apps keep stopping :(

Ответить
@gokhanmensur1548
@gokhanmensur1548 - 03.03.2021 17:54

Hello there. I took a photo with firebassette picasso in my project. The image to be displayed looks like a blank page.
the place where the picture should appear seems blank. what could be the reason?

Ответить
@poojamokal6297
@poojamokal6297 - 11.02.2021 17:23

Sir please make video in kotline also

Ответить
@Fin223nigga
@Fin223nigga - 24.11.2020 16:14

what if i can't connect FirebaseRecyclerAdapter?

Ответить
@xanzada3632
@xanzada3632 - 17.11.2020 07:58

Hello who can send me the source code shown in this video further cooperation knowledge sharing

Ответить
@Muhammad-ps5uq
@Muhammad-ps5uq - 22.09.2020 16:08

Atit tutorial was owesome . But can you how can I do the same uploading and retrieving from the. Current login user ID. So after login the images show in recyclerview from his account.

Ответить
@KGFFan-kw9cj
@KGFFan-kw9cj - 27.07.2020 10:14

i dano want upload images i want show images from url

Ответить
@mateocatanofigueroa526
@mateocatanofigueroa526 - 02.06.2020 04:00

How can I get a list of images depending on the category I selected

Ответить
@abhiagvlogs5263
@abhiagvlogs5263 - 30.04.2020 19:33

bro plz help me .. I don't have your contact info so i had put mine 9892014431.........plz response me u can only help me..

Ответить
@abhiagvlogs5263
@abhiagvlogs5263 - 30.04.2020 19:23

on line FirebaseRecyclerAdapter it showing read
@Override
protected void onStart() {
super.onStart();
FirebaseRecyclerAdapter<Model, ViewHolder> firebaseRecyclerAdapter =
new FirebaseRecyclerAdapter< Model,ViewHolder > (
Model.class,
R.layout.row,
ViewHolder.class,
mRef
) {
@Override
protected void populateViewHolder(ViewHolder ViewHolder, Model model, int position) {

ViewHolder.setDetails(getApplicationContext(), model.getImgTitle(), model.getImgDis(), model.getiMgURL());
}
};
//set adapter to recyclerview
mRecyclerView.setAdapter(firebaseRecyclerAdapter);

}

Ответить
@vishnudass5498
@vishnudass5498 - 29.04.2020 17:17

hello, i am having error in these lines @Override
protected void onStart() {
super.onStart();
FirebaseRecyclerAdapter<Model, ViewHolder> firebaseRecyclerAdapter =
new FirebaseRecyclerAdapter<Model, ViewHolder>{
Model.class,
R.layout.row,
ViewHolder.class,
mRef


}{ @Override
protected void populateViewHolder(ViewHolder viewHolder, Model , int position){
viewHolder.setDetails(getApplicationContext(), model.getTitle(), model.getImage());

}
}
mRecyclerView.setAdapter(firebaseRecyclerAdapter);

Ответить
@feris0
@feris0 - 21.04.2020 19:12

im dont see any posts

Ответить
@nurmaizurah4917
@nurmaizurah4917 - 20.04.2020 19:21

Hi, i have an arraylist that contains a list of keys. How to retrieve element from firebase to the recyclerview only if the key exist in the arraylist ?

Ответить
@mandashaumy15
@mandashaumy15 - 16.04.2020 12:19

I followed every step but the image doesn't show up, any solution?

Ответить
@Weizhi07
@Weizhi07 - 13.04.2020 17:25

Recyclerview scroll is so lag, how can i do for it

Ответить
@ssousagabriel
@ssousagabriel - 13.04.2020 00:54

Heyy, man! In some images, in the format .jpg or in high resolutions, when I click make the app close and stop. Did know what can be?🇧🇷

Ответить
@suyashsrivastava8471
@suyashsrivastava8471 - 09.04.2020 10:27

what is row here?

Ответить
@jaumevives6256
@jaumevives6256 - 06.04.2020 13:55

I have a problem, Class 'Anonymous class derived from FirebaseRecyclerAdapter' must either be declared abstract metod 'onBindViewHolder(VH,int,T) in FirebaseRecyclerAdapter

Ответить
@testtest1art
@testtest1art - 28.03.2020 22:56

good job , but i have to note
1- firebaseRecyclerAdapte was changed in v3 so the correct code available in stackoverflow
2- you should add this line in onStart method
firebaseRecyclerAdapter.startListening();

Ответить
@payaldrave7451
@payaldrave7451 - 22.03.2020 00:15

My app is crashing !! I guess the problem lies with the dependencies!
Please make a new video regarding this??? Sir Plis!!

Ответить
@ayeshaarif8133
@ayeshaarif8133 - 18.03.2020 15:16

My app is crashing after using this code. Can you please help me?

Ответить
@rodolfocota6578
@rodolfocota6578 - 11.03.2020 08:11

hi!, i have an error in setDetails("context"...), what'll be the solution?

Ответить
@bandlavenkatahemanth302
@bandlavenkatahemanth302 - 10.03.2020 12:07

Hello Developer,
"FirebaseRecylerAdapter" is showing error though i add "implementation 'com.firebaseui:firebase-ui-database:0.4.0" and "implementation 'com.firebaseui:firebase-ui-database:4.3.2" and "implementation 'com.firebaseui:firebase-ui-database:1.0.0" in my latest version of " androidx " Can you help me please

Ответить
@saisreekarsesham5912
@saisreekarsesham5912 - 22.02.2020 08:14

Bro instead of getting image i am getting its url as output.. 😟

Ответить
@sammii1499
@sammii1499 - 13.02.2020 21:01

I have an error at end ... FirebaseRecyclerAdapter is in red color

Ответить
@Adkinsy85
@Adkinsy85 - 11.02.2020 14:43

please update this with firebase UI latest update

Ответить
@IndianStreetGameShow15
@IndianStreetGameShow15 - 11.02.2020 07:22

Thanks so much bro.... This video just saved me from refunding the money I collected...... God Bless Man

Ответить
@obadarawashdeh5435
@obadarawashdeh5435 - 10.02.2020 23:30

I did exactly as you did, modified the libraries and everything I checked, but the data does not appear. Help me

Ответить
@uwu-pq1om
@uwu-pq1om - 30.01.2020 03:41

what if i wanna make a wallpaper app and the picture sizes are too big ? and if i resize it, when i download them they are too low resolution. how can i get to the app the url of the images

Ответить
@achukumar1
@achukumar1 - 20.01.2020 16:54

Dear Atif both title and description is showing on cardView but not image... please Help if you can

Ответить
@CozyTechOfficial
@CozyTechOfficial - 16.01.2020 07:14

populateviewholder not showing in my project, while onbindviewholder is showing instead. any solution

Ответить
@snehal5429
@snehal5429 - 12.01.2020 09:59

Hello Sir,
My app is getting closed every time I opened it. I have also set the permission in manifest file
But it is not asking for any permission when I am running the app and it is getting closed
Please Help

Ответить
@fernandotorcapio2245
@fernandotorcapio2245 - 06.01.2020 16:26

error new FirebaseRecyclerAdapter<~>

Ответить
@ahmadsyifaurromli2856
@ahmadsyifaurromli2856 - 26.12.2019 03:48

this code can't implement in fragment ?

Ответить
@YashYadav-dd7is
@YashYadav-dd7is - 12.12.2019 20:06

Thanks friend from bottom of my heart

Ответить
@sherwinvaz
@sherwinvaz - 08.12.2019 12:20

For those who doing this on androidx and latest version of firebase ui . you will get error at FirebaseRecyclerAdapter . to solve this just before this add FirebaseRecyclerOptions and your problem will be solved

Ответить
@georgematsos4416
@georgematsos4416 - 05.12.2019 05:55

Thanks a lot for this tutorial!
I had a problem with the onBind thing as some people here but replacing the implementation to your version did the trick!

Ответить