armcha / armcha/LuseenBottomNavigation

When setting ImageResourceActive for the BottomNavigationItem, the icon of its cannot be initialized.

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1k
Forks
178
PR merge metrics
No merged PRs in 30d

Description

https://github.com/armcha/LuseenBottomNavigation/blob/c90533e04be5faa75ceb028225a3d43da283d12a/BottomNavigationViewLibrary/src/main/java/com/luseen/luseenbottomnavigation/BottomNavigation/BottomNavigationView.java#L236

Code of this line should be changed as below:
```
icon.setImageResource(bottomNavigationItems.get(i).getImageResource());
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Open BottomNavigationView.java at the linked location around line 236 and inspect how BottomNavigationItem image resources are initialized. Confirm the behavior when ImageResourceActive is set, then verify that the icon initializes from the item's image resource and test the affected BottomNavigationItem behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.