https://kotlinlang.org logo
#anko
Title
# anko
s

sqia09

09/21/2017, 9:37 AM
can anyone tell me why Im getting a Cast Exception when retrieving values from db using anko sqlite? Object Model for DB :
Copy code
object NodeTable {
    val TABLE_NAME = "scanned_nodes"
    val TABLE_ID = "_id"
    val ROUTE_ID = "route_id"
    val SITE_ID = "site_id"
    val ACTIVITY_ID = "activity_id"
    val EQUIPMENT_ID = "equipment_id"
    val BARCODE = "barcode"
    val SCANNED_ON = "scanned_on"
    val SCANNED_BY = "scanned_by"
    val DEVICE_IMEI = "device_imei"
}