https://kotlinlang.org logo
n

neuber

09/27/2018, 7:20 PM
Hi, Can anyone help?
stackoverflow 4
c

Casey Kulm

09/27/2018, 7:46 PM
Would be much easier to help with a paste https://pastebin.com/
Of the error and file
n

neuber

09/27/2018, 8:05 PM
I will put in github now
d

Dias

09/27/2018, 10:37 PM
hi
r

rakeeb

09/27/2018, 11:52 PM
hi
its cause the var
SmartDrive_Motor
is scoped inside the setter of
motornumber
n

neuber

09/28/2018, 12:02 AM
How to solve
@rakeeb pls my bro
a

agrosner

09/28/2018, 1:15 AM
It's a local variable not a member property
n

neuber

09/28/2018, 3:17 AM
How to solve
a

anstaendig

09/28/2018, 11:24 AM
Just take another look at where you define
SmartDrive_Motor
Like @agrosner pointed to