Skip to content

UI update#1527

Open
chi20253032 wants to merge 6 commits intozhanghai:masterfrom
chi20253032:master
Open

UI update#1527
chi20253032 wants to merge 6 commits intozhanghai:masterfrom
chi20253032:master

Conversation

@chi20253032
Copy link

First of all, thank you for your interest in help improving this project! However, I normally won't accept PRs for this project because I'm currently the only copyright owner for it (except for translations and maybe my company), which I think would be a nice thing to keep along. On the other hand, forcing people to give up their copyright to me is both awkward and legally-complex. So if you have any suggestions for an improvement, please feel free to comment on existing issues or open a new one!

Refactored StaticAdapter to use ListAdapter and DiffUtil for better performance and cleaner code.
The `StaticAdapter` for the "Add manually" option was not being initialized, causing it to be missing from the LAN server discovery list.

This change initializes the adapter by submitting a list. It also refactors the `loadingAdapter` to use `submitList` instead of directly setting `itemCount` for consistency.
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.

1 participant