Skip to content

Instantly share code, notes, and snippets.

View marcauberer's full-sized avatar
🌶️
Working on @spicelang

Marc Auberer marcauberer

🌶️
Working on @spicelang
View GitHub Profile
@marcauberer
marcauberer / kotlin-base-config.kt
Created September 1, 2020 23:59
SimpleSettings - Kotiln base configuration
SimpleSettings(this).show {
Section {
title = "Test section"
for (i in 0..4) {
SwitchPref {
title = "Test 1.$i"
summary = "This is a Test 1.$i"
defaultValue = if(i % 2 == 0) SimpleSwitchPreference.ON else SimpleSwitchPreference.OFF
}
}