use of com.squareup.picasso.Picasso in project android-shape-imageview by siyamed.
the class SampleBubbleFragment method onCreateView.
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_chat_sample, container, false);
final Picasso picasso = Picasso.with(getActivity());
picasso.setLoggingEnabled(true);
picasso.setIndicatorsEnabled(false);
int listLayout1 = getArguments().getInt(ARG_LAYOUT_1);
int listLayout2 = getArguments().getInt(ARG_LAYOUT_2);
final ListView listView = (ListView) view.findViewById(R.id.list);
Adapter adapter = new Adapter(getActivity(), picasso, listLayout1, listLayout2);
listView.setAdapter(adapter);
return view;
}
Aggregations