uber / uber/RIBs

[Android][Question]How to get something result from onActivityResult.

Open
#345 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Android
Dominant language
Kotlin
Stars
7.9k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

Hello, I have a question.
When we want to get something result from onActivityResult, there is callbacks only in RibActivity.
But usually, interactor don't know activity.
Is there any practice to get something result from onActivityResult in interactor?

Should I pass callbacks to each Builder??

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the onActivityResult callbacks in RibActivity and trace how an interactor connects through its Builder. Determine whether an interactor can receive the result without knowing the activity, and whether callbacks must be passed through each Builder. Done means the supported practice is documented clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.