Updated Spotless

This commit is contained in:
Hemanth S 2020-10-06 14:36:16 +05:30
parent defcd86152
commit 4b767bca54
4 changed files with 7 additions and 20 deletions

View file

@ -24,7 +24,7 @@ import org.koin.core.parameter.parametersOf
class PlaylistDetailsFragment : AbsMainActivityFragment(R.layout.fragment_playlist_detail) {
private val arguments by navArgs<PlaylistDetailsFragmentArgs>()
private val viewModel: PlaylistDetailsViewModel by viewModel {
private val viewModel by viewModel<PlaylistDetailsViewModel> {
parametersOf(arguments.extraPlaylist)
}
@ -89,7 +89,6 @@ class PlaylistDetailsFragment : AbsMainActivityFragment(R.layout.fragment_playli
emptyText.isVisible = playlistSongAdapter.itemCount == 0
}
override fun onDestroy() {
recyclerView?.itemAnimator = null
recyclerView?.adapter = null

View file

@ -15,7 +15,7 @@
app:argType="code.name.monkey.retromusic.model.Genre" />
</fragment>
<!--<fragment
<fragment
android:id="@+id/playlistDetailsFragment"
android:name="code.name.monkey.retromusic.fragments.playlists.PlaylistDetailsFragment"
android:label="PlaylistDetailsFragment"
@ -23,7 +23,7 @@
<argument
android:name="extra_playlist"
app:argType="code.name.monkey.retromusic.db.PlaylistWithSongs" />
</fragment>-->
</fragment>
<fragment
android:id="@+id/albumDetailsFragment"