Clean up previous commit and tabify source files
[unical.git] / src / ro / ieval / unical / EventAdapter.java
index b06e08a38fe06b3d3272b5fc0eb71032c5574304..7aa48338c6e01db21d9369210284d3c3e0edbae8 100644 (file)
@@ -21,18 +21,18 @@ public class EventAdapter extends ArrayAdapter<Event> {
        
        @Override
        public View getView(final int position, final View convertView, final ViewGroup parent) {
-           final LayoutInflater inflater = (LayoutInflater) context
-               .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
-           final View rowView = inflater.inflate(R.layout.event_row_layout, parent, false);
-           final TextView title = (TextView) rowView.findViewById(R.id.smalleventtitle);
-           final TextView dstart = (TextView) rowView.findViewById(R.id.smalldatestart);
-           final TextView dend = (TextView) rowView.findViewById(R.id.smalldateend);
-           final View header = rowView.findViewById(R.id.rowHeader);
-           header.setBackgroundColor(values[position].eventColour);
-           title.setText(values[position].title);
-           dstart.setText(new Date(values[position].dtstart).toString());
-           dend.setText(new Date(values[position].dtend).toString());
-           
-           return rowView;
+               final LayoutInflater inflater = (LayoutInflater) context
+                       .getSystemService(Context.LAYOUT_INFLATER_SERVICE);
+               final View rowView = inflater.inflate(R.layout.event_row_layout, parent, false);
+               final TextView title = (TextView) rowView.findViewById(R.id.smalleventtitle);
+               final TextView dstart = (TextView) rowView.findViewById(R.id.smalldatestart);
+               final TextView dend = (TextView) rowView.findViewById(R.id.smalldateend);
+               final View header = rowView.findViewById(R.id.rowHeader);
+               header.setBackgroundColor(values[position].eventColour);
+               title.setText(values[position].title);
+               dstart.setText(new Date(values[position].dtstart).toString());
+               dend.setText(new Date(values[position].dtend).toString());
+               
+               return rowView;
         }
 }
This page took 0.011407 seconds and 4 git commands to generate.