return@methodName - Meaning of that syntax?

前端 未结 0 395
夕颜
夕颜 2020-12-13 13:40

This code is from an Udemy-course I\'m currently doing:

if (noteTitle.isNullOrEmpty()) {
    title_et.error = "Title required"
    return@setOnClick         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题