An Activity in Android is a crucial component of an application. It represents a single screen with a user interface. In simpler terms, an Activity is the entry point for interacting with the user and is fundamental to the Android app experience.
Inside onelib, you just need to extend the BaseActivity and include the binding of the activity's view. For example:
classMainActivity : BaseActivity<ActivityMainBinding>() {overridefungetViewBinding(): ActivityMainBinding= ActivityMainBinding.inflate(layoutInflater)overridefuninitIntent() {}overridefuninitUI() {// Hanle ui here, ex: set text and etc }overridefuninitAction() {// Handle action here, ex: onclick and etc }overridefuninitProcess() {// Handle Process here, ex: load data, etc }overridefuninitObservers() {// Handle Observers here, ex: LiveData, Flow, etc }}