updated code

This commit is contained in:
Hemanth S 2020-12-04 23:41:49 +05:30
parent 85d8d5cba9
commit 66618824e2
3 changed files with 5 additions and 4 deletions

View file

@ -25,7 +25,7 @@ android {
} }
signingConfigs { signingConfigs {
release { release {
Properties properties = getProperties('E:/Documents/GitHub/retro.properties') Properties properties = getProperties('/Users/apple/Documents/Github/music.jks')
storeFile file(getProperty(properties, 'storeFile')) storeFile file(getProperty(properties, 'storeFile'))
keyAlias getProperty(properties, 'keyAlias') keyAlias getProperty(properties, 'keyAlias')
storePassword getProperty(properties, 'storePassword') storePassword getProperty(properties, 'storePassword')

View file

@ -114,10 +114,10 @@ class AlbumsFragment : AbsRecyclerViewCustomGridSizeFragment<AlbumAdapter, GridL
} }
override fun onAlbumClick(albumId: Long, view: View) { override fun onAlbumClick(albumId: Long, view: View) {
exitTransition = MaterialElevationScale(true).apply { exitTransition = MaterialElevationScale(false).apply {
duration = 300L duration = 300L
} }
reenterTransition = MaterialElevationScale(false).apply { reenterTransition = MaterialElevationScale(true).apply {
duration = 300L duration = 300L
} }
findNavController().navigate( findNavController().navigate(

View file

@ -54,8 +54,10 @@ abstract class AbsRecyclerViewFragment<A : RecyclerView.Adapter<*>, LM : Recycle
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState) super.onViewCreated(view, savedInstanceState)
postponeEnterTransition() postponeEnterTransition()
view.doOnPreDraw { startPostponedEnterTransition() } view.doOnPreDraw { startPostponedEnterTransition() }
mainActivity.setBottomBarVisibility(true) mainActivity.setBottomBarVisibility(true)
mainActivity.setSupportActionBar(toolbar) mainActivity.setSupportActionBar(toolbar)
mainActivity.supportActionBar?.title = null mainActivity.supportActionBar?.title = null
@ -87,7 +89,6 @@ abstract class AbsRecyclerViewFragment<A : RecyclerView.Adapter<*>, LM : Recycle
layoutManager = this@AbsRecyclerViewFragment.layoutManager layoutManager = this@AbsRecyclerViewFragment.layoutManager
adapter = this@AbsRecyclerViewFragment.adapter adapter = this@AbsRecyclerViewFragment.adapter
val fastScroller = create(this) val fastScroller = create(this)
} }
checkForPadding() checkForPadding()
} }