修改代码遗留问题

This commit is contained in:
kehaoyuan
2017-06-22 15:05:11 +08:00
parent b632cbba0f
commit 8f1f679077
11 changed files with 174 additions and 37 deletions

View File

@ -86,17 +86,17 @@ public class ShareUtils {
public IUiListener QqShareListener = new IUiListener() {
@Override
public void onComplete(Object o) {
Utils.toast(mContext, "分享成功");
Utils.toast(mContext, mContext.getString(R.string.share_success_hint));
}
@Override
public void onError(UiError uiError) {
Utils.toast(mContext, "分享失败");
Utils.toast(mContext, mContext.getString(R.string.share_fail_hint));
}
@Override
public void onCancel() {
Utils.toast(mContext, "分享已取消");
Utils.toast(mContext, mContext.getString(R.string.share_cancel_hint));
}
};
@ -209,7 +209,7 @@ public class ShareUtils {
//QQ分享
private void qqSahre() {
Utils.toast(mContext, "分享跳转中...");
Utils.toast(mContext, mContext.getString(R.string.share_skip));
Bundle params = new Bundle();
String title;
@ -251,7 +251,7 @@ public class ShareUtils {
//微信好友分享
private void wechatSahre() {
Utils.toast(mContext, "分享跳转中...");
Utils.toast(mContext, mContext.getString(R.string.share_skip));
WXWebpageObject webpage = new WXWebpageObject();
WXMediaMessage msg = new WXMediaMessage(webpage);
webpage.webpageUrl = shareUrl;
@ -363,7 +363,7 @@ public class ShareUtils {
//QQ空间分享
private void qZoneSahre() {
Utils.toast(mContext, "分享跳转中...");
Utils.toast(mContext, mContext.getString(R.string.share_skip));
Bundle params = new Bundle();
String title;
@ -409,7 +409,7 @@ public class ShareUtils {
//微信朋友圈分享
private void wechatMomentsSahre() {
Utils.toast(mContext, "分享跳转中...");
Utils.toast(mContext, mContext.getString(R.string.share_skip));
WXWebpageObject webpage = new WXWebpageObject();
WXMediaMessage msg = new WXMediaMessage(webpage);