| 21478 |
rajender |
1 |
package com.saholic.profittill.Network;
|
|
|
2 |
|
|
|
3 |
import android.content.Context;
|
|
|
4 |
|
|
|
5 |
import com.saholic.profittill.Volley.AnalyticsErrorResponse;
|
|
|
6 |
import com.saholic.profittill.Volley.AnalyticsJsonResponse;
|
|
|
7 |
import com.saholic.profittill.Volley.NotificationPollingRequest;
|
|
|
8 |
|
|
|
9 |
import java.util.Map;
|
|
|
10 |
|
|
|
11 |
public class NotificationPoll {
|
|
|
12 |
public static void fetchNotfications(Context c,Map<String,String> gcmData,String url){
|
|
|
13 |
new NotificationPollingRequest(url,
|
|
|
14 |
gcmData,
|
|
|
15 |
AnalyticsJsonResponse.getAnalyticsRequestInstance(),
|
|
|
16 |
AnalyticsErrorResponse.getAnalyitcsResponseInstance(),c).notificationCountRequest(c);
|
|
|
17 |
}
|
|
|
18 |
}
|