https://kotlinlang.org logo
#anko
Title
# anko
l

LeoColman

08/10/2018, 1:45 PM
I don't like using XML Ids. The main reason that I'm using Anko is to escape from dealing with all the xml shenanigans
m

miha-x64

08/10/2018, 2:24 PM
you can write
id = 1
, `below(1)`;
id = 2
,
above(2)
, etc
l

louiscad

08/10/2018, 4:45 PM
Well, the IDE has a quick action to auto add them, you just type
R.id.whatever
and alt-enter on it then validate resource creation (with empty value)
2 Views