Start activity from adapter don't work with SwipeListView library
问题 I'm using SwipeListView library and I'm getting error when trying to start an activity in my adapter. public class ProductAdapter extends ArrayAdapter<Product> { private Context context; public ProductAdapter(Context context, int textViewResourceId, List<Product> objects) { super(context, textViewResourceId, objects); } @Override public View getView(int position, View convertView, ViewGroup parent) { ViewHolder viewHolder; final Product product = getItem(position); if (convertView == null) {