long1eu / long1eu/SpaceTabLayout
Calling onCreateView method
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 265
- PR merge metrics
- No merged PRs in 30d
Description
I get an error while clicking tab icons. the error is` _android.view.InflateException: Binary XML file line #0: Error inflating class fragment_` . The error occurs when onCreateView method is called 2 times. I apply workaround using first creation check.
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 reproducing the InflateException when clicking the tab icons and trace the fragment's onCreateView call. Confirm why the method is reached twice and define done as avoiding the crash without relying on the reported first-creation workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100