Android: three minutes to achieve logistics distribution page (timeline effect)

Logistics distribution page. It is mainly implemented by RecycleView. The first article of the article shall be specially treated by judgment. Copy and paste in the future. The renderings are as follows: It can be realized by the relative position of each view. For example, the vertical line can be realized by im ...

Posted on Tue, 31 Mar 2020 21:32:11 -0700 by SidewinderX

java? Custom tag, my first custom tag!

Custom tag, my first custom tag!   Two steps in total Write a java class to implement the tag interface, and move the java code in the jsp page to this class (label processor class) Write a tag library descriptor (tld) file, in which the tag handler class is described as a tag I. Case Study. Output client IP      ViewIP.jsp      <%@ ...

Posted on Tue, 31 Mar 2020 16:16:28 -0700 by ken72

What's new in Android 7.0 - long press for shortcuts

A new feature of Android 7.0 is that if the app supports it, you can press and hold the app icon for a shortcut. For example, some popular apps include: This is similar to the previous desktop Widget, but it is more convenient to use. The implementation is also relatively simple. There are two implementation methods, static ...

Posted on Tue, 31 Mar 2020 14:53:31 -0700 by logicsound

Android integrated Aurora push

First step Download the aurora push SDK, Download address: https://docs.jiang.cn/jpush/resources/ After decompression, enter libs to copy the jar to the project libs folder. main, create a new jniLibs folder. Pay attention to the level with java, copy the so library you want to rely on, or put it into libs at the same time ( ...

Posted on Tue, 31 Mar 2020 09:10:54 -0700 by p0pb0b

Oracle GC version installation

The installation of oracle 11g grid control is still cumbersome. You need to configure wls and JDK in advance, and there are strict requirements for the version. There are many bug s. Before, I tried to install wls 1036, but when I installed gc, I could not configure OMS to connect to wls domain. I found many bug s on ...

Posted on Tue, 31 Mar 2020 06:08:52 -0700 by xcasio

Broadcast: use broadcast to realize forced offline function

Force Offline Turn off all active features Landing interface and Realization of jump Create a new broadcast receiver and use AlertDialog to get offline Close all activities Create an ActivityCollector class to manage all activities public class ActivityCollector { public static List<Activity> activities ...

Posted on Tue, 31 Mar 2020 02:04:13 -0700 by freebsd_dude

[transfer] Dubbo declarative cache

Cache is widely used in order to improve the speed of data access. Dubbo is no exception. It provides declarative caching to reduce the user's workload of caching. 1, Caching policy in Dubbo lru deletes redundant cache based on the principle of least recent use, and keeps the hottest data cached. threadlocal current thread cache, such as a pag ...

Posted on Mon, 30 Mar 2020 22:12:31 -0700 by whatsthis

The way of Android 56 - Aidl establishing remote communication

Guide reading 1. cases case app AndroidManifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.hala.srevicedemo"> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" an ...

Posted on Mon, 30 Mar 2020 13:36:31 -0700 by YappyDog

ASP.NET Core notes - configuration

Configuration rules Command line configuration provider Environment variable configuration provider File configuration provider Read of configuration Custom configuration data source Configuration items in ASP.NET Core can be provided through command line, environment variable and json/xml/ini configuration file. When a Web application builds ...

Posted on Mon, 30 Mar 2020 13:17:10 -0700 by jpratt

[transfer] Mybatis Plus plug in registration machine

Analysis version 2.83 First look at the following code public static synchronized boolean refValid() { if (!validated) { validated = true; try { String key = MybatisSetting.getInstance().getKey(); //KEY String result = MybatisSetting.getInstance().getResult(); //RESULT if ((StringUtils.isBl ...

Posted on Mon, 30 Mar 2020 09:39:52 -0700 by manx