ui: general cleanup

Clean up a bunch of UI issues that have accumulated.
This commit is contained in:
OxygenCobalt
2022-02-23 15:26:40 -07:00
parent 22258a3e6b
commit 87035805d2
31 changed files with 50 additions and 72 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ These will likely be accepted as long as they do not cause too much harm to the
## New Customizations/Options
While I do like adding new behavior/UI customizations, these will be looked at more closely as certain additions can cause harm to the apps UI/UX while not providing alot of benefit. These tend to be accepted however.
## Feature Addtions and UI Changes
## Feature Additions and UI Changes
These arent as likely to be accepted. As I said, I do not want Auxio to become overly bloated with features that are rarely used, therefore I only tend to accept features that:
- Benefit **my own** usage
@@ -22,6 +22,6 @@ Feel free to fork Auxio to add your own feature set however.
- Recently added list [#18] (Out of scope)
- Lyrics [#19] (Out of scope)
- Tag editing [#33] (Out of scope)
- Gapless Playback [#35] (Technical issues)
- Gapless Playback [#35] (Technical issues, may change in the future)
- Reduce leading instrument [#45] (Technical issues, Out of scope)
- Opening music through a provider [#30] (Out of scope)
+3 -3
View File
@@ -52,13 +52,13 @@ is separated into three phases:
- Set up the UI
- Set up ViewModel instances and LiveData observers
`findViewById` is to **only** be used when interfacing with non-Auxio views. Otherwise, viewbinding should be
used in all cases. If one needs to keep track of a viewbinding outside of `onCreateView`, then one can declare
`findViewById` is to **only** be used when interfacing with non-Auxio views. Otherwise, view-binding should be
used in all cases. If one needs to keep track of a view-binding outside of `onCreateView`, then one can declare
a binding `by memberBinding(BindingClass::inflate)` in order to have a binding that properly disposes itself
on lifecycle events.
At times it may be more appropriate to use a `View` instead of a full blown fragment. This is okay as long as
viewbinding is still used.
view-binding is still used.
When creating a ViewHolder for a `RecyclerView`, one should use `BaseViewHolder` to standardize the binding process
and automate some code shared across all ViewHolders. The only exceptions to this case are for ViewHolders that