Questions tagged as 'searchview'

2
answers

Problems closing SearchView

I have some problems with closing my SearchView The first: SOLVED When I search in my listview and enter the Activity that it finds, when I go back my SearchView is still open How can I make it close automat...
asked by 08.02.2017 / 17:33
0
answers

Problem with Searchview android

Good to the problem, first I have a Searchview in my actionbar . I have a listview with a arraydapter custom which I fill with data that I send from the webservices and I through the class Asynctask full listivi...
asked by 09.06.2016 / 20:25
2
answers

Why do I return to the previous activity when I press backspace on the serchview?

I do not understand how it works, I have 3 activities with the same characteristics, all have a listiew, they all have a searchview, one of them works correctly, the detail is when in two of them when I'm in the searchview I press Backspace (del...
asked by 15.08.2016 / 19:42
1
answer

Avoid leaving the gridview hidden when there are no results in the search

In my app, implement a SearchView. I managed to make it work perfectly but I had several doubts when I saw it work: I need a mechanism for when there are no results I show a textview that there is not ... so I did the following searchView.s...
asked by 25.01.2018 / 06:12
0
answers

How to make a search engine for a listview? [closed]

Code public class ClassRuta extends Fragment { View viewIn; SearchView sv; @Nullable @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { viewIn = inflater....
asked by 21.07.2016 / 18:33
1
answer

Cursor position SearchView Android

I am looking for a way to position the cursor of a SearchView at the beginning of the text. What I do is that I rescue a text and place it in the SearchView and the cursor is positioned at the end of it. I know that in EditText there is the s...
asked by 15.12.2018 / 20:45
1
answer

The position of the List Element Changes with SearchView and I have an unexpected view

Good day !!! The result of Searchview is fine, but when I click on the Recycler to start another activity on with the product data it changes. Example: when I look for an example product "Oil", it shows the result of "Beer", because the position...
asked by 18.11.2018 / 14:13
1
answer

The searchview cancels the view (View) of search by filter, how to cancel the searchView?

I did not know how to formulate the question but I will try to be more explicit in the development; I have a searchView which I'm looking for in a recycleview merchandise. up there all ok. searchView code //CREAMOS MENU PARA BUSCAR ARTICULO...
asked by 14.11.2018 / 16:35
0
answers

Search view in a listview

Hello I want to perform a search in a list view that the data is obtained from an Adapter and search the forum and it does not work for me this is the adapter code public class Adaptador extends BaseAdapter implements Filterable { private C...
asked by 25.10.2018 / 07:47
0
answers

how to perform the automatic search when getting the text from a searchview?

Some idea of how to make the search happen automatically when you get the texts with a searchview, without having to press the search button on the keyboard. @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().infla...
asked by 23.10.2018 / 21:15