1, First, let's see the effect
import android.support.v7.widget.To ...
Posted on Sat, 02 May 2020 03:35:56 -0700 by weazy
1. Function: JSON text is a medium similar to XML text file used to store and transfer data information
Note: like XML, json can be used not only as a data carrier through response files, but also as a corresponding data carrier through strings satisfying syntax, which is called "json string"
2. Data storage in JSON ad ...
Posted on Fri, 01 May 2020 22:48:33 -0700 by blkraven
1: Load configuration file through context: Property placeholder tag
Add the following declaration to spring's configuration file
<context:property-placeholder ignore-unresolvable="true" location="classpath:jdbc.properties"/>
When referencing values, use $to reference the values you need1. In datasource.xml
<!-- Configu ...
Posted on Fri, 01 May 2020 20:02:46 -0700 by snog
We believe that the effect shown in the figure is not unfamiliar to everyone. We can use many methods to achieve this effect. Here we use CountDownTimer timer to simply encapsulate this effect, which is convenient for us to call at any time.
The first page defines the following attributes in attrs.xml:
Posted on Fri, 01 May 2020 16:08:39 -0700 by thunder708
This article mainly focuses on the optimization of write configuration files, such as jdbc.properties configuration file, files introduced into database, such as driver,url,username,password, etc., and then introduce the corresponding file in SqlMapConfig.xml to simplify the configuration file. In SqlMapConfig.xml, use < typealiases > < ...
Posted on Fri, 01 May 2020 15:14:59 -0700 by aaadee
Send an email via javamail:
Earlier, I had written a tool class MailUtils for sending mail. The following points need to be noted:
① The mail server address of the Outbox.
② Outbox account number.
③ Mailbox authorization code, which is set in the used mailbox background management.
④ Addr ...
Posted on Fri, 01 May 2020 14:04:09 -0700 by chriskiely
Why go up? Because the package I found on the Internet doesn't work very well. My friend said that he would come to work tomorrow and send it to me. If it works well, it will work. If he doesn't feel particularly good, he will be a eunuch
This article refers to
I won't talk about how to enter the Al ...
Posted on Fri, 01 May 2020 12:37:12 -0700 by flyhoney
Every time po and mapper are generated before, the Example class and its corresponding CURD method are generated. It's also troublesome to delete, so just let it not be generated.
The specific configuration is very simple. You only need to turn off the generated method in the table tag of the table to be set. The code is as follows.
Posted on Fri, 01 May 2020 06:36:12 -0700 by micmania1
This paper is mainly based on Hexo's theme NexT optimization, path:. / themes/next, and other topics are similar.
Use [label1, label2 Label n]
Home page article Preview
Find. / themes/next/_config.yml
# Automatically Excerpt. Not recommend.
# Please use < ...
Posted on Fri, 01 May 2020 04:21:39 -0700 by blaster_master
This article mainly introduces four ways to instantiate beans (injection way) or four ways to instantiate dependent objects. The above program, to create a bean object, uses what method and constructor method (Spring can create a class object when the constructor is privatized)
There are four common creation methods:
1) setter method
2) Constru ...
Posted on Fri, 01 May 2020 02:37:29 -0700 by misc00500