Today, I encountered a problem in my project. There are three reusable fragments corresponding to TabLayout and ViewPager on one page. When I used EventBus,...
The original address: www.jianshu.com/p/5832c7766... I didn't write a line of code to implement the Toolbar! And you're still wrapping BaseActivity? It was a month ago,...
Then you need to register and unregister. Remember to register and unregister in pairs, otherwise it will leak memory. EventBus uses APT annotations to find...
Related concepts define the Android event publish/subscribe framework, which simplifies communication between components within applications and between components and background threads. Advantages simple code, simple...
Android base development library to make development easier. EventBus is a publish/subscribe based EventBus (data communication framework) that simplifies data communication between components and threads...
When developing an App using BmobSDK, there are a lot of asynchronous callbacks, such as successful login, successful insertion of data events. Although V3.5.0 starts...
Java is a statically strongly typed language, but it also has some dynamically typed language capabilities because it provides mechanisms like reflection. Definition: an object...
After the previous three articles, I believe that you have a certain degree of understanding of componentization. One component infrastructure has been highlighted throughout the...
The basic usage of LiveData was introduced in the Android Jetpack series LiveData. In this article, we will introduce An advanced usage of LiveData -...
EventBus is an event-subscription/publishing framework based on the observer pattern, which enables low-coupling message communication between different modules. EventBus is widely used in production projects...
LiveDataBus is a cliche, but today we're doing something something different. Nonsense not much said, the first address: https://github.com/cyixlq/LiveEventBus in the component from the inactive...
EventBus is an Android/Java subscription-based communication framework that can be used for Activities, Fragments, Threads, Services, etc., as well as for multi-threaded communication. BroadcastReceiver/LocalBroadcastReceiv...
Many of you will be familiar with EventBus, and while JetPack is now Google's official replacement, some of the design ideas behind EventBus are worth...