Release v2.0.1

This commit is contained in:
Tommaso Berlose
2020-05-03 17:54:35 +02:00
parent 3aecf9851a
commit 9a978ac8d3
135 changed files with 2368 additions and 1221 deletions

View File

@ -0,0 +1,16 @@
package com.tommasoberlose.anotherwidget.models
/**
* Created by tommaso on 08/10/17.
*/
class CalendarSelector(id: Long, name: String?, accountName: String?) {
var id: Long = 0
var name: String = ""
var accountName: String = ""
init {
this.id = id
this.name = name ?: ""
this.accountName = accountName ?: ""
}
}

View File

@ -0,0 +1,22 @@
package com.tommasoberlose.anotherwidget.models
import io.realm.RealmObject
import java.util.Date
/**
* Created by tommaso on 05/10/17.
*/
open class Event(var id: Long = 0,
var eventID: Long = 0,
var title: String = "",
var startDate: Long = 0,
var endDate: Long = 0,
var calendarID: Int = 0,
var allDay: Boolean = false,
var address: String = "") : RealmObject(){
override fun toString(): String {
return "Event:\nID: " + id + "\nTITLE: " + title + "\nSTART DATE: " + Date(startDate) + "\nEND DATE: " + Date(endDate) + "\nCAL DAY: " + calendarID + "\nADDRESS: " + address
}
}