Click here to Skip to main content
14,579,188 members
Rate this:
Please Sign up or sign in to vote.
I don't know how to use Piccaso for Image retrieves from the server onItemSelected method can any one suggest the proper solution?.

<pre>@Override
    public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
        //Setting the values to textviews for a selected item

        Picasso.with(this)
                .load(Config.TAG_Img_URL)
                .fit()
                .into(myimg);

        textViewName.setText(getName(position));
        textViewCourse.setText(getCourse(position));
        textViewSession.setText(getSession(position));


    }


What I have tried:

I have search the google but not find any solution for this post that's why I am here for soltution
Posted
Updated 17-Jun-20 0:54am

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

See Picasso[^]
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100