Android Open Source - cnBeta Comment Service

From Project

Back to project page cnBeta.


The source code is released under:

Apache License

If you think the Android project cnBeta listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

?package com.guest.cnbeta.service;
// ww w . ja  va2 s.  c om
import java.util.List;

import android.content.Context;

import com.guest.cnbeta.loadsource.LoadSource;
import com.guest.cnbeta.loadsource.LoadSourceInterface;
import com.guest.cnbeta.module.Article;
import com.guest.cnbeta.module.Comment;

public class CommentService extends BaseService {
  private LoadSourceInterface loadSource = new LoadSource();

  public CommentService(Context context) {

  public List<Comment> getCommentList(Article article) throws IOException {
    return loadSource.getComments(article);

Java Source Code List