This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Description
Currently voice search is initiated via this call:
activity.startActivityForResult(intent, REQUEST_VOICE_SEARCH);
Currently this is an implementation detail and cannot be overridden.
But if we want to get result in Fragment's onActivityResult(), we need to call startActivityForResult from Fragment. Otherwise we will not get the results (see this answer on SO).
In my case I had to modify the source code to get the desired behaviour (I have a Fragment with SimpleSearchView, not Activity). I think it makes sense to support this case in the library.
Library version: 0.1.4