Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tangwanchao committed Sep 26, 2022
1 parent 4533e72 commit f255d38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ open class SourceObserverView2 @JvmOverloads constructor(
if (mErrorLayout == null) {
mErrorLayout = mLayoutInflater.inflate(getErrorLayoutRes(), this, false)
mErrorLayout!!.setBackgroundColor(mErrorBackground)
mErrorLayout!!.setOnClickListener {
mErrorLayout!!.findViewById<View>(R.id.tv_network_error_reload).setOnClickListener {
mReloadFun?.invoke()
}
addView(mErrorLayout)
Expand Down

0 comments on commit f255d38

Please sign in to comment.