Skip to content

Instantly share code, notes, and snippets.

Last active Sep 13, 2017
What would you like to do?
package com.projects.jezinka.myplaces
import android.provider.BaseColumns
object MyPlacesContract {
data class MyPlace(val id: Long,
val longitude: String,
val latitude: String,
val note: String,
val order: Int)
class MyPlaceEntry : BaseColumns {
companion object {
val TABLE_NAME = "my_place"
val _ID = "_id"
val COLUMN_NAME_LONGITUDE = "longitude"
val COLUMN_NAME_LATITUDE = "latitude"
val COLUMN_NAME_NOTE = "note"
val COLUMN_NAME_ORDER = "order_no"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment