Skip to content

Commit

Permalink
removed Log
Browse files Browse the repository at this point in the history
  • Loading branch information
4shutosh committed Apr 26, 2021
1 parent ff2df30 commit 3188da3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/src/main/java/com/task/bbrassignment/list/ListFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.task.bbrassignment.list
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.util.Log
import android.view.View
import android.widget.Toast
import androidx.fragment.app.Fragment
Expand Down Expand Up @@ -33,8 +32,6 @@ class ListFragment : Fragment(R.layout.list_fragment), RecyclerViewOnClickListen

private lateinit var mainHandler: Handler

private val TAG = "ListFragment"

override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
listBinding = ListFragmentBinding.bind(view)
Expand Down Expand Up @@ -163,7 +160,6 @@ class ListFragment : Fragment(R.layout.list_fragment), RecyclerViewOnClickListen

override fun onItemClick(position: Int) {
viewModel.list.value?.let {
Log.d("OnCLick", "onItemClick: " + it[position].title)
val filePath = it[position].filePath
lifecycleScope.launch {
playWithFilePath(filePath, position)
Expand Down Expand Up @@ -203,7 +199,6 @@ class ListFragment : Fragment(R.layout.list_fragment), RecyclerViewOnClickListen

private fun checkShuffleAndPlayPrevious() {
if (isShuffleOn()) {
Log.d(TAG, "checkShuffleAndPlayPrevious: here")
playNextRandom()
} else {
playPrevious()
Expand Down

0 comments on commit 3188da3

Please sign in to comment.