Last active
August 18, 2017 08:35
-
-
Save piotrmadry/3aca2a051d9fc2eeeaa7bb96adbd1693 to your computer and use it in GitHub Desktop.
This file contains 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
abstract class BaseFragment : Fragment() { | |
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { | |
super.onViewCreated(view, savedInstanceState) | |
ToolbarManager(builder(), view).prepareToolbar() | |
} | |
protected abstract fun builder(): FragmentToolbar | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment