Android Open Source - Flippy-Radio Pls Adapter

From Project

Back to project page Flippy-Radio.


The source code is released under:

Apache License

If you think the Android project Flippy-Radio 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.bitflippersanonymous.flippy.domain;
/*from ww  w .  j  av a  2  s  . c om*/
import java.util.List;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ListAdapter;

public class PlsAdapter extends BaseAdapter implements ListAdapter {

  private final List<PlsEntry> mContent;

  public PlsAdapter(List<PlsEntry> content) {
    mContent = content;
  public int getCount() {
    return mContent.size();

  public PlsEntry getItem(int position) {
    return mContent.get(position);

  public long getItemId(int position) {
    return position;

  public View getView(int position, View reuse, ViewGroup group) {
    EntryView view;
    if (reuse != null && reuse instanceof EntryView)
      view = (EntryView) reuse;
      view = new EntryView(group.getContext());
    return view;

Java Source Code List