11 |
private String locale; |
private String locale; |
12 |
private List<CommentBean> commentBeans; |
private List<CommentBean> commentBeans; |
13 |
|
|
14 |
|
private int entryCount; |
15 |
|
|
16 |
public void setLocale(String loc) { |
public void setLocale(String loc) { |
17 |
locale = loc; |
locale = loc; |
18 |
} |
} |
21 |
commentBeans = cl; |
commentBeans = cl; |
22 |
} |
} |
23 |
|
|
24 |
|
public int getEntryCount() { |
25 |
|
return entryCount; |
26 |
|
} |
27 |
|
|
28 |
|
|
29 |
@Override |
@Override |
30 |
public void onResult(ResponseContext context, CommentsResponse response) { |
public void onResult(ResponseContext context, CommentsResponse response) { |
31 |
//System.out.println("Response : " + response); |
//System.out.println("Response : " + response); |
32 |
//sb.append("Response: " + response + "\n"); |
//sb.append("Response: " + response + "\n"); |
33 |
|
entryCount = response.getEntriesCount(); |
34 |
|
System.out.println("Count="+entryCount); |
35 |
|
|
36 |
List<Comment> cl = response.getCommentsList(); |
List<Comment> cl = response.getCommentsList(); |
37 |
for (Comment c : cl) { |
for (Comment c : cl) { |