floatingsearchview
floatingsearchview copied to clipboard
A search view that implements a floating search bar also known as persistent search
`mSearchView.swapSuggestions(newSuggestions);` I have an arraylist of Strings with me to be suggested for a change in the query. What should be the input of the `swapSuggestions` function?
This function can't be called out com.android.support. It cause a compile error. What can I use to replace it?
As you can see (in the attached gif) the right clear (cross) button jumps (no animation) It looks really wired on a physical device. My "onFocus" code looks like this...
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:26.0.0-alpha1' compile 'com.android.support:support-v4:26.+' compile 'com.android.support:design:26.+' compile 'com.android.support:support-vector-drawable:26.+' compile 'com.google.android.gms:play-services-maps:11.0.2' compile 'com.google.android.gms:play-services-location:11.0.2' compile 'com.google.android.gms:play-services-places:11.0.2' compile...
In FloatingSearchView wrong variable saved as dismissOnSoftKeyboardDismiss. public Parcelable onSaveInstanceState() { Parcelable superState = super.onSaveInstanceState(); ... savedState.dismissOnSoftKeyboardDismiss = mDismissOnOutsideTouch; return savedState; }
version 2.1.1: `searchView.closeMenu(false)` did nothing No code changes, version 2.0.1: `searchView.closeMenu(false)` menu correctly closed ``` ```
**hi everyone.how i set height to suggestion panel (dropdown) like this .Static height and suggestion scroll** 
How can I make dynamic suggestions with sqlite or realm database. The problem with the example is: "Private static List sColorSuggestions" But when you get the data with RealmList suggestionsList...
How can i attach the searchView to my custom adapter to search from my database?
Both `setOnMenuClickListener` and `setOnLeftMenuClickListener` set the same `mOnMenuClickListener` field. Is this the correct functionality? `setOnMenuClickListener`: https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L750-L752 `setOnLeftMenuClickListener`: https://github.com/arimorty/floatingsearchview/blob/a0f8fbc90d98eb1b629c6295dd2d3577412e7b1e/library/src/main/java/com/arlib/floatingsearchview/FloatingSearchView.java#L1704-L1706