florent37 / InlineActivityResult

Receive the activity result directly after the startActivityForResult with InlineActivityResult
MIT License
273 stars 28 forks source link

Make it work without Activity (but with Context) #4

Closed whalemare closed 5 years ago

whalemare commented 5 years ago

Hi, thanks for your library.

Can you add feature for support start activity for result only with context, without activity or fragment? Useful for quickly access to other libraries, that depend on activityForResult behavior. If you don't mind, I could create a PR with this feature

iamareebjamal commented 5 years ago

Not sure how it'll work with just context as startActivityForResult requires activity semantics

florent37 commented 5 years ago

Not possible because it needs to add a fragment that manage the activity result