test/activity/subclass_activity.rb in ruboto-1.0.0 vs test/activity/subclass_activity.rb in ruboto-1.0.1
- old
+ new
@@ -2,10 +2,9 @@
ruboto_import_widgets :LinearLayout, :ListView, :TextView
class SubclassOfArrayAdapter < Java::AndroidWidget::ArrayAdapter
def getView(position, convert_view, parent)
- puts 'IN get_view!!!'
@inflater ||= context.getSystemService(Context::LAYOUT_INFLATER_SERVICE)
row = convert_view ? convert_view : @inflater.inflate(mResource, nil)
row.findViewById(mFieldId).text = "[#{get_item(position)}]"
row
rescue Exception