Midlandlangarseva - Cập nhật bản tin nổi bật hàng tuần
  • Home
  • Giải Trí
  • Du Lịch
  • Công Nghệ
  • Bất động sản
  • Giáo Dục
  • Khác
    • Xe
    • Mẹo Vặt
    • Game
    • Tổng Hợp
No Result
View All Result
  • Home
  • Giải Trí
  • Du Lịch
  • Công Nghệ
  • Bất động sản
  • Giáo Dục
  • Khác
    • Xe
    • Mẹo Vặt
    • Game
    • Tổng Hợp
No Result
View All Result
Midlandlangarseva - Cập nhật bản tin nổi bật hàng tuần
No Result
View All Result
Home Công Nghệ

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

admin by admin
June 25, 2020
in Công Nghệ
30
Android Firebase 01 : RecyclerView – Retrieve Text and Images with Picasso



In this part we will
✓Create Android Studio Project
✓Create Firebase Project and connect our Android Studio Project to that Firebase Project
✓Store Images to FirebaseStorage manually
✓Add data in FirebaseDatabase
✓Retrieve these data(Title, Image, Description) in RecyclerView. To retrieve Images we will use Picasso library.
✓Run Project & Display Output

Purchase Code:
If haven’t account on fiverr then Sign Up using this link to get 20% off:

Links Used:
PicassoLibrary:
Firebase:
Playlist:

Firebase Storage Rules: (place your own bucket name in replacement of sampetutorials.appspot.com)
service firebase.storage {
match /b/sampetutorials.appspot.com/o {
match /{allPaths=**} {
allow read, write: if true;
}
}
}
Firebase Database Rules:
{
“rules”: {
“.read”: “auth == null”,
“.write”: “auth != null”
}
}

Feel free to comment in case of any problem

Our Chanel:

Our Websites:

Our Apps on PlayStore:

If u like this video, Like, Comment, Subscribe to support us…

Nguồn: https://midlandlangarseva.com/

Xem thêm bài viết khác: https://midlandlangarseva.com/cong-nghe/

Xem thêm Bài Viết:

  • 7 điện thoại sắp ra mắt tốt nhất năm 2023
  • Giới thiệu chi tiết nhất về HYIP
  • CPU Core thế hệ 10 KA phiên bản Marvel’s Avengers Collector’s Edition
  • Tại sao nên download IDM miễn phí không cần Crack?
  • Góc giải đáp thắc mắc câu hỏi: Công cụ tìm kiếm là gì?
Previous Post

Vật lý lớp 7 - Sách bài tập - Bài 17 - Sự nhiễm điện do cọ xát - Tiết 1

Next Post

Hollow Knight | The Completionist

Next Post
Hollow Knight | The Completionist

Hollow Knight | The Completionist

