|
|
|
@ -68,6 +68,8 @@ interface StaticRowRepresentableDataSource: RowRepresentableDataSource { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* Interface extending [RowRepresentableDataSource] to guide the implementation of a live list of [RowRepresentable] |
|
|
|
* Interface extending [RowRepresentableDataSource] to guide the implementation of a live list of [RowRepresentable] |
|
|
|
* To do that, this interface overrides and provides a default implementation to specific methods of [RowRepresentableDataSource] |
|
|
|
* To do that, this interface overrides and provides a default implementation to specific methods of [RowRepresentableDataSource] |
|
|
|
@ -89,6 +91,10 @@ class DisplayDescriptor( |
|
|
|
var context: Context? = null) { |
|
|
|
var context: Context? = null) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class UnmanagedRowRepresentableException(message: String) : Exception(message) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* An interface used to provide RowRepresentableAdapter content and value in the form of rows |
|
|
|
* An interface used to provide RowRepresentableAdapter content and value in the form of rows |
|
|
|
* |
|
|
|
* |
|
|
|
@ -100,7 +106,6 @@ class DisplayDescriptor( |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
interface DisplayableDataSource { |
|
|
|
interface DisplayableDataSource { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fun contentDescriptorForRow(row: RowRepresentable): DisplayDescriptor? { |
|
|
|
fun contentDescriptorForRow(row: RowRepresentable): DisplayDescriptor? { |
|
|
|
return null |
|
|
|
return null |
|
|
|
} |
|
|
|
} |
|
|
|
|