Skip to content

Instantly share code, notes, and snippets.

@Flature
Created June 8, 2019 03:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Flature/dfcd7325331b722fc1b59563c1104704 to your computer and use it in GitHub Desktop.
Save Flature/dfcd7325331b722fc1b59563c1104704 to your computer and use it in GitHub Desktop.
import android.content.Intent
import android.os.Bundle
import android.support.v7.app.AppCompatActivity
class SplashActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
val intent = Intent(this, SearchActivity::class.java)
startActivity(intent)
finish()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment