rowItems = new ArrayList();
listView = (ListView) findViewById(R.id.frame); // this maybe the problem
CustomAdapter adapter = new CustomAdapter(this, R.layout.item, null);
listView.setAdapter(adapter);
//listView.setOnItemClickListener(this);
final SwipeFlingAdapterView flingContainer = (SwipeFlingAdapterView) findViewById(R.id.frame);
Here is the error message:
Caused by: java.lang.ClassCastException: com.lorentzos.flingswipe.SwipeFlingAdapterView cannot be cast to android.widget.ListView
After reviewing the error message, I know maybe I shouldn't use listview.
Anyone would please tell me how to modify it
I have review all the issues. I am trying to replace the blue card with different image background. I know I need to create a custom adapter. I have followed this. http://theopentutorials.com/tutorials/android/listview/android-custom-listview-with-image-and-text-using-arrayadapter/
I added follow in main activity.
Here is the error message:
After reviewing the error message, I know maybe I shouldn't use listview. Anyone would please tell me how to modify it