开发者

when nothing selected from the spinner it shows alert message in android

when nothing selected from 开发者_Go百科the spinner it shows alert message in android


First refer this article already provided on the Android site itself: http://developer.android.com/resources/tutorials/views/hello-spinner.html ,

And find the below method:

public void onNothingSelected(AdapterView parent) {
       // display your alert box
    }
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