Skip to content

Commit

Permalink
修复bug
Browse files Browse the repository at this point in the history
  • Loading branch information
haiyanghou committed Jul 31, 2022
1 parent 716ac33 commit c27f2b0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import androidx.recyclerview.widget.RecyclerView
import com.ricky.eqlist.LogUtil
import com.ricky.eqlist.adapter.EQListAdapter
import com.ricky.eqlist.entity.BaseEntity
import com.ricky.eqlist.viewScope
import kotlinx.coroutines.*

/**
Expand Down Expand Up @@ -72,7 +71,6 @@ abstract class BaseDataSource(protected var scope: CoroutineScope? = null) {

internal open fun unBindAdapter() {
scope?.cancel()
this.adapter = null
diffUtil = null
}

Expand Down

0 comments on commit c27f2b0

Please sign in to comment.