what theme do you use for android studio? it's so beautiful
@alex199910143 жыл бұрын
Wonderful tutorial with very detailed explanation and source code provided. What more could one ask for? Thank you so much =)
@mafiacodes3 жыл бұрын
Glad it helped!
@sanderssharma80014 жыл бұрын
Your just awesome sir ... I have no words.. u tell the things really great....ese hi video dalte rahiyega
@Dhruvh14 жыл бұрын
Will it be wise to use it for a huge dataset?
@leolimoncito65643 жыл бұрын
I'm so grateful with your explanation
@AbdulHannan-sj2xi3 жыл бұрын
May you live long with a happy life bro. I complete my task due to you. I'm subscribing your channel now. Thanks
@mohamedayad703 жыл бұрын
seems like i will be here all the night xD
@dineshmunusamy82783 жыл бұрын
Superb teaching bro....
@harshkaushik64262 жыл бұрын
really very helpful.........and clear as crisp, no extra bullshit. Well done My Friend.
@sachetthashrestha5395 жыл бұрын
loving this series on recycler view.will u do multi view type recycler view and expandable recycler view??
@mafiacodes5 жыл бұрын
Multi view type will be live most likely tomor 😉 till then SUBSCRIBE LIKE SHARE
@mafiacodes5 жыл бұрын
Multi view RecyclerView | getItemViewType() | Android kzbin.info/www/bejne/jKXRfaN-itpli5I
@hadarangeethika4 жыл бұрын
This was very useful 😃, thank you so much 😊
@riteshfamily3694 жыл бұрын
Sir can use search view on my card view dashboard i have to use there also grid layout
@mafiacodes4 жыл бұрын
U need to perform search on ur list so it dosen’t matter what view ur using
@riteshfamily3694 жыл бұрын
@@mafiacodes sure sir but muze samza nahi kuki mene bahut changes kiye but setadpter ko error ata hai not set adapter not resolve in gridlayout
@CeziBel4 жыл бұрын
OMG I love u man u saved my lifeeee LOVEE you so much you can't even imagine 😍❤😍❤😘❤😍
@mafiacodes4 жыл бұрын
love u too bro...
@MinecraftLetstime4 жыл бұрын
I just finished this playlist. I have to thank you for this. It was perfect! Well done.
@mafiacodes4 жыл бұрын
Subscribe like share
@MarcelSchalk4 жыл бұрын
My main-activity is holding 3 fragments, that holding the adapter. Any ideas what I can do? I can not call the adapter in onQueryTextChange in the main activity, because the adapter is created in the fragment. But I don't know how to pass the filtered List to my main activity, to copy it, search in it and get the filtered list back to the adapter through the fragments.
@mafiacodes4 жыл бұрын
u can use an interface for the same. an example of using an interface is shown in this video (kzbin.info/www/bejne/d5zMnaeKq5V2oKM) that is on item click listener but u can use the same logic to implement an interface. hope that helps.
@rohithsuri17524 жыл бұрын
Hi Marcel Schalk, my requirement also same. Did u find it?
@rohithsuri17524 жыл бұрын
@@mafiacodes Above link is not working
@DC-fn8kh2 жыл бұрын
Sir, how to apply this search filter in the shopping cart adapter which only use the interfaces ?
@codingmerah83404 жыл бұрын
thank you so much my problem has been solved, good job man
@mafiacodes4 жыл бұрын
Subscribe like share😊
@alexshiferaw71804 жыл бұрын
Thank you ! nice video and good explanation.
@4dn9074 жыл бұрын
Where r u from?
@mafiacodes4 жыл бұрын
🇮🇳 but why?
@patriciogonzalez33604 жыл бұрын
Thank you for this tutorial. Works for me :D
@mafiacodes4 жыл бұрын
Subscribe like share😊
@Alaa-mc1vu2 жыл бұрын
Hello how can i do multiple filter with recyclerview? 🤔
@corrector-jaax2 жыл бұрын
Amazing tutorial, thanks a lot!
@EyeXD2 жыл бұрын
I have the movieList that you initialized as List moviesList I have a ModelClass, where I initailized as List moviesList How do I make it work the moviesListAll in the constructor??
@vikassaini63313 жыл бұрын
Thanks for the video 👍
@shrinivasbaldawa22323 жыл бұрын
The video was really very awesome..can you do the same for data stored in database and showing it in recyclerview?
@milanribadiya28335 жыл бұрын
Thank you for your filter but I have not set on click into on bind view holder .please help me.
@mafiacodes5 жыл бұрын
I dint get you, share code on github Subscribe like share 😊
@milanribadiya28335 жыл бұрын
Sir please. You make video of recyclerview's search view + set on click please...
@ninomuring66535 жыл бұрын
Is the method the same when using FirestoreRecyclerAdapter ?
@ayeshanoreen7932 жыл бұрын
Thank you sooooo much for this video🥺
@nguyenhung-fw5fy4 жыл бұрын
Sir, why don't use moviesList instead movieListAll ? Why you need creat movieListAll ?
@mafiacodes4 жыл бұрын
Coz it contains all the movies not the filtered one’s
@yashtyagi80403 жыл бұрын
How I use search view if I have 2 to more string in recyle view. Please tell me
@kavinduM193 жыл бұрын
Thank u so much buddy ❤️❤️
@dstack34043 жыл бұрын
Thanks for the video. My recyclerview data comes from a JSON file in my directory. Can I still use this method to search the recycleviewer?
@mafiacodes3 жыл бұрын
Yes, load up the recycler view and do the search
@gurubhai4918 Жыл бұрын
Th aks Mittal, can u pls extend this with Synonyms, because of people are not good with English and are from Germany / France (my clients search beer / bear for 🍺
@pradiktabagus3 жыл бұрын
thank you, my project is done 😍❤😍❤😘❤😍
@paullin70524 жыл бұрын
amazing tutorial!
@mhdunknown2 жыл бұрын
For those reading whom it crashes on them, don't forget that importing the correct library both in the xml and kt (or java) files is essential to get it to work, otherwise it'll crash.
@شرحتطبيقالاعلافالبديلة Жыл бұрын
i dont find Filtrable library on git hub .. what u talking about ?
@BABATECHNOPEDIA4 жыл бұрын
Sir! How to use this filter option in firestore recycler view
@alanmc96604 жыл бұрын
Not easy to do! you need to use third party Algolia!!
@hissabis20684 жыл бұрын
Thank you
@emremuslu77633 жыл бұрын
Thank you so much!
@Sidex150-g1p3 жыл бұрын
Lol mouse se type kar rahe ho kya? Btw thanks for this.
@pranavshahi59964 жыл бұрын
Non-static method 'getFilter()' cannot be referenced from a static context
@Vandrea974 жыл бұрын
tengo ese mismo problema, pudiste solucionar?
@angie7884 жыл бұрын
@@Vandrea97 Yo igual , no lo soluciono aún :c
@mafiacodes4 жыл бұрын
can you tell exactly on which line your getting this error, coz I ran this application again and I am not getting this error, please verify your code with the repo on GitHub.
@pew44102 жыл бұрын
@@mafiacodes Is it possible to do it with an object or does it have to be string? like for example car class with atributes or meal.
@pew44102 жыл бұрын
@@Vandrea97 tengo ese mismo problema, pudiste solucionar?
@techlinesystems48904 жыл бұрын
Am really enjoying your series, but please can you make same video for recyclerview search
@ThreadsX5 жыл бұрын
Thanks, How can I get the search filters items, position?
@mafiacodes5 жыл бұрын
You can get the item itself but position is different since recycler view is renders again, but incase you want position then you can use a different approach like setting a tag as an id or something like that.
@rnjita5814 жыл бұрын
Can you help me how to search without changing it's position number... Or How to show previous position number
@mafiacodes4 жыл бұрын
cud not get what u mean?
@rnjita5814 жыл бұрын
@@mafiacodes I have a list of users and their score. I sorted this by their score. There are total 2000+ users. Now what I want is that to show the position of current user. In simple word how to make the user to get his position in this list.(recyclerview)
@rajm26714 жыл бұрын
Clear explanation. Keep it up :-)
@mohamedagbaria34543 жыл бұрын
the search icon doesn't appear on the screen why ? in the Android manifest
@linusetikpon35274 жыл бұрын
very useful
@kroy24014 жыл бұрын
Sir, I want to perform a 2nd filteration on the 1st filter list what should i do?
@mafiacodes4 жыл бұрын
Create a second search field and use the filtered list as the input list for the second search field
@kroy24014 жыл бұрын
@@mafiacodes tried but not happening , please make a short video on that and provide me the link sir.
@NoddyS-gf3hl3 жыл бұрын
Hello, I did not have toolbar in my app earlier for some reasons. RecyclerView ia designed for 4th page after navigation and Now, for this recyclerview, I wanted to implement as search bar wont come. Please tell me how to implement it
Awesome videos sir, could u make a video on search view in recycler view which is there in a fragment ?
@siddeshrevankar78083 жыл бұрын
I have problem in SearchView Basically I have EditText in my recycler view And whenever I search something it is showing successfully with each and every details But the value which I inserted in that EditText and search for something by SearchView then the value inserted for previous data will apply for the searched data For Ex: if I put the value in 2nd EditText and I search for 10th EditText the value which is in 2nd EditText will be in 10th EditText Please help me to solve this problem
@wemersondamasceno20164 жыл бұрын
does it work in fragment?
@mafiacodes4 жыл бұрын
Yes
@josephjetabela49933 жыл бұрын
yo How about there are another List of movie price, movie time , ... how to make it filterable??
@vohoangvinh71944 жыл бұрын
Thank you it's wonderful
@AmritaKumari-fl5uu3 жыл бұрын
How to create filter like flipkart or myntra can you pls also share tutorial of that?
@mafiacodes3 жыл бұрын
the same way, it depends how ur data is organised
@samuelmistico4 жыл бұрын
Muchas gracias, con una arquitectura MVP
@thejaniaravinda96353 жыл бұрын
Please let me know how to search two arraylists using filterable
@sorinaion13654 жыл бұрын
Hello Sir ! Here is 1 thing that doesn't work for me: The list contains 4 innitial tasks, added from the onCreate method. I added the "Add" button, which adds new tasks from the keyboard. If I make a search, AFTER I add some new tasks: the search is returning the correct Strings, but after the "x" is clicked, the rendered list is the innitial 4 items lists. The tasks added from the keyboard are not saved. Would you please help ! Thank you !
@Sampelmind815 жыл бұрын
hey from germany, i followed your instructions and the only problem is, when i clear the searchview, the unfiltered list is not shown. i wondering that your code works and my code not.
@mafiacodes5 жыл бұрын
👋 can u share ur code on github so i can check... Subscribe like share 😊
@lalizism4 жыл бұрын
@@mafiacodes I have the same problem Could you please help me too??? hey from México
@mafiacodes4 жыл бұрын
Download l/check my code from github, and match it with yours or share your code on github so i can replicate the error you are getting.
@mafiacodes4 жыл бұрын
Hey, plz share code on GitHub, or you can compare my code.
@Ropa78914 жыл бұрын
im having the same problem
@SatyamGupta-nx4zj2 жыл бұрын
when i click on search button my screen gets clear and then the searching is also not working
@androiddevelopment87963 жыл бұрын
Which font is that?
@mafiacodes3 жыл бұрын
Snazzy operator
@androiddevelopment87963 жыл бұрын
@@mafiacodes How to install that to android studio
@mafiacodes3 жыл бұрын
It’s a paid font bro u can buy and install as normal fonts
@androiddevelopment87963 жыл бұрын
@@mafiacodes can you send website link?
@summmitbruh1234 жыл бұрын
How do I Implement this in a PagedListAdapter with viewmodels?
@jivanmainali17424 жыл бұрын
sir without collapseactionview its working .what is its purpose??
@shivashiva42763 жыл бұрын
Hi bro how r u , really your videos are lot of help me , make a one video for how to add search filter in nested recyclerview please make a video for this topic iam strucked here please Help me 🙏
@mafiacodes3 жыл бұрын
Ok I will try
@ИльяКучер-н8ъ2 жыл бұрын
nice vid👍
@ashishanand93314 жыл бұрын
i am displaying pdf files in recycler view, i followed your code step-wise but still not getting the search results. could you please help me with this?
@mafiacodes4 жыл бұрын
share code on Github
@MrLOLs14 жыл бұрын
Thanks 😊
@mafiacodes4 жыл бұрын
Welcome 😊
@ajaygalagali59634 жыл бұрын
Why this isn't working for app:showAsAction = "always" ?
@mafiacodes4 жыл бұрын
U need space for search view that’s why u need to collapse the action bar, therefore u need to use collapseActionView
@muhammadfahad34414 жыл бұрын
Do you have same implementation in Kotlin? Can you give me the link?
@avijitsamanta87844 жыл бұрын
How to change search output text color Like::: Input::::: ir Output::: ir(color change in "ir" bcz it is searching text)on man
@AlejandroMartinez-iz2kf4 жыл бұрын
Amigo buen dia. al escribir en el SearchView borra todo pero no muestra nada, y al borrar todo el contenido del SearchView deberia mostrar la lista completa pero no muestra nada
@mafiacodes4 жыл бұрын
Share code on GitHub in case you have any problem
@jivanmainali17424 жыл бұрын
Sir how to change color of searchview as well text inside of it
@sunilkumarmaurya45625 жыл бұрын
Is ur code available on git if yes plz provide link.
@mafiacodes5 жыл бұрын
Link in description
@ashikroshan9954 жыл бұрын
Cannot resolve method 'getFilter' in 'Adapter' i am having this problem
@mafiacodes4 жыл бұрын
Share code on GitHub
@divyanshkushwaha47212 жыл бұрын
can u plz share the Kotlin code for the same?
@shubhamnaik19824 жыл бұрын
what if there are no matches for the search text ? What to do in that case , please help ?
@mafiacodes4 жыл бұрын
It won’t show results
@josephmota3584 жыл бұрын
Excuse me Sir. This does not works for me when I try to implement SearchView in Fragment. I mean, this works fine in MainActivity, but in Fragment does not. What could I do?
@josephmota3583 жыл бұрын
@Kristijan Boskovic This solved my problem. Thanks a lot
@ritunjaykumar54283 жыл бұрын
can you make playlist of android services. It is argent. please sir
@amitghosh39384 жыл бұрын
when I press search view on empty list the below line is producing and error recyclerAdapter.getFilter().filter(newText); how to deal with it?
@mafiacodes4 жыл бұрын
What is the error?
@amitghosh39384 жыл бұрын
@@mafiacodes recyclerAdapter is producing null pointerexception (Its working fine when there is at least one view in the list)
@soumayamondal69154 жыл бұрын
Sir can you please tell me how add a fiture in recyclerview to multiple select to delete from recyclerview
@fadlanazizi85275 жыл бұрын
How can I search in the line below? for example rowcounttextview
@mafiacodes5 жыл бұрын
U cn search accordingly any field as per ur object, here its a simple string but u cn use use any object SUBSCRIBE LIKE SHARE
@fadlanazizi85275 жыл бұрын
@@mafiacodes can you give an example, because after I tried the movie title and rowcount the same
@elimarkus92594 жыл бұрын
I cannot display the search icon on fragment can you please help me?
@mafiacodes4 жыл бұрын
Have u followed the steps
@elimarkus92594 жыл бұрын
I folowed the steps and i managed to filter just by the simple searchview . Its not reacting to andoidx version..cause it inflates the menu just with 3 dots of settings instead of search icon. And i didn't even set the "settings" item
@PhongTran-hz4ht4 жыл бұрын
Hi, how to Filter RecyclerView with ListAdapter?
@mafiacodes4 жыл бұрын
the same way as explained here kzbin.info/www/bejne/eYXZq6KMqbCigJo ,,,but simply pass a the new filtered list
@hectorjaviercampos58354 жыл бұрын
I get an error when I select the magnifying glass
@learnandearn48474 жыл бұрын
Whts the error
@hectorjaviercampos58354 жыл бұрын
@@learnandearn4847 I already fixed the error
@hectorjaviercampos58354 жыл бұрын
@@learnandearn4847 I had to filter by the content not by the index because when I filter and click on the item it does not show me the correct item if I take the index
@preetkaur47623 жыл бұрын
its not working with volley php mysql. please suggest me tutorial.
@mafiacodes3 жыл бұрын
Girl/boy in 2021 you should not be using either of volley/php, but still share ur source code then only I can help.
@preetkaur47623 жыл бұрын
@@mafiacodes so which library i should use for fetch mysql data base
@mafiacodes3 жыл бұрын
U should be using retrofit else use okhttp
@osamaziadi2833 жыл бұрын
exellent
@ali_abou_bakr4 жыл бұрын
Thanks alot
@mafiacodes4 жыл бұрын
Subscribe like share😊
@TheNoobDhruv2 жыл бұрын
please solve this error public class PdfAdapter extends RecyclerView.Adapter implements Filterable { private Context context; private List pdfFiles; private List pdflistAll; private OnPdfFileSelectListener listener; public PdfAdapter(Context context, List pdfFiles, OnPdfFileSelectListener listener) { this.context = context; this.pdfFiles = pdfFiles; this.listener = listener; this.pdflistAll = new ArrayList(pdfFiles); // error Arraylist }
@harishmani82454 жыл бұрын
Bro when I click the search icon and i will search, nothing will shown
@mafiacodes4 жыл бұрын
Share code on GitHub
@BARATHICREATIVES4 жыл бұрын
simple... populate the data list immediately after initialize the movie name arraylist or whichever. (i.e., in Main Activity - inside on create).
@techbuddy15194 жыл бұрын
it is crashing when i touch the search bar with an error at Attempt to read from field 'java.lang.Object android.widget.Filter$FilterResults.values' on a null object reference typecasting error at :-------moviesList.addAll((Collection
@mafiacodes4 жыл бұрын
share ur code on GitHub so I can see whats the problem...
@MrFyce4 жыл бұрын
how to add a search view in a fragment android and filter recycler view?
@josephmota3584 жыл бұрын
I am looking for the same
@josephmota3584 жыл бұрын
I've found the solution, my searchview inside a fragment is working now. My solution was: 1. Don't inflate options menu in MainActivity 2. Inflate options menu in the fragment you want to perform the search 3. Put this line in fragment onCreate's: sethasoptionsmenu(true) Then you'll be able to handle searchview from fragment
@soumayamondal69154 жыл бұрын
Sir, i flow this code step by step,,, but sir my result is not show properly... sir please help me
@mafiacodes4 жыл бұрын
Share code on GitHub
@abhhiee4 жыл бұрын
please make an another video for Search View using Firebase Recycler view ..
@wisnuwijaksono45624 жыл бұрын
how to search data from server ?
@mafiacodes4 жыл бұрын
Make an api call to the server on textchange or search submitted
@gongtaurine99035 жыл бұрын
Thank you!!!!!!
@mafiacodes5 жыл бұрын
Subscribe like share 😊
@shivamsehrawat76104 жыл бұрын
i don't know why but when i click on search view it just shows a blank screen.
@mafiacodes4 жыл бұрын
Share ur code on github or compare with mine on GitHub
@saicharan96524 жыл бұрын
@@mafiacodes facing the same issue...checked the code from GitHub and compared..everything seems to be same. don't know from where the issue is coming
@mafiacodes4 жыл бұрын
Share ur code of GitHub and I’ll try to run on my device.
@saicharan96524 жыл бұрын
@@mafiacodes github.com/scharan518/RecyclerView
@BARATHICREATIVES4 жыл бұрын
simple... populate the data list immediately after initialize the movie name arraylist or whichever. (i.e., in Main Activity - inside on create).
@CaptainOfficiel3 жыл бұрын
5:18
@osama67954 жыл бұрын
you didnt show us your activity_main.xml file... this makes it hard to implement in our own project