Search in sources :

Example 1 with ReviewFragmentStrategy

use of org.eyeseetea.malariacare.strategies.ReviewFragmentStrategy in project pictureapp by EyeSeeTea.

the class ReviewScreenAdapter method getView.

@Override
public View getView(final int position, View convertView, ViewGroup parent) {
    // Get the row layout
    Value value = (Value) getItem(position);
    TableRow rowView = (TableRow) this.lInflater.inflate(getRecordLayout(), parent, false);
    ReviewFragmentStrategy reviewFragmentStrategy = new ReviewFragmentStrategy();
    return reviewFragmentStrategy.createViewRow(rowView, value);
}
Also used : ReviewFragmentStrategy(org.eyeseetea.malariacare.strategies.ReviewFragmentStrategy) TableRow(android.widget.TableRow) Value(org.eyeseetea.malariacare.data.database.model.Value)

Aggregations

TableRow (android.widget.TableRow)1 Value (org.eyeseetea.malariacare.data.database.model.Value)1 ReviewFragmentStrategy (org.eyeseetea.malariacare.strategies.ReviewFragmentStrategy)1