自定义Spinner实现初始项不参与列表显示(Spinner添加“请选择”)

上传者: heyouhua123yeah | 上传时间: 2021-04-20 20:16:59 | 文件大小: 176KB | 文件类型: ZIP
自定义Spinner实现初始为请选择之类的不参与列表的显示

文件下载

资源详情

[{"title":"( 49 个子文件 176KB ) 自定义Spinner实现初始项不参与列表显示(Spinner添加“请选择”)","children":[{"title":"spinner2","children":[{"title":"AndroidManifest.xml <span style='color:#111;'> 838B </span>","children":null,"spread":false},{"title":"res","children":[{"title":"layout","children":[{"title":"test.xml <span style='color:#111;'> 494B </span>","children":null,"spread":false},{"title":"main.xml <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"spinner_item.xml <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.67KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable","children":[{"title":"spinner_item_style.xml <span style='color:#111;'> 264B </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 5.11KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"highlight_pressed.png <span style='color:#111;'> 9.18KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 14.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"strings.xml <span style='color:#111;'> 182B </span>","children":null,"spread":false},{"title":"colors.xml <span style='color:#111;'> 147B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"xxt","children":[{"title":"spinner2","children":[{"title":"Spinner2Activity.java <span style='color:#111;'> 7.23KB </span>","children":null,"spread":false},{"title":"CustomSpinner.java <span style='color:#111;'> 988B </span>","children":null,"spread":false},{"title":"MySpinnerActivity.java <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"MySpinner.java <span style='color:#111;'> 784B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"proguard-project.txt <span style='color:#111;'> 781B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"classes","children":[{"title":"com","children":[{"title":"xxt","children":[{"title":"spinner2","children":[{"title":"Spinner2Activity$MyAdapter$SpinnerHandler.class <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"MySpinnerActivity$MyAdapter$SpinnerHandler.class <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"Spinner2Activity.class <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"Spinner2Activity$MyAdapter$ViewHolder.class <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"MySpinnerActivity.class <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false},{"title":"Spinner2Activity$MyAdapter$1.class <span style='color:#111;'> 2.38KB </span>","children":null,"spread":false},{"title":"MySpinner.class <span style='color:#111;'> 839B </span>","children":null,"spread":false},{"title":"R$color.class <span style='color:#111;'> 415B </span>","children":null,"spread":false},{"title":"CustomSpinner.class <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"BuildConfig.class <span style='color:#111;'> 341B </span>","children":null,"spread":false},{"title":"R.class <span style='color:#111;'> 563B </span>","children":null,"spread":false},{"title":"R$layout.class <span style='color:#111;'> 452B </span>","children":null,"spread":false},{"title":"R$attr.class <span style='color:#111;'> 334B </span>","children":null,"spread":false},{"title":"R$id.class <span style='color:#111;'> 616B </span>","children":null,"spread":false},{"title":"MySpinnerActivity$MyAdapter$1.class <span style='color:#111;'> 2.16KB </span>","children":null,"spread":false},{"title":"R$string.class <span style='color:#111;'> 421B </span>","children":null,"spread":false},{"title":"MySpinnerActivity$MyAdapter.class <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"Spinner2Activity$MyAdapter.class <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"R$drawable.class <span style='color:#111;'> 484B </span>","children":null,"spread":false},{"title":"MySpinnerActivity$MyAdapter$ViewHolder.class <span style='color:#111;'> 1.41KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"res","children":[{"title":"drawable-ldpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 2.60KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-mdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 4.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-hdpi","children":[{"title":"highlight_pressed.png <span style='color:#111;'> 8.98KB </span>","children":null,"spread":false}],"spread":true},{"title":"drawable-xhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 13.74KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"spinner2.apk <span style='color:#111;'> 43.59KB </span>","children":null,"spread":false},{"title":"jarlist.cache <span style='color:#111;'> 119B </span>","children":null,"spread":false},{"title":"classes.dex <span style='color:#111;'> 13.24KB </span>","children":null,"spread":false},{"title":"resources.ap_ <span style='color:#111;'> 35.74KB </span>","children":null,"spread":false}],"spread":true},{"title":".classpath <span style='color:#111;'> 364B </span>","children":null,"spread":false},{"title":"assets","children":null,"spread":false},{"title":"project.properties <span style='color:#111;'> 562B </span>","children":null,"spread":false},{"title":".project <span style='color:#111;'> 844B </span>","children":null,"spread":false},{"title":"gen","children":[{"title":"com","children":[{"title":"xxt","children":[{"title":"spinner2","children":[{"title":"R.java <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"BuildConfig.java <span style='color:#111;'> 158B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • zb2520 :
    差评,明显不好。
    2017-06-01
  • 血色顽主 :
    还可以,自己参考着来用,有点小Bug,不过不影响。
    2017-03-20
  • zhucan12 :
    有参考价值,但不是我想要的,还是感谢分享。
    2016-06-24
  • 承影v :
    有参考价值
    2016-06-23
  • bjw623 :
    终于实现了这个功能,谢谢
    2016-05-04
  • 54炸酱面 :
    还可以,自己参考着来用,有点小Bug,不过不影响。
    2016-04-08
  • 机魂 :
    还可以 偶尔用用
    2016-03-23
  • baidu_33551244 :
    可以用,但是还有点小BUG,点击选项后,弹出框无法自动关闭
    2015-12-29
  • 工程师的春天 :
    谢谢,下下来还没怎么使用,还是谢谢楼主分享的精神
    2015-11-23
  • 颜兮之 :
    看着好乱的说,对我帮助不大
    2015-11-12

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明