@Override
 public View newView(Context context, Cursor cursor, ViewGroup parent) {
   // create a custom view, so we can manage it ourselves. Mainly, we want to
   // initialize the widget views (by calling getViewById()) in newView() instead of in
   // bindView(), which can be called more often.
   ProviderListItem view =
       (ProviderListItem) mInflater.inflate(R.layout.account_view, parent, false);
   view.init(cursor);
   return view;
 }
 @Override
 public void bindView(View view, Context context, Cursor cursor) {
   ((ProviderListItem) view).bindView(cursor);
 }