-
-
Save vinodbaste/7f1a6f221094cef0210ad22d2b4d4afc 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 MainActivity : AppCompatActivity() { | |
private lateinit var inAppUpdate: InAppUpdate | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_main) | |
inAppUpdate = InAppUpdate(this) | |
} | |
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { | |
super.onActivityResult(requestCode, resultCode, data) | |
inAppUpdate.onActivityResult(requestCode,resultCode, data) | |
} | |
override fun onResume() { | |
super.onResume() | |
inAppUpdate.onResume() | |
} | |
override fun onDestroy() { | |
super.onDestroy() | |
inAppUpdate.onDestroy() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment