// Path: WhatAndroid/src/main/java/what/whatandroid/callbacks/ViewArtistCallbacks.java
// public interface ViewArtistCallbacks {
// 	/**
// 	 * Launch an artists activity viewing the artist
// 	 *
// 	 * @param id artist id to view
// 	 */
// 	public void viewArtist(int id);
// }
// 
// Path: WhatAndroid/src/main/java/what/whatandroid/callbacks/ViewUserCallbacks.java
// public interface ViewUserCallbacks {
// 	/**
// 	 * Request the activity to launch a profile activity viewing the user with some id
// 	 *
// 	 * @param id user id to view
// 	 */
// 	public void viewUser(int id);
// }


import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;
import android.widget.ExpandableListView;
import android.widget.TextView;
import api.cli.Utils;
import api.requests.TopContributor;
import api.torrents.torrents.Artist;
import api.torrents.torrents.MusicInfo;
import what.whatandroid.R;
import what.whatandroid.callbacks.ViewArtistCallbacks;
import what.whatandroid.callbacks.ViewUserCallbacks;
import java.util.List;
package what.whatandroid.request;



/**
 * Adapter for the expandable list view in the Request fragment that shows
 * the artists and top contributors
 */
public class RequestAdapter extends BaseExpandableListAdapter implements ExpandableListView.OnChildClickListener {
	private final LayoutInflater inflater;
	List<Artist> artists;
	List<TopContributor> topContributors;
	/**
	 * Callbacks to go view an artist or user in the list
	 */
// Path: WhatAndroid/src/main/java/what/whatandroid/callbacks/ViewArtistCallbacks.java
// public interface ViewArtistCallbacks {
// 	/**
// 	 * Launch an artists activity viewing the artist
// 	 *
// 	 * @param id artist id to view
// 	 */
// 	public void viewArtist(int id);
// }
// 
// Path: WhatAndroid/src/main/java/what/whatandroid/callbacks/ViewUserCallbacks.java
// public interface ViewUserCallbacks {
// 	/**
// 	 * Request the activity to launch a profile activity viewing the user with some id
// 	 *
// 	 * @param id user id to view
// 	 */
// 	public void viewUser(int id);
// }


// Path: WhatAndroid/src/main/java/what/whatandroid/request/RequestAdapter.java
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseExpandableListAdapter;
import android.widget.ExpandableListView;
import android.widget.TextView;
import api.cli.Utils;
import api.requests.TopContributor;
import api.torrents.torrents.Artist;
import api.torrents.torrents.MusicInfo;
import what.whatandroid.R;
import what.whatandroid.callbacks.ViewArtistCallbacks;
import what.whatandroid.callbacks.ViewUserCallbacks;
import java.util.List;

package what.whatandroid.request;



/**
 * Adapter for the expandable list view in the Request fragment that shows
 * the artists and top contributors
 */
public class RequestAdapter extends BaseExpandableListAdapter implements ExpandableListView.OnChildClickListener {
	private final LayoutInflater inflater;
	List<Artist> artists;
	List<TopContributor> topContributors;
	/**
	 * Callbacks to go view an artist or user in the list
	 */
	private ViewArtistCallbacks viewArtist;