How to search in Firebase database Android
ฝัง
- เผยแพร่เมื่อ 29 ส.ค. 2024
- This video elaborates how to perform search operation in Firebase database and output of search data will be displayed in Recyclerview. SearchIcon is used here as OptionMenu with SearchView.
How to retrieve firebase data into recyclerview
-------------------------------------------------------------------------------------
• [ 2022 Updated ] Fireb...
**NOTE : Google may show infected file because of CircularImageView dependency
Download the Source Code from here ::
*******************************************
drive.google.c...
Sir really aap jordar ho ....
Ekdum concept clear kar dete ho ..and pure TH-cam ,stackoverflow,google me jo ma mila wo aapki video me mil gaya ekdum easy way me ...
Tx alot sir
Sir aap bahut ache trike se samjha te ho ... thank you sir
Powerful voice after a long time
First video in this topic which is really great and to the point
You are outstanding boss....!!!! bas lage raho. no one can beat you
You are excellent Sir!
Thanks a ton
Thank for excellent video , sir ek poore data ko filter karne k liye with firebase per ek video banaye
sir ek poore data ko filter karne k liye with firebase per ek video banaye
Thanks you so much sir, you are my helper best!!!!!!!! Thanks god
Thanks so much for this video, really helped me out! Even if it was not in english!
Very nice tutorial sir thankyou so much 🙏🏼🙏🏼🙏🏼
Thank you so much sir.
Fantastic
Thanks a lot .it's working
No entendí nada de lo que dices pero con solo ver el video es más que suficiente, gracias por la ayuda.
Very clear video, thank you. but i got two questions
1. I want to search by more than one attribute(children) same time. what should i do?
2. can i put that query method in a button?
just make queries according to your requirement and put to firebase RecyclerOption
@@MdJamalmca I can't find a way to search in recycler view using two or more children. So help me out please.
I want to search not only with course but also with name too at the same time.
@@MdJamalmca sir that data is case sensitive like if we search for "Mobile" went get results for "mobile" or "mObIle" .. how to make it case insensitive. i searched on internet but didn't find any solution please help.
@@kroy2401 th-cam.com/video/VBEzqahgKmw/w-d-xo.html this might help you
@@mohitmahajan1947 Did you find the result? I am still searching... If yes then help me :(
I have multiple references in my Firebase database, how can i search data from multiple references in single search bar ?
up
Up
Sir, How to search Firebase recycle view from edit text search bar, Please Make a video on it as soon as possible
How to add on click listner on data????
How to add multiple queries. To fetch the data either by name or by course
Jamal Sir, if i search Masala Dosa, mein Masala, it works, but if i write Dosa, 2nd or 3rd or subsequent words, it's not searching, what's the solution ?
bhai mujhe bhee same problem h agar mile to bata dena
Sir specific unicode character kya hota h? "\uf8ff" and kyu chahiye?
A great thank you ..
Sir Mai aapki videos follow kar raha hu aur ye bohot jada helful hai Please CUSTOM VIDEO PLAYER KI TUTORIAL BANAIYE JISME KISI BHI URL SE VIDEO LIYA JAA SAKE AUR USKO.PLAY KIYA JA SAKTE WITH CUSTOM CONTROLS AND PIP Mode support. Please sir bohot help hogi...
Very helpful, sir please make Python
Sir data take time to set in recyclerview, so how can I put progessbar and hide it after data come in recyclerview
How to implement searchview in recyclerview using firebase firestore ?
how to search from the data attached in a list view
If we add custom search view then How to add filter search on it?
@
Md Jamal can anyone tell me how to loop this ".equalTo(varible)" in firebase?
i have used snapshot to capture the variable.
but when i display this in a recycler view, only 1 value appears.
I'm working this in a fragment not activity but I don't know why searchmenu.xml is not inflating(search bar isn't visible and on action taking place)
some one please help me out.
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
inflater.inflate(R.menu.[IDMENU], menu) ;
}
use this code and put
setHasOptionsMenu(true);
in your oncreateview method
@@abhijithanil5953 thank you brother you saved my day
Lower is not working. Sir any solution?
Bro tell me how to do search without case sensitive I tried startAt(s.toLowercase()) and endAt (s.toLowercase()) but it is not working, help me bro
When I did my username search, I would store the users name normally and as all lowercase in my database. Something like username: ShadowSuave and name: shadowsuave so when I query the database I use username to display it, but name for search, then s.toLowercase() should work
or u can also store one more parameter username with all lowercase alphabets if u don't want to hamper your original name parameter
Helpful......DhanyWad...
Onckick event ko kaise handle kare
sir, search bar is not visible i have checked code multiple times but don't know why it is not visible
Thanks my teacher !
thank you sir!!!
Thanks
Sir plz make video on all the layouts of android specially constraints, relative layout ..
okkk
Ottimo tutorial, grazie ma a me non funziona, io uso androidX, è per questo ?, grazie
Nice Video
How to set data in firebaserecycleview order by new data in frist... With girdview
Greate video it help me alot. Sir, my app doesn't have error, i check my code 3 times, follow your video 3 times, but my search bars still doesn;t appear, the image is fine. I dont know where to start cuz it dont have any error. Do you have any idea?
download the source code and try once
have you solved the problem.. becoz m having same..
ok ok it works, I would like to insert a progressBar, where should I insert it in the java code? thank you
if I want to search two node together how to be possible ??? like once if I search by name and after search by email how to be???? please help!!
Thank you💚
Please answer, is it sequential search??? Tell me if it's something else
sir ur code works on atcivity make a video same as above on fragment @Md Jamal
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
inflater.inflate(R.menu.[IDMENU], menu) ;
}
use this code and put
setHasOptionsMenu(true);
in your oncreateview method
@@abhijithanil5953 When I click on X icon from the the search view it does not populate the whole data again in the recyclerview like it was in the initial state before searching. Like 8:19
Bro i have a doubt here you will add new documents/new users in recycling view. My question is same user we will add additional details in same file/user
Sir mere app mei search cancel karne par by default users ke naam nhi aa rhe bass starting ke 3 ke aa rhe hai, please tell
why startListening is not working in my project
Please help
Error showing w/classmaper : no setter for email not found please help
thank you sir :)
Search view is not working properly in my code.
How do we make Firebase query search case insensitive?
this search is case sensitive
sir this id not working in a fregment
Hello! Thank you for the great video. We want to search by 3 different childs in firebase.
We wrote:
String query = searchtext.toLowerCase();
Query firebaseQuery = resturantRef.orderByChild("name").startAt(query).endAt(query+ "\uf8ff");
and we want to add another child like type of resturant.
We would love you help.
Thank you,
Hadas
will this work in fragment?
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
inflater.inflate(R.menu.[IDMENU], menu) ;
}
use this code and put
setHasOptionsMenu(true);
in your oncreateview method
@@abhijithanil5953 oh and everything else is still the same right? thank you so much i will try this code
@@ooyen hi, does the code work for you?
Firebaserecycleroption me error aa raha hai bro
it's working
bro how can we make it more optimized
Sir can you be my mentor?
Please sir give me a solution How I can search with both Capital and Small letter?
it is very simple. just convert the searching keyword in small and compare. in any case let the user give the search keyword you just convert it to any specific case and compare. that set
@@MdJamalmca Bro tell me how to do search without case sensitive I tried startAt(s.toLowercase()) and endAt (s.toLowercase()) but it is not working, help me bro
sir how do i get unicode charecter?
sir that data is case sensitive like if we search for "Mobile" went get results for "mobile" or "mObIle" .. how to make it case insensitive. i searched on internet but didn't find any solution please help.
put the query keyword in a string and then compare it by converting to both lower and upper case by using OR operator in between. if any one will be try then proceed to further.
@@MdJamalmca Will you please elaborate?
@@shubhammetkar6021 Bro did you find it ? tell me how to do that?
@@MdJamalmca Nice video bro tell me how to do that?
@@pvsquad4710 I'm actually working on that thing for making an e-commerce app for a company, once I find any solution over it I'll reply on this comment to let you know... till then try to research abt elastic search - it's a google product.
if you post the title in English then make the video in English!!!
@Md jamal, please have you work on flutter project base on geofence
Sir can we be friends in social media?
I need to clear my lots of doubts please sir
facebook.com/mdjamalmca/
@@MdJamalmca Bro tell me how to do search without case sensitive I tried startAt(s.toLowercase()) and endAt (s.toLowercase()) but it is not working, help me bro
is this work for firestore database ?
yes; use different query
i cant acces your google drive
How to add intents.. Different intents.. Not adapter position..
th-cam.com/video/sZ8D1-hNeWo/w-d-xo.html
Do watch it first
@@MdJamalmca Bro tell me how to do search without case sensitive I tried startAt(s.toLowercase()) and endAt (s.toLowercase()) but it is not working, help me bro
i prefer use OnTextChanged and use TextWatcher I think is more easy
and it cost alot .. it spam query to firebase.. query not free lol .. u pay for it ...when ur app reach more than 10k users u will pay alot
Any way to contact you?
Sir full same copy paste kea nai search ho raha hai kuch nai show kar raha and cross m click krta hu tho vo data waps aata bhi nahi
then download the source code and try once. kanhi na kanhi kuch to mistake jaroor hoga. check the code once again sharply
Okay sir
Hogaya sir maina orderBychild ko sirf child likha tha my bad...
सर MYSQL डेटाबेस में किसी PDF या image file को किसी रोल नंबर page से कनेक्ट कैसे करें जैसे रोल नंबर डालने से फाइल या तो डाउनलोड हो जाए या show हो जाए । सर इसके लिए कौन सी क्वाइरी या कनेक्शन यूज़ होता है प्लीज थोड़ा बता दीजिए । मेरे पास एक रोल नंबर पेज है जिसमें मैं रोल नंबर डालकर डेटाबेस से PDF या IMAGE फाइल को show या तो डाउनलोड करना चाहता हूं सर प्लीज बता दीजिए
you can make table lik this tbl_data(id,roll_no, file_name) where filename will be name with path where the actual file is stored. now get the file url using query and get it using json to application and in application use glide dependency to display it in imageview. the query to fetch image is simple SELECT * FROM tbl_data where id=''YourRoll'
why are all hindi so weird!!?? why you post a video in english when you only speak hindi ?:????? if you write english speak english or post in hindi language.... dont be a weird S
It's really easy to blame someone because you don't know how much effort it takes to make it.
@@ankitgoyal8556 i preciate the effort and i can imagine how much effort it took but its building hope for people who doesn't speak hindi and then they hear hindi and hope lost .... just saying if you post a tutorial in english title speak english or post it in hindi please dont lead people just to get more views!!!
@@natanelelkutski9966 I feel its not about getting views, if it is then hindi songs should have title in hindi rather than in english. I feel you have been frustated after watching this over and over again.
@@ankitgoyal8556 yeah its pretty annoying after founding a tutorial you're actually looking for in english than you hear first few words "hello guys" and then it turns into hindi tutorial...
i know india's devs are very very smart but please if you share a video at least think about the people who dont speak the language...
@@natanelelkutski9966 Yeah, funny but true. This guys are awesome, I had started my freelancing carrier just because of these guys.
Thank you so much Sir.