Skip to content

Optimisation: Replacing listView in CarSelectionActivity with Recycler View having well designed Cardviews#1012

Merged
SebaDro merged 3 commits intoenviroCar:developfrom
Jdbarad:CarSelectionRecyclerView
Jan 6, 2025
Merged

Optimisation: Replacing listView in CarSelectionActivity with Recycler View having well designed Cardviews#1012
SebaDro merged 3 commits intoenviroCar:developfrom
Jdbarad:CarSelectionRecyclerView

Conversation

@Jdbarad
Copy link
Contributor

@Jdbarad Jdbarad commented Dec 18, 2024

Description

This activity presently contains listView for showing the list of cars which is not an efficient approach.
This listView needs to be replaced with RecyclerView having well-designed CardViews which will lead to a better user interface as well as better app performance.

How did it get fixed?

Replace ListView with RecyclerView, Create CarSelectionRecyclerAdapter for mCarRecyclerView
Create a function & method that is also required in CarSelectionListAdapter. Also added CardView for a better user experience.

Conclusion

Now, CarSelectionActivity uses RecyclerView, That better for App performance. Also Solved Broken car selection radio button #927

Reviews

I like to invite @SebaDro to review this PR and give me suggestions

@SebaDro SebaDro self-requested a review December 19, 2024 13:48
@SebaDro SebaDro self-requested a review January 6, 2025 12:07
@SebaDro SebaDro merged commit c74a576 into enviroCar:develop Jan 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants