Пример #1
0
 @Override
 protected void onFinishInflate() {
   super.onFinishInflate();
   mNameView = (TextView) findViewById(R.id.group_name);
   mTaskCountView = (TextView) findViewById(R.id.group_task_count);
   mNameView.setText(mGroup.getName());
   mNameView.setTypeface(TaskTimerApplication.Typefaces.ROBOTO_LIGHT);
   Log.v(TAG, "Inflated");
 }
Пример #2
0
 @Override
 public void invalidate() {
   super.invalidate();
   mNameView.setText(mGroup.getName());
 }