Essays (9)

1.kotlin+databinding遇到Unresolved reference: databindin
2.An exception occurred: android.databinding.tool.util.LoggedErrorException: Found data binding errors.
3.
4. kotlin anonymous inner class
/** * Takes an object expression to create an interface object, an instance of an anonymous inner class. */
/* Take an object expression to create an interface object, an instance of an anonymous inner class. */
 val mMainListClickCallback = object : MainListClickListener {
     override fun onClick ( mainListModel : MainListModel){
         if (getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED ) ) {
            Log.d( TAG , "lifecycle life cycle judgment + anonymous inner class increase monitoring" )
        }
    }
}
5. Some suggestions on using Android MVVM + LiveData pattern
Don't let ViewModels (and Presenters) know anything about the Android framework's classes.
6. Getting Started Guide for Android Audio and Video Development

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325808449&siteId=291194637