``` Handler().postDelayed( { Timber.d(...
# getting-started
o
Copy code
Handler().postDelayed(
        { Timber.d("Testing") }, 100)
c
Are you sure you're creating the handler on a thread that has a looper?
o
yea, inside onCreate
ay..
c
?
o
it is inside onCreate
that’s all I know
Copy code
override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_main)

    pipeDream = PipeDream(this)

    mainContentView.addView(pipeDream)

    Handler().postDelayed(
        { Timber.d("Testing" }, 300)
  }
f
Be sure to import the correct class android.os.handler
o
ah fucking hell, my proof for it working was a Timber log
and I didn’t plant the damn tree!
it doesn’t tell me no Tree planted or anything