So, due to lack of methods like Long.valueOf(String s) I am stuck.
Long.valueOf(String s)
How to convert String to Long in Kotlin?
string.toLong()
where string is your variable.
string