Skip to content

Commit

Permalink
Removed unused exmaples
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Jan 10, 2020
1 parent b7bdc8e commit 556b424
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/src/main/java/com/skydoves/lazybonesdemo/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,10 @@ import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import com.skydoves.balloon.Balloon
import com.skydoves.lazybones.lifecycleAware
import com.skydoves.lazybones.observe
import kotlinx.android.synthetic.main.activity_main.button

class MainActivity : AppCompatActivity() {

private val lifecycleAwareProperty = lifecycleAware(getDarkThemeDialg())
.observe {
onCreate { show() }
onResume { restart() }
onDestroy { dismiss() }
}

private val mainViewModel = MainViewModel(this)
private val balloon: Balloon by lifecycleAware { BalloonUtils.getProfileBalloon(baseContext) }
.onCreate { showAlignTop(button) }
Expand Down

0 comments on commit 556b424

Please sign in to comment.