Skip to content

Instantly share code, notes, and snippets.

View dostalleos's full-sized avatar

Leoš Dostál dostalleos

  • Prague, Czech Republic
View GitHub Profile
//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
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