Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oselection problem reading #371

Open
miklobej opened this issue Apr 13, 2018 · 0 comments
Open

Oselection problem reading #371

miklobej opened this issue Apr 13, 2018 · 0 comments

Comments

@miklobej
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant