Bimba.git

ref: 7dcb164287300b599929882796c9260ad999346d

app/src/main/java/ml/adamsprogs/bimba/models/suggestions/GtfsSuggestion.kt


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
package ml.adamsprogs.bimba.models.suggestions

import android.content.Context

abstract class GtfsSuggestion(val name: String) : Comparable<GtfsSuggestion> {
    abstract fun getIcon(): Int

    abstract fun getColour(): Int

    abstract fun getBgColour(): Int

    abstract fun getBody(context: Context): String

    abstract override fun equals(other: Any?): Boolean

    abstract override fun hashCode(): Int
}