Skip to content

Instantly share code, notes, and snippets.

@AmaroNeto
Created August 11, 2019 22:34
Show Gist options
  • Save AmaroNeto/4b6eb8656b73e9ff1e120210f3139ff6 to your computer and use it in GitHub Desktop.
Save AmaroNeto/4b6eb8656b73e9ff1e120210f3139ff6 to your computer and use it in GitHub Desktop.
Interface de contrato para todos os objetos serem genéricos para RecycleView Adapter
interface AdapterObject {
fun layoutId() : Int
fun isFilterable(filter: String) : Boolean
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment