I have an error in FLAG_ACTIVITY_NO_ANIMATION in Eclipse which says开发者_运维技巧 Cannot be resolved or is not a field.
Below are my coding:
Intent intent = new Intent(v.getContext(), newactivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION);
getContext().startActivity(intent);
Thank you.
精彩评论