Final declarations, naming & redundant code
* add final declarations where missing * fix typo "onSelectedLisener" to "onSelectedListener" * rename "baseEqual" to "baseEquals" * replace getPlaylistsObserver code with functions pointers * remove duplicate code in constructors * remove useless null checks
This commit is contained in:
parent
dfc27b2480
commit
13c0fdef08
7 changed files with 64 additions and 82 deletions
|
|
@ -23,7 +23,9 @@
|
|||
android:id="@+id/items_list"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
tools:listitem="@layout/list_playlist_mini_item"></androidx.recyclerview.widget.RecyclerView>
|
||||
tools:listitem="@layout/list_playlist_mini_item">
|
||||
|
||||
</androidx.recyclerview.widget.RecyclerView>
|
||||
|
||||
|
||||
<TextView
|
||||
|
|
@ -40,4 +42,4 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="5dp"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue