Update strings

feature/top10
Aurelien Hubert 7 years ago
parent e2e036546d
commit 6c1f064d28
  1. 9
      app/src/main/java/net/pokeranalytics/android/ui/view/rowrepresentable/TitleRowRepresentable.kt
  2. 1
      app/src/main/res/values/strings.xml

@ -6,14 +6,15 @@ import net.pokeranalytics.android.ui.view.RowRepresentable
import net.pokeranalytics.android.ui.view.RowViewType
/**
* A class to display headers as row representable
* A class to display a title (and a value) as a Row Representable object
*/
class HeaderRowRepresentable(
class TitleRowRepresentable(
var customViewType: RowViewType? = RowViewType.HEADER_TITLE,
override var resId: Int? = null,
var title: String? = null,
var value: String? = null,
var computedStat: ComputedStat? = null
var computedStat: ComputedStat? = null,
var isSelectable: Boolean? = false
) : RowRepresentable {
override fun localizedTitle(context: Context): String {
@ -27,8 +28,6 @@ class HeaderRowRepresentable(
return "LOCALISATION NOT FOUND"
}
override val viewType: Int = customViewType?.ordinal ?: RowViewType.HEADER_TITLE.ordinal
}

@ -19,6 +19,7 @@
<string name="hands_played">Hands played</string>
<string name="address">Address</string>
<string name="suggestions">Suggestions</string>
<string name="data_deleted" formatted="false">%s deleted</string>
<string name="end_date_not_possible">The end date should be after the start date</string>

Loading…
Cancel
Save