0
발리처럼 개조 2 태그로 특정 요청을 취소 할 수있는 방법이 있습니까? 발리에서 우리는 이것을함으로써 요청을 취소 할 수 있습니다.개조 중 태그 별 요청을 취소하는 방법 2?
sRequestQueue = Volley.newRequestQueue(appContext);
public void enqueueRequest(Request req) {
sRequestQueue.add(req);
}
public void cancelTaggedRequests(String tag) {
sRequestQueue.cancelAll(tag);
}
Retrofit 2.0과 비슷한 방법이 있습니까?