Created
May 26, 2020 01:36
-
-
Save diousk/ed48f2c6104cf3bbe74b47b51473f71d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class LoginActivity : DaggerAppCompatActivity() { | |
@Inject lateinit var sessionManager: SessionManager | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_login) | |
Timber.d("sessionManager = $sessionManager") | |
goMain.setOnClickListener { | |
sessionManager.loginUser() | |
startActivity(Intent(this, MainActivity::class.java)) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment