Skip to content

Instantly share code, notes, and snippets.

@pbrewczynski
Created December 11, 2013 07:24
Show Gist options
  • Save pbrewczynski/7906291 to your computer and use it in GitHub Desktop.
Save pbrewczynski/7906291 to your computer and use it in GitHub Desktop.
@Override
public View getView(int i, View view, ViewGroup viewGroup) {
Log.v(MainActivity.TAG, "getView executed");
LayoutInflater layoutInflater = (LayoutInflater)MainActivity.this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View taskRoot = layoutInflater.inflate(R.layout.one_task, null);
((TextView) taskRoot.findViewById(R.id.seconds_edit_text)).setText("00");
((TextView) taskRoot.findViewById(R.id.minutes_edit_text)).setText("00");
((TextView) taskRoot.findViewById(R.id.hours_edit_text)).setText("00");
return taskRoot;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment