Answers for "An operation is not implemented: Not yet implemented"

1

An operation is not implemented: Not yet implemented

just remove TODO( ... ) from your onClickListener:

override fun onClick(v: View?) {
    // No TODO here
    when (v?.id) {
        ...
    }
}
TODO(...) is Kotlin function which always throws NotImplementedError. If you want to mark something with TODO but to not throw exception - just use TODO with comments:

override fun onClick(v: View?) {
    //TODO: implement later
    when (v?.id) {
        ...
    }
}
Posted by: Guest on May-04-2020
0

An operation is not implemented: not implemented

override fun onClick(v: View?) {
    // No TODO here
    when (v?.id) {
        ...
    }
}
Posted by: Guest on March-06-2020

Code answers related to "An operation is not implemented: Not yet implemented"

Browse Popular Code Answers by Language