|
@@ -323,7 +323,7 @@ public class MineFragment extends MVPFragment<MinePresent, MineModel> implements
|
323
|
323
|
public void onResult(SHARE_MEDIA platform) {
|
324
|
324
|
|
325
|
325
|
if (platform.name().equals("WEIXIN_FAVORITE")) {
|
326
|
|
- Toast.makeText(mActivity.get(), platform + " 收藏成功啦", Toast.LENGTH_SHORT).show();
|
|
326
|
+ Toast.makeText(mActivity.get()," 收藏成功啦", Toast.LENGTH_SHORT).show();
|
327
|
327
|
} else {
|
328
|
328
|
if (platform != SHARE_MEDIA.MORE && platform != SHARE_MEDIA.SMS
|
329
|
329
|
&& platform != SHARE_MEDIA.EMAIL
|
|
@@ -337,7 +337,7 @@ public class MineFragment extends MVPFragment<MinePresent, MineModel> implements
|
337
|
337
|
&& platform != SHARE_MEDIA.GOOGLEPLUS
|
338
|
338
|
&& platform != SHARE_MEDIA.YNOTE
|
339
|
339
|
&& platform != SHARE_MEDIA.EVERNOTE) {
|
340
|
|
- Toast.makeText(mActivity.get(), platform + " 分享成功啦", Toast.LENGTH_SHORT).show();
|
|
340
|
+ Toast.makeText(mActivity.get(), " 分享成功啦", Toast.LENGTH_SHORT).show();
|
341
|
341
|
}
|
342
|
342
|
|
343
|
343
|
}
|
|
@@ -357,7 +357,7 @@ public class MineFragment extends MVPFragment<MinePresent, MineModel> implements
|
357
|
357
|
&& platform != SHARE_MEDIA.GOOGLEPLUS
|
358
|
358
|
&& platform != SHARE_MEDIA.YNOTE
|
359
|
359
|
&& platform != SHARE_MEDIA.EVERNOTE) {
|
360
|
|
- Toast.makeText(mActivity.get(), platform + " 分享失败啦", Toast.LENGTH_SHORT).show();
|
|
360
|
+ Toast.makeText(mActivity.get(), " 分享失败啦", Toast.LENGTH_SHORT).show();
|
361
|
361
|
if (t != null) {
|
362
|
362
|
Log.d("throw", "throw:" + t.getMessage());
|
363
|
363
|
}
|
|
@@ -368,7 +368,7 @@ public class MineFragment extends MVPFragment<MinePresent, MineModel> implements
|
368
|
368
|
@Override
|
369
|
369
|
public void onCancel(SHARE_MEDIA platform) {
|
370
|
370
|
|
371
|
|
- Toast.makeText(mActivity.get(), platform + " 分享取消了", Toast.LENGTH_SHORT).show();
|
|
371
|
+ Toast.makeText(mActivity.get(), " 分享取消了", Toast.LENGTH_SHORT).show();
|
372
|
372
|
}
|
373
|
373
|
}
|
374
|
374
|
|