Code fixes

This commit is contained in:
Hemanth S 2020-10-04 14:43:42 +05:30
parent c23c56649e
commit f02888113e
4 changed files with 10 additions and 14 deletions

View file

@ -60,7 +60,7 @@ open class SongAdapter(
}
override fun getItemId(position: Int): Long {
return dataSet[position].id.toLong()
return dataSet[position].id
}
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): ViewHolder {