Skip to content

Commit

Permalink
[kara/#28] fix :: play 버튼 클릭 시 miniplay 동기화 성공
Browse files Browse the repository at this point in the history
  • Loading branch information
hyowon0204 committed May 21, 2024
1 parent 38c0929 commit aaa736e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class AlbumRVAdapter(private val albumlist: ArrayList<Album>): RecyclerView.Adap
}
// holder.binding.itemAlbumTitleTv.setOnClickListener { mItemClickListener.onRemoveAlbum(position)
holder.binding.itemAlbumPlayImgIv.setOnClickListener {
myItemClickListener.onItemClick(albumlist[position])
myItemClickListener.onPlayAlbum(albumlist[position])
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class MainActivity : AppCompatActivity() {
lateinit var binding : ActivityMainBinding
lateinit var activityResultLauncher: ActivityResultLauncher<Intent>


private var song:Song = Song()
private var gson: Gson = Gson()

Expand All @@ -26,6 +27,7 @@ class MainActivity : AppCompatActivity() {

setBottomNavigationView()


// MainActivity에서 SongActivity로 데이터 값 넘기기 위한 변수명 지정
// val song = Song(binding.mainPlayTitleTv.text.toString(), binding.mainPlaySingerTv.text.toString(),0,60,false,"music_lilac")

Expand Down

0 comments on commit aaa736e

Please # to comment.