You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
vkotovv
changed the title
Can't get voice search result in onActivityResult inside Fragments
Can't get voice search result in onActivityResult inside Fragment
Jan 23, 2020
Currently voice search is initiated via this call:
Currently this is an implementation detail and cannot be overridden.
But if we want to get result in Fragment's
onActivityResult()
, we need to callstartActivityForResult
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
The text was updated successfully, but these errors were encountered: