org.whispersystems.libpastelog
Class ShareIntentListAdapter

java.lang.Object
  extended by android.widget.BaseAdapter
      extended by android.widget.ArrayAdapter<android.content.pm.ResolveInfo>
          extended by org.whispersystems.libpastelog.ShareIntentListAdapter
All Implemented Interfaces:
android.widget.Adapter, android.widget.Filterable, android.widget.ListAdapter, android.widget.SpinnerAdapter

public class ShareIntentListAdapter
extends android.widget.ArrayAdapter<android.content.pm.ResolveInfo>

rhodey


Field Summary
 
Fields inherited from interface android.widget.Adapter
IGNORE_ITEM_VIEW_TYPE, NO_SELECTION
 
Constructor Summary
ShareIntentListAdapter(android.content.Context context, android.content.pm.ResolveInfo[] items)
           
 
Method Summary
static ShareIntentListAdapter getAdapterForIntent(android.content.Context context, android.content.Intent shareIntent)
           
 android.view.View getView(int position, android.view.View convertView, android.view.ViewGroup parent)
           
 
Methods inherited from class android.widget.ArrayAdapter
add, addAll, addAll, clear, createFromResource, getContext, getCount, getDropDownView, getFilter, getItem, getItemId, getPosition, insert, notifyDataSetChanged, remove, setDropDownViewResource, setNotifyOnChange, sort
 
Methods inherited from class android.widget.BaseAdapter
areAllItemsEnabled, getItemViewType, getViewTypeCount, hasStableIds, isEmpty, isEnabled, notifyDataSetInvalidated, registerDataSetObserver, unregisterDataSetObserver
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShareIntentListAdapter

public ShareIntentListAdapter(android.content.Context context,
                              android.content.pm.ResolveInfo[] items)
Method Detail

getAdapterForIntent

public static ShareIntentListAdapter getAdapterForIntent(android.content.Context context,
                                                         android.content.Intent shareIntent)

getView

public android.view.View getView(int position,
                                 android.view.View convertView,
                                 android.view.ViewGroup parent)
Specified by:
getView in interface android.widget.Adapter
Overrides:
getView in class android.widget.ArrayAdapter<android.content.pm.ResolveInfo>