Skip to content

Commit

Permalink
chroe: fix demo compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
qii committed Dec 7, 2019
1 parent a8d902b commit cc6be22
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import android.content.Context
import android.util.AttributeSet
import android.widget.TextView
import com.bytedance.scene.ktx.getScene
import com.bytedance.scene.ktx.requireScene


class ClassPathInfoTextView @JvmOverloads constructor(
context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
) : TextView(context, attrs, defStyleAttr) {
override fun onAttachedToWindow() {
super.onAttachedToWindow()
this.text = getScene().javaClass.name
this.text = requireScene().javaClass.name
}
}

0 comments on commit cc6be22

Please sign in to comment.