1Select the src/main/java folder in the project and choose
2 Code->"Convert Java File to Kotlin File”
1new AppUpdater(this)
2 .setUpdateFrom(UpdateFrom.JSON)
3 .setUpdateJSON("https://rasooldev.ir/instadlapp/update.json")
4 .setButtonDoNotShowAgain(null)
5 .setIcon(R.mipmap.ic_launcher) // Notification icon
6 .start();