Giter Club home page Giter Club logo

msvsearch's People

Contributors

araiyusuke avatar claudiodegio avatar gounlaf avatar kserno avatar om-nom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

msvsearch's Issues

Update Docs to Show Latest Version

The usage notes in the project README suggests that you use 1.0.0. However 1.2.0 seems to be the latest (jitpack knows of a 1.3.0, but it's in an error state). Ideally, the docs show users the version that you want them using, and I assume that right now we should be using 1.2.0.

Library manifest should be empty

Hi,

I think application node should be only in sample module, not in the library. It can cause some issues (eg android:allowBackup="true" is up to the "application" module)

Class not found when unmarshalling: com.claudiodegio.msv.BaseMaterialSearchView$BaseMSVSavedState

05-10 13:31:17.449 20384-20384/pl.krisdev.android.apps.hermes.school E/Parcel: Class not found when unmarshalling: com.claudiodegio.msv.BaseMaterialSearchView$BaseMSVSavedState
                                                                               java.lang.ClassNotFoundException: com.claudiodegio.msv.BaseMaterialSearchView$BaseMSVSavedState
                                                                                   at java.lang.Class.classForName(Native Method)
                                                                                   at java.lang.Class.forName(Class.java:324)
                                                                                   at android.os.Parcel.readParcelableCreator(Parcel.java:2383)
                                                                                   at android.os.Parcel.readParcelable(Parcel.java:2337)
                                                                                   at android.view.AbsSavedState.<init>(AbsSavedState.java:57)
                                                                                   at android.view.View$BaseSavedState.<init>(View.java:21614)
                                                                                   at android.view.View$BaseSavedState$1.createFromParcel(View.java:21636)
                                                                                   at android.view.View$BaseSavedState$1.createFromParcel(View.java:21634)
                                                                                   at android.os.Parcel.readParcelable(Parcel.java:2346)
                                                                                   at android.os.Parcel.readValue(Parcel.java:2243)
                                                                                   at android.os.Parcel.readSparseArrayInternal(Parcel.java:2653)
                                                                                   at android.os.Parcel.readSparseArray(Parcel.java:1946)
                                                                                   at android.os.Parcel.readValue(Parcel.java:2300)
                                                                                   at android.os.Parcel.readArrayMapInternal(Parcel.java:2592)
                                                                                   at android.os.BaseBundle.unparcel(BaseBundle.java:221)
                                                                                   at android.os.Bundle.getSparseParcelableArray(Bundle.java:856)
                                                                                   at com.android.internal.policy.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2051)
                                                                                   at android.app.Activity.onRestoreInstanceState(Activity.java:1009)
                                                                                   at android.app.Activity.performRestoreInstanceState(Activity.java:964)
                                                                                   at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1164)
                                                                                   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2407)
                                                                                   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2494)
                                                                                   at android.app.ActivityThread.access$900(ActivityThread.java:157)
                                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356)
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                   at android.os.Looper.loop(Looper.java:148)
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:5527)
                                                                                   at java.lang.reflect.Method.invoke(Native Method)
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
                                                                                Caused by: java.lang.ClassNotFoundException: com.claudiodegio.msv.BaseMaterialSearchView$BaseMSVSavedState
                                                                                   at java.lang.Class.classForName(Native Method)
                                                                                   at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
                                                                                   at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
                                                                                   at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
                                                                                   at java.lang.Class.classForName(Native Method) 
                                                                                   at java.lang.Class.forName(Class.java:324) 
                                                                                   at android.os.Parcel.readParcelableCreator(Parcel.java:2383) 
                                                                                   at android.os.Parcel.readParcelable(Parcel.java:2337) 
                                                                                   at android.view.AbsSavedState.<init>(AbsSavedState.java:57) 
                                                                                   at android.view.View$BaseSavedState.<init>(View.java:21614) 
                                                                                   at android.view.View$BaseSavedState$1.createFromParcel(View.java:21636) 
                                                                                   at android.view.View$BaseSavedState$1.createFromParcel(View.java:21634) 
                                                                                   at android.os.Parcel.readParcelable(Parcel.java:2346) 
                                                                                   at android.os.Parcel.readValue(Parcel.java:2243) 
                                                                                   at android.os.Parcel.readSparseArrayInternal(Parcel.java:2653) 
                                                                                   at android.os.Parcel.readSparseArray(Parcel.java:1946) 
                                                                                   at android.os.Parcel.readValue(Parcel.java:2300) 
                                                                                   at android.os.Parcel.readArrayMapInternal(Parcel.java:2592) 
                                                                                   at android.os.BaseBundle.unparcel(BaseBundle.java:221) 
                                                                                   at android.os.Bundle.getSparseParcelableArray(Bundle.java:856) 
                                                                                   at com.android.internal.policy.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2051) 
                                                                                   at android.app.Activity.onRestoreInstanceState(Activity.java:1009) 
                                                                                   at android.app.Activity.performRestoreInstanceState(Activity.java:964) 
                                                                                   at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1164) 
                                                                                   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2407) 
                                                                                   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2494) 
                                                                                   at android.app.ActivityThread.access$900(ActivityThread.java:157) 
                                                                                   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356) 
                                                                                   at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                                   at android.os.Looper.loop(Looper.java:148) 
                                                                                   at android.app.ActivityThread.main(ActivityThread.java:5527) 
                                                                                   at java.lang.reflect.Method.invoke(Native Method) 
                                                                                   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730) 
                                                                                   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620) 
                                                                                Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
