Add images and some textbox also button in each swipe card
Hi thanks for your great library Now I need to add image and some text with a button relate to each swipecard I tried to change that but I was not satisfied would you mind please help me to change that or give me a small example thanks best regards
You need two list one for text another for image(drawable image id), ---> then set to adapter ---> then remove "arraylistofImage(0)" at position zero on swipe event; Check http://stackoverflow.com/questions/20880841/how-to-add-imageview-array-to-arrayadapter-for-a-listview
Hi Sir,
I been trying to implement it with images but this error keeps appearing "ArrayAdapter requires the resource ID to be a TextView"
Could you please give me an advice?, Does the code work with images?
Thanks
@harolhiguera that simply means that the resource for that ID you're passing through to the adapter is not a TextView, have you checked the type of view linked to that ID?
I see, I was afraid of that, although I could not identify what kind of Ids can I used for the SwingAdapter class, its quite complex. Thank you Alex for your quick response. By the way,..what a good library, It sure is very handy for many people. I am myself working in a project and need this feature.
Thanks.
Harol