long1eu / long1eu/SpaceTabLayout
Change Tab position Programmatically
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 265
- PR merge metrics
- No merged PRs in 30d
Description
I want to change the tabs from an Activity. like in XML we have starting_position and that opens whichever position we want spaceTabLayout to be selected by-default, Can I implement this programmatically.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the XML starting_position value is handled and where the Activity can control the SpaceTabLayout selection. Check the existing tab-selection entry points and verify the requested position is selected by default through the programmatic path, with behavior matching the XML option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100