Last active
February 2, 2020 07:37
-
-
Save wisnukurniawan/da8b1a2e194f79a37928c0aac6d83b2b 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
class MainActivity : AppCompatActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContentView(R.layout.activity_main) | |
// Get list of FeatureLaunchable from custom Application | |
val features = (applicationContext as? Launcher.Provider)?.launcher?.features | |
// println(features) | |
// | |
// arrayListOf<FeatureLaunchable>( | |
// OrderFlightFeature(), | |
// OrderHotelFeature(), | |
// OrderTrainFeature(), | |
// TransactionFeature(), | |
// SettingFeature() | |
// ) | |
// Mapping FeatureLaunchable into UI model | |
// Then set the UI model in our recycler view | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment