Search in sources :

Example 6 with PhilmImageView

use of app.philm.in.view.PhilmImageView in project philm by chrisbanes.

the class PersonSectionedListAdapter method bindView.

@Override
protected void bindView(int position, View view, ListItem<PhilmPerson> item) {
    PhilmPerson person = item.getListItem();
    final TextView nameTextView = (TextView) view.findViewById(R.id.textview_title);
    nameTextView.setText(person.getName());
    final PhilmImageView imageView = (PhilmImageView) view.findViewById(R.id.imageview_poster);
    imageView.setAvatarMode(true);
    imageView.loadProfile(person);
}
Also used : PhilmPerson(app.philm.in.model.PhilmPerson) TextView(android.widget.TextView) PhilmImageView(app.philm.in.view.PhilmImageView)

Aggregations

TextView (android.widget.TextView)6 PhilmImageView (app.philm.in.view.PhilmImageView)6 View (android.view.View)2 PhilmMovie (app.philm.in.model.PhilmMovie)2 Bitmap (android.graphics.Bitmap)1 LightingColorFilter (android.graphics.LightingColorFilter)1 AdapterView (android.widget.AdapterView)1 ImageView (android.widget.ImageView)1 ListView (android.widget.ListView)1 PhilmMovieCredit (app.philm.in.model.PhilmMovieCredit)1 PhilmPerson (app.philm.in.model.PhilmPerson)1 PhilmPersonCredit (app.philm.in.model.PhilmPersonCredit)1