|
|
|
|
323
|
public void onResult(SHARE_MEDIA platform) {
|
323
|
public void onResult(SHARE_MEDIA platform) {
|
324
|
|
324
|
|
325
|
if (platform.name().equals("WEIXIN_FAVORITE")) {
|
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
|
} else {
|
327
|
} else {
|
328
|
if (platform != SHARE_MEDIA.MORE && platform != SHARE_MEDIA.SMS
|
328
|
if (platform != SHARE_MEDIA.MORE && platform != SHARE_MEDIA.SMS
|
329
|
&& platform != SHARE_MEDIA.EMAIL
|
329
|
&& platform != SHARE_MEDIA.EMAIL
|
|
|
|
|
337
|
&& platform != SHARE_MEDIA.GOOGLEPLUS
|
337
|
&& platform != SHARE_MEDIA.GOOGLEPLUS
|
338
|
&& platform != SHARE_MEDIA.YNOTE
|
338
|
&& platform != SHARE_MEDIA.YNOTE
|
339
|
&& platform != SHARE_MEDIA.EVERNOTE) {
|
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
|
&& platform != SHARE_MEDIA.GOOGLEPLUS
|
357
|
&& platform != SHARE_MEDIA.GOOGLEPLUS
|
358
|
&& platform != SHARE_MEDIA.YNOTE
|
358
|
&& platform != SHARE_MEDIA.YNOTE
|
359
|
&& platform != SHARE_MEDIA.EVERNOTE) {
|
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
|
if (t != null) {
|
361
|
if (t != null) {
|
362
|
Log.d("throw", "throw:" + t.getMessage());
|
362
|
Log.d("throw", "throw:" + t.getMessage());
|
363
|
}
|
363
|
}
|
|
|
|
|
368
|
@Override
|
368
|
@Override
|
369
|
public void onCancel(SHARE_MEDIA platform) {
|
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
|
|