Activiti series (4) automatic submission of the first step of the process
1. Reasons for realizing the first step of automatic submission
Comparing the following two flow charts, we can see that the second chart better reflects the process of application initiation. In addition, the second flow chart can better realize the business logic of the leader approval phase returning to the initi ...
Posted by LAMP on Fri, 03 Apr 2020 06:19:19 -0700
Message notification event in Android monitoring system
0. Learning articles
Refer to the following Blog without any extra code
https://blog.csdn.net/wanghang1208/article/details/49905403
The original Baidu guard notice bar is similar to this principle, very good
1. Demonstration results
Data source
log monitored
03-24 14:37:04.264 6155-6155/com.lava.noticeobser D/ ...
Posted by eerok on Fri, 03 Apr 2020 05:40:58 -0700
ActiveMQ and spring integration
1 producers
Step 1: reference the relevant jar package.
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jms</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
</depende ...
Posted by just_nobody on Fri, 03 Apr 2020 04:43:23 -0700
Getting started with RxJava2 - installation and simple examples (1)
In Android development, you need to transfer the data in the Server and its team threads to the text box. It's not very convenient to use the broadcast or handler. Once you find an RxJava on the Internet, you can learn it.
1, Add RxJava2 to Android Studio
1. Add in build.Gradle:
compile 'io.reactivex.rxjava2:rx ...
Posted by skateme on Fri, 03 Apr 2020 04:03:49 -0700
Android ListView Selection Center zoom in (use up and down key control, not touch screen)
Recently, there is a function machine project (not supporting touch screen) that needs to realize the effect of enlarging the selected items of ListView in the middle. On the network, most of them are the effect of sliding the screen by hand, and only one can be written by themselves.
The effect is achieved, but there ...
Posted by kristinac on Fri, 03 Apr 2020 03:25:49 -0700
Android basic animation frame animation
Frame animation, playing animation is like flash, playing frame by frame, that is to say, the image is the continuous playing of some pictures with similar actions, and the effect achieved is like the effect of video playing.
How to achieve the effect of frame animation: create a file under the drawable file, take the ...
Posted by houssam_ballout on Thu, 02 Apr 2020 23:49:37 -0700
Millet mobile phone layout with white border, black background, etc. (adaptation)
eidtText appears white border bar on Xiaomi mobile phone, but it doesn't appear on Huawei Samsung and other mobile phones. It specially records the problem of adaptation
The white border appears directly in the search section to view the code
<RelativeLayout
android:id="@+id/et_search_root"
android:layo ...
Posted by Snatch on Thu, 02 Apr 2020 22:37:25 -0700
Android uses Theme to customize the switching animation between activities
Source of reference: http://blog.csdn.net/lmj623565791/article/details/22990643
In most Android systems, the default animation switching effect between activities is slide in on the right and slide out on the left; sometimes our requirement may be to require all activities to be switched in and out, at this time, we may need to change the def ...
Posted by klance on Thu, 02 Apr 2020 22:31:47 -0700
rulebook rule engine example
Forced distribution is often used in performance management, such as:
As shown in the figure, this table is applicable to the number of departments with more than five people, for example:
Zhang San's department performance is A, It belongs to A department, There are 20 people in the Department, Zhang San ranks the 8th in the Department;
A ...
Posted by jackthebookie on Thu, 02 Apr 2020 21:53:21 -0700
The integration of spring MVC and freemarker
Official introduction: FreeMarker is a template engine: a general tool based on template and data to be changed, and used to generate output text (HTML web page, email, configuration file, source code, etc.). It is not for end users, but a Java class library, a component that programmers can embed in their products.
The final project contents ...
Posted by pyc on Thu, 02 Apr 2020 14:34:11 -0700