|
|
@@ -68,12 +68,18 @@ public class ShareKakaoTalk extends Share<Context> {
|
|
|
KakaoLinkService.getInstance().sendDefault(context, params, new ResponseCallback<KakaoLinkResponse>() {
|
|
|
@Override
|
|
|
public void onFailure(ErrorResult errorResult) {
|
|
|
+ if (null == context) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
Log.e("APP# ShareKakaoTalk | onFailure", "|" + errorResult.toString());
|
|
|
listener.onFailure(errorResult.getErrorCode(), errorResult.getErrorMessage());
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public void onSuccess(KakaoLinkResponse result) {
|
|
|
+ if (null == context) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
Log.i("APP# ShareKakaoTalk | onSuccess", "|" + result.toString());
|
|
|
// 템플릿 밸리데이션과 쿼터 체크가 성공적으로 끝남. 톡에서 정상적으로 보내졌는지 보장은 할 수 없다. 전송 성공 유무는 서버콜백 기능을 이용하여야 한다.
|
|
|
listener.onSuccess(result.toString());
|
|
|
@@ -125,12 +131,18 @@ public class ShareKakaoTalk extends Share<Context> {
|
|
|
KakaoLinkService.getInstance().sendDefault(context, params, new ResponseCallback<KakaoLinkResponse>() {
|
|
|
@Override
|
|
|
public void onFailure(ErrorResult errorResult) {
|
|
|
+ if (null == context) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
Log.e("APP# ShareKakaoTalk | onFailure", "|" + errorResult.toString());
|
|
|
listener.onFailure(errorResult.getErrorCode(), errorResult.getErrorMessage());
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public void onSuccess(KakaoLinkResponse result) {
|
|
|
+ if (null == context) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
Log.i("APP# ShareKakaoTalk | onSuccess", "|" + result.toString());
|
|
|
// 템플릿 밸리데이션과 쿼터 체크가 성공적으로 끝남. 톡에서 정상적으로 보내졌는지 보장은 할 수 없다. 전송 성공 유무는 서버콜백 기능을 이용하여야 한다.
|
|
|
listener.onSuccess(result.toString());
|
|
|
@@ -161,12 +173,18 @@ public class ShareKakaoTalk extends Share<Context> {
|
|
|
KakaoLinkService.getInstance().sendDefault(context, params, new ResponseCallback<KakaoLinkResponse>() {
|
|
|
@Override
|
|
|
public void onFailure(ErrorResult errorResult) {
|
|
|
+ if (null == context) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
Log.e("APP# ShareKakaoTalk | onFailure", "|" + errorResult.toString());
|
|
|
listener.onFailure(errorResult.getErrorCode(), errorResult.getErrorMessage());
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public void onSuccess(KakaoLinkResponse result) {
|
|
|
+ if (null == context) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
Log.i("APP# ShareKakaoTalk | onSuccess", "|" + result.toString());
|
|
|
// 템플릿 밸리데이션과 쿼터 체크가 성공적으로 끝남. 톡에서 정상적으로 보내졌는지 보장은 할 수 없다. 전송 성공 유무는 서버콜백 기능을 이용하여야 한다.
|
|
|
listener.onSuccess(result.toString());
|
|
|
@@ -196,12 +214,18 @@ public class ShareKakaoTalk extends Share<Context> {
|
|
|
KakaoLinkService.getInstance().sendDefault(context, params, new ResponseCallback<KakaoLinkResponse>() {
|
|
|
@Override
|
|
|
public void onFailure(ErrorResult errorResult) {
|
|
|
+ if (null == context) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
Log.e("APP# ShareKakaoTalk | onFailure", "|" + errorResult.toString());
|
|
|
listener.onFailure(errorResult.getErrorCode(), errorResult.getErrorMessage());
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
public void onSuccess(KakaoLinkResponse result) {
|
|
|
+ if (null == context) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
Log.i("APP# ShareKakaoTalk | onSuccess", "|" + result.toString());
|
|
|
// 템플릿 밸리데이션과 쿼터 체크가 성공적으로 끝남. 톡에서 정상적으로 보내졌는지 보장은 할 수 없다. 전송 성공 유무는 서버콜백 기능을 이용하여야 한다.
|
|
|
listener.onSuccess(result.toString());
|