活动一:
ImageView image=(ImageView)findViewById(R.id.imageicon);
in.putExtra("image",R.id.imageicon);
活动二:
int RecipeImage = in.getIntExtra("image",0);
ImageView imageview=(ImageView)findViewById(R.id.imageView1);
imageview.setImageResource(RecipeImage);
问题 :
java.lang.RuntimeException:无法启动活动 ComponentInfo{com.example.wireframe/com.example.wireframe.singlemenuitem}:java.lang.NullPointerException