uber / uber/RIBs

[Android] Create the .xml layout file when creating a RIB with presenter and view

Open
#247 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When using the "New RIB..." plugin on Android and you select the option to create a RIB with a view and a presenter, it would be nice if it created also the layout .xml under the layout folder, and also complete the information missing on the Builder. This step is always very repetitive on RIBs with an associated view, so it would be nice to avoid that boilerplate.

If this idea sounds good, I can work on a PR. Thanks!

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 Android “New RIB...” plugin entry point and trace the flow for creating a RIB with a view and presenter. Done means that flow also creates the layout XML under the layout folder and fills in the missing Builder information; the payload names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.