Android Open Source - EnklawaPlayer A P I Response

From Project

Back to project page EnklawaPlayer.


The source code is released under:

GNU General Public License

If you think the Android project EnklawaPlayer 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 macbury.pod.api;
/*  w w  w.ja v a 2  s  .  co  m*/
import java.util.ArrayList;

 * Created by macbury on 09.09.14.
public class APIResponse {
  public String version;
  public String skype;
  public String phone;
  public String radio;

  public ArrayList<APICategory> categories;
  public ArrayList<APIProgram>  programs;
  public ArrayList<APIThread>   forum;

  public int countProgramsAndEpisodes() {
    int total = 1 + forum.size();
    for(APIProgram program : programs) {
      total += program.episodes.size();
    return total;

Java Source Code List