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
//Restart adb in case the device is ie. invisible | |
adb kill-server; adb start-server | |
//Install single .apk file | |
adb install *.apk | |
//Install multiple apks at once (for split apks) | |
adb install-multiple 1.apk 2.apk | |
//Uninstall application |
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
sealed class TextRes { | |
abstract val resId: Int | |
data class Regular( | |
override val resId: Int | |
) : TextRes() { | |
override fun equals(other: Any?): Boolean { | |
if (this === other) return true | |
if (other !is Regular) return false |