Back to project page Android-Database-Complex-Joins.
The source code is released under:
Apache License
If you think the Android project Android-Database-Complex-Joins listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package be.florien.databasecomplexjoins.primitivefield; //w w w .j av a2 s . c o m import android.database.Cursor; import be.florien.databasecomplexjoins.architecture.DBPrimitiveField; public class BooleanField extends DBPrimitiveField<Boolean> { public BooleanField(String fieldName) { super(fieldName); } @Override protected void extractRowValue(Cursor cursor, int column) { int value = cursor.getInt(column); mCurrentObject = (value == 1); } }