05-10 13:31:17.452 20384-20384/pl.krisdev.android.apps.hermes.school D/AndroidRuntime: Shutting down VM
05-10 13:31:17.453 20384-20384/pl.krisdev.android.apps.hermes.school E/AndroidRuntime: FATAL EXCEPTION: main
                                                                                       Process: pl.krisdev.android.apps.hermes.school, PID: 20384
                                                                                       java.lang.RuntimeException: Unable to start activity ComponentInfo{pl.krisdev.android.apps.hermes.school/pl.krisdev.android.apps.hermes.school.activities.MainActivity}: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.claudiodegio.msv.BaseMaterialSearchView$BaseMSVSavedState
                                                                                           at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2434)
                                                                                           at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2494)
                                                                                           at android.app.ActivityThread.access$900(ActivityThread.java:157)
                                                                                           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356)
                                                                                           at android.os.Handler.dispatchMessage(Handler.java:102)
                                                                                           at android.os.Looper.loop(Looper.java:148)
                                                                                           at android.app.ActivityThread.main(ActivityThread.java:5527)
                                                                                           at java.lang.reflect.Method.invoke(Native Method)
                                                                                           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
                                                                                           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
                                                                                        Caused by: android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.claudiodegio.msv.BaseMaterialSearchView$BaseMSVSavedState
                                                                                           at android.os.Parcel.readParcelableCreator(Parcel.java:2411)
                                                                                           at android.os.Parcel.readParcelable(Parcel.java:2337)
                                                                                           at android.view.AbsSavedState.<init>(AbsSavedState.java:57)
                                                                                           at android.view.View$BaseSavedState.<init>(View.java:21614)
                                                                                           at android.view.View$BaseSavedState$1.createFromParcel(View.java:21636)
                                                                                           at android.view.View$BaseSavedState$1.createFromParcel(View.java:21634)
                                                                                           at android.os.Parcel.readParcelable(Parcel.java:2346)
                                                                                           at android.os.Parcel.readValue(Parcel.java:2243)
                                                                                           at android.os.Parcel.readSparseArrayInternal(Parcel.java:2653)
                                                                                           at android.os.Parcel.readSparseArray(Parcel.java:1946)
                                                                                           at android.os.Parcel.readValue(Parcel.java:2300)
                                                                                           at android.os.Parcel.readArrayMapInternal(Parcel.java:2592)
                                                                                           at android.os.BaseBundle.unparcel(BaseBundle.java:221)
                                                                                           at android.os.Bundle.getSparseParcelableArray(Bundle.java:856)
                                                                                           at com.android.internal.policy.PhoneWindow.restoreHierarchyState(PhoneWindow.java:2051)
                                                                                           at android.app.Activity.onRestoreInstanceState(Activity.java:1009)
                                                                                           at android.app.Activity.performRestoreInstanceState(Activity.java:964)
                                                                                           at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1164)
                                                                                           at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2407)
                                                                                           at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2494) 
                                                                                           at android.app.ActivityThread.access$900(ActivityThread.java:157) 
                                                                                           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1356) 
                                                                                           at android.os.Handler.dispatchMessage(Handler.java:102) 
                                                                                           at android.os.Looper.loop(Looper.java:148) 
                                                                                           at android.app.ActivityThread.main(ActivityThread.java:5527) 
                                                                                           at java.lang.reflect.Method.invoke(Native Method) 
                                                                                           at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730) 
                                                                                           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620) 

access the current text

I want the searchview to save the recent search query and when the searchview opens I want it to be already shown. the problem is there's no access to the search EditText. any suggestions?

Incomplete howto

I believe 'usage' section of readme is incomplete. Can you write everything that is needed to launch full MsvSearch?

No resource identifier found for attribute 'msvHint'

Hi! I'm trying to set the SearchView with some custom settings, so in my layout it is configured with "app:msvHint", "app:msvSearchBackground" and "app:msvTextColor".

The problem is that I can't compile because it generate "No resource identifier found for attribute [...] in package [...]".

How can I fix this?

(Also, there is a way to set an animation for the search bar closing?)

Thank you!

Item Click Listener

I have initialized SuggestionMaterialSearchView but I can't seem to find an event handler for items when clicked like : "onItemClickListener" or something like that. What can I do?

Possibilità di selezione multipla dei filtri

Sarebbe abbastanza utile poter avere la possibilità di selezionare molteplici filtri della stessa sezione, se ad esempio io avessi una sezione, che mi dice la specie animale, e io volessi vedere solo elefanti e leoni, ora non si può fare.

Adding filter doesnt show in the searchview ?

Good evening !

First of all... great library ! We wanted to use it in our current project... but we failed at implementing the FilteredMaterialSearchview... We added Sections & Filters the proper way... like in your example... but once we click on the searchview they just dont show up... no errors...

Any ideas ? We could really need some help !

SuggestionMaterialSearchView: crash with a customer adapter

Hi,

I'm using the SuggestionMaterialSearchView with a custom adapter (FastAdapter.
When cliking on item, the method public void onItemClick(RecyclerView rv, View view, int position) is invoked and produce a crash (because of casting adapter to SearchSuggestRvAdapter).

Right now, I don't find an "easy solution"; I need to create a custom View like SuggestionMaterialSearchView.

I might be able to do a PR to fix that, but I would like to have your advice / thoughts about the problem.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.