@@ -0,0 +1,1859 @@
+package com.sometrik.framework;%0A%0Aimport java.util.ArrayList;%0A%0Aimport android.content.Context;%0Aimport android.util.Log;%0Aimport android.view.View;%0Aimport android.widget.ListView;%0A%0Apublic class FWList extends ListView implements NativeCommandHandler%7B%0A%0A  private FrameWork frame;%0A  private FWAdapter adapter;%0A  %0A  public FWList(FrameWork frame, FWAdapter adapter) %7B%0A    super(frame);%0A    this.frame = frame;%0A    this.adapter = adapter;%0A    setAdapter(adapter);%0A  %7D%0A  %0A  public void addData(int row, int column, String text)%7B%0A    Log.d(%22FWList%22, %22adding data for row %22 + row + %22 column %22 + column);%0A    ArrayList%3CString%3E dataRow = adapter.getDataRow(row);%0A    if (dataRow != null)%7B%0A      Log.d(%22FWList%22, %22row found adding data%22);%0A      dataRow.add(column, text);%0A    %7D else %7B%0A      Log.d(%22FWList%22, %22creating new row%22);%0A      dataRow = new ArrayList%3CString%3E();%0A      dataRow.add(text);%0A      adapter.addItem(dataRow);%0A    %7D%0A  %7D%0A%0A  @Override%0A  public void onScreenOrientationChange(boolean isLandscape) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void addChild(View view) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void addOption(int optionId, String text) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void setValue(String v) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void setValue(int v) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void setViewEnabled(Boolean enabled) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void setStyle(String key, String value) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public void setError(boolean hasError, String errorText) %7B%0A    // TODO Auto-generated method stub%0A    %0A  %7D%0A%0A  @Override%0A  public int getElementId() %7B%0A    return getId();%0A  %7D%0A%0A%7D%0A

Add FWList