Gallery g = (Gallery)findViewById(R.id.secondButton);

        @SuppressWarnings("deprecation")

        Gallery g = (Gallery)findViewById(R.id.secondButton);本来是这样的

删除Gallery g = (Gallery)findViewById(R.id.secondButton);这个后,就报这个错,

直接又删了  @SuppressWarnings("deprecation")即可


Gallery g = (Gallery)findViewById(R.id.secondButton);,布布扣,bubuko.com

Gallery g = (Gallery)findViewById(R.id.secondButton);

上一篇:Oracle 流复制实践笔记


下一篇:MySQL单列索引和组合索引的区别