是否有可能在 ViewSwitcher 中获取当前显示图像的名称/参考/ID?
switcher = (ViewSwitcher) findViewById(R.id.viewSwitcher);
[...]
@Override
public boolean onSingleTapUp(MotionEvent e) {
Log.d(TAG, "tell me please, how to get the name/reference/id/etc of the currently displayed image, so i can start a specific action relating to the current image");
return false;
}
谢谢!
托拜厄斯