Skip to content
This repository was archived by the owner on Mar 17, 2022. It is now read-only.

Commit b6f6149

Browse files
committed
Update ADVANCED-USAGE.md, ADVANCED-USAGE_EN.md
1 parent b43f781 commit b6f6149

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/ADVANCED-USAGE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,13 @@ BuzzScreen.getInstance().setOnPointListener(new OnPointListener() {
172172
@Override
173173
public void onSuccess(PointType type, int points) {
174174
// 적립 요청 성공 메세지
175-
Toast.makeText(MainActivity.this, points + " p 적립 요청이 완료되었습니다.", Toast.LENGTH_LONG).show();
175+
Toast.makeText(getApplicationContext(), points + " p 적립 요청이 완료되었습니다.", Toast.LENGTH_LONG).show();
176176
}
177177

178178
@Override
179179
public void onFail(PointType type) {
180180
// 포인트 적립 실패 메세지
181-
Toast.makeText(MainActivity.this, "네트워크 문제로 적립되지 않았습니다", Toast.LENGTH_LONG).show();
181+
Toast.makeText(getApplicationContext(), "네트워크 문제로 적립되지 않았습니다", Toast.LENGTH_LONG).show();
182182
}
183183

184184
});

docs/ADVANCED-USAGE_EN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,13 +183,13 @@ BuzzScreen.getInstance().setOnPointListener(new OnPointListener() {
183183
@Override
184184
public void onSuccess(PointType type, int points) {
185185
// Point accumulation request success message
186-
Toast.makeText(MainActivity.this, points + " p request succeeded!", Toast.LENGTH_LONG).show();
186+
Toast.makeText(getApplicationContext(), points + " p request succeeded!", Toast.LENGTH_LONG).show();
187187
}
188188

189189
@Override
190190
public void onFail(PointType type) {
191191
// Point accumulation request fail message
192-
Toast.makeText(MainActivity.this, "Fail to process points accumulation request due to the network issue..", Toast.LENGTH_LONG).show();
192+
Toast.makeText(getApplicationContext(), "Fail to process points accumulation request due to the network issue..", Toast.LENGTH_LONG).show();
193193
}
194194

195195
});

0 commit comments

Comments
 (0)