Good, I'm doing a query to an array json, everything works wonders, the code is simple and light, the problem I get when I want to add an image to my listview, since it does not show me.
I have this code snippet:
ListAdapter adapter = new SimpleAdapter(
tab_bancos.this, BancoList,
R.layout.lista_bancos, new String[]{"logo","bank", "accholder",
"id", "account"}, new int[]{
R.id.bankimg,R.id.bankname,
R.id.bankacch, R.id.bankaccid, R.id.accnumber});
lv.setAdapter(adapter);
I want to know if I can use picasso to enter the image, in other tests this code has worked well for me:
pruebitalogo = (CircleImageView)view.findViewById(R.id.pruebitaimg);
Picasso.with(getActivity()).load("http://www.asturscore.com/wp-content/uploads/2017/02/Logan.jpeg").into(R.id.pruebitalogo);
Now, what I want is to replace in my code "logo" and that I accept the url and fill the object R.id.bankimg