How to implement searchmenu in a fragment?
问题 The bounty expires in 7 days . Answers to this question are eligible for a +50 reputation bounty. Sanidhya Setu is looking for an answer from a reputable source : Explain properly in detail with edited code. I followed this video: https://codinginflow.com/tutorials/android/searchview-recyclerview This is my fragment which is like MainActivity : public class cgpa_frag extends Fragment { RecyclerView recyclerview; adapter_cgpa ac; ArrayList<POJO> cgpaArrayList = new ArrayList<>(); public cgpa