Comments 30

  1. Stanislav Ilyin says:
    2 years ago

    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

    Reply
  2. Moniruzzaman Rishad says:
    2 years ago

    Faul video.
    At the last part it shows error.
    Waste of time.

    Reply
  3. Mateo Cataño figueroa says:
    2 years ago

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

    Reply
  4. Hadikachmar3 (GAMING) says:
    2 years ago

    U are so funny selling easy shit code 😂😂😂😂😂

    Reply
  5. App Talk vlogs says:
    2 years ago

    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..

    Reply
  6. App Talk vlogs says:
    2 years ago

    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);

    }

    Reply
  7. App Talk vlogs says:
    2 years ago

    27:20 bro recycler adapter ka nahi add ho raha hia ksie karu
    yaar plz response to karo kuch plz.
    plz

    Reply
  8. VISHNU Dass says:
    2 years ago

    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);

    Reply
  9. Feris says:
    2 years ago

    im dont see any posts

    Reply
  10. nur maizurah says:
    2 years ago

    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 ?

    Reply
  11. Shaumy Alamanda Putri says:
    2 years ago

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

    Reply
  12. 陳韋智 says:
    2 years ago

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

    Reply
  13. Gabriel Sousa says:
    2 years ago

    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?🇧🇷

    Reply
  14. Suyash Srivastava says:
    2 years ago

    what is row here?

    Reply
  15. Jaume Vives says:
    2 years ago

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

    Reply
  16. muhammad sirwan says:
    2 years ago

    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();

    Reply
  17. Payal Drave says:
    2 years ago

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

    Reply
  18. Ayesha Arif says:
    2 years ago

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

    Reply
  19. Rodolfo Cota says:
    2 years ago

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

    Reply
  20. Bandla Venkata hemanth says:
    2 years ago

    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

    Reply
  21. ASAD BNU says:
    2 years ago

    Error= abstract method onCreateViewHolder(ViewGroup,int) cannot be accessed directly

    this is place where it comes =
    Image_adapter_for_online image_adapter_for_online = super.onCreateViewHolder(parent, viewType);

    this error come in on CreateViewHolder

    plz help me

    Reply
  22. Windows 10 says:
    2 years ago

    you should not use Picasso to load images, because it slows down your app (memory leak) and you should use Glide, got significant performance change because of using Glide library

    Implementation {
    for ViewHolder:
    Glide.with(ctx).load(image).into(mImageView);

    for Post Detail Activity:
    Glide.with(this).load(image).into(mImageView);
    }

    Reply
  23. sreekar personal says:
    2 years ago

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

    Reply
  24. Syed Mehar ul Hasnain says:
    2 years ago

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

    Reply
  25. adkinsy85 says:
    2 years ago

    please update this with firebase UI latest update

    Reply
  26. Adeshile Oluwaseyi says:
    2 years ago

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

    Reply
  27. obada rawashdeh says:
    2 years ago

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

    Reply
  28. ian chu says:
    2 years ago

    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

    Reply
  29. Achin Kumar says:
    2 years ago

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

    Reply
  30. muhammad ameen says:
    2 years ago

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

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Tin mới nhất

Sinh năm 2001 mệnh gì? Tử vi trọn đời người sinh năm Tân Tỵ

by rdom
September 9, 2022
0

TUỔI KỶ SỬU SINH NĂM 2009 MỆNH GÌ, HỢP MÀU GÌ, HƯỚNG NÀO TỐT

by rdom
August 5, 2022
0

Cách đầu tư nội thất thông minh khi cho thuê nhà Đông Anh

Cách đầu tư nội thất thông minh khi cho thuê nhà Đông Anh
by admin
July 10, 2021
0

Hệ thống công viên chủ đề độc đáo chỉ có tại Vinhomes Grand Park

Nên mua căn hộ chung cư hay nhà thổ cư?
by rdom
July 10, 2021
0

Thị trường mua bán nhà đất Thái Bình – cơ hội đầu tư sinh lời lớn

Thị trường mua bán nhà đất Thái Bình – cơ hội đầu tư sinh lời lớn
by admin
July 10, 2021
0

Giới thiệu

midlandlangarseva-logo

Midlandlangarseva – Cập nhật bản tin nổi bật hàng tuần

Địa chỉ: 31 Phạm Ngũ Lão, Cần Thơ

Email: dokhanhgiang89684@gmail.com

Lịch

December 2022
M T W T F S S
« Nov    
 1234
567891011
12131415161718
19202122232425
262728293031  

Ảnh hot

Trên thị trường hiện nay các thiết bị phòng gym trong gia đình rất đa dạng và phong phú
Cửa hàng Sim Thăng Long 22 Ô Chợ Dừa
Cửa hàng Sim Thăng Long 22 Ô Chợ Dừa
  • Chính Sách Bảo Mật
  • Liên Hệ
  • Midlandlangarseva – Cập nhật bản tin nổi bật hàng tuần

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.

No Result
View All Result
  • Home
  • Giải Trí
  • Du Lịch
  • Công Nghệ
  • Bất động sản
  • Giáo Dục
  • Khác
    • Xe
    • Mẹo Vặt
    • Game
    • Tổng Hợp

© 2022 JNews - Premium WordPress news & magazine theme by Jegtheme.