Created
March 7, 2018 12:54
-
-
Save jakubkinst/eeeac7e84ff6c6ce9d1eb4b0d3e72f2d 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 SignInView { | |
//... | |
} | |
class SignInFragment : Fragment(), SignInView { | |
val vmb by vmb<SignInViewModel, FragmentSignInBinding>(R.layout.fragment_sign_in) | |
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { | |
return vmb.rootView | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment