Open miklobej opened 6 years ago
this is my model
OColumn state_order = new OColumn("state_order", OSelection.class) .addSelection("draft","New") .addSelection("paid","Paid") .addSelection("cancel","Cancelled") .addSelection("done","Posted") .addSelection("invoiced","Invoiced")
In my Fragment I need to read state_order value This is my code
public void onViewBind(View view, Cursor cursor, ODataRow row) { OControls.setText(view, R.id.state, row.getString("state_order")); }
But he show me False value
this is my model
OColumn state_order = new OColumn("state_order", OSelection.class) .addSelection("draft","New") .addSelection("paid","Paid") .addSelection("cancel","Cancelled") .addSelection("done","Posted") .addSelection("invoiced","Invoiced")
In my Fragment I need to read state_order value This is my code
public void onViewBind(View view, Cursor cursor, ODataRow row) { OControls.setText(view, R.id.state, row.getString("state_order")); }
But he show me False value