Created
May 14, 2019 23:20
-
-
Save louis993546/33eec4c1faa8e069b299bc14f782938c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface ViewHolderFactory { | |
fun createViewHolder(parent: ViewGroup, onClick: () -> Unit): ViewHolder | |
} | |
class ViewHolderFactoryImpl1 : ViewHolderFactory { | |
override fun createViewHolder(parent: ViewGroup, onClick: () -> Unit): ViewHolder = TODO("") | |
} | |
class ViewHolderFactoryImpl2 : ViewHolderFactory { | |
override fun createViewHolder(parent: ViewGroup, onClick: () -> Unit): ViewHolder = TODO("") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment