A-->B 后 B返回键返回到A 也在调用OnactivityResult方法 所以要对resultCode 判断调用方法 转载于:https://www.cnblogs.com/childyngy/p/5503979.html