Power consumption usage job task

Performance optimization (8.5) - source code analysis of job scheduler .JobSchedulerService Because when a JobSchedulerService class is instantiated, the code of the constructor will be executed: public final class JobSchedulerService extends com.android.server.SystemService implements StateChangedL ...

Posted on Sun, 19 Jan 2020 07:51:44 -0500 by hush

Spring IOC learning (for new students)

Recently, someone wrote me in a private letter that my blog is superficial and not deep-seated. I hereby reply that most of these blogs are conceptual. They use popular examples to let you understand how the technology or knowledge exactly works. So I'll add suitable for new people at the back. We all c ...

Posted on Sun, 19 Jan 2020 03:54:05 -0500 by denhamd2

Android Beginner Series: what do you want to write? Phase I: ViewPager+fragment interface switch

What to think of and write the first issue: focus on simpler and understandable code to solve the problems encountered by Android Xiaobai viewPager+fragment viewPager implementation can slide left and right to switch interfaces There are three materials: the ViewPager of the main page UI, the new Fragme ...

Posted on Sat, 18 Jan 2020 13:04:25 -0500 by ccbayer

Desktop layout of Android 80go platform

1. File path vendor/go-gms/apps_go/GmsSampleIntegrationGo/res/xml/partner_default_layout.xml 2. Screen division The bottom and middle screens are separate. The bottom icons are on screen 0 / 1 / 2 / 3, and the middle screen and the right screen are on screen 0 / 1. 2.1 single icon at the bottom    <!-- Hotseat (We use ...

Posted on Sat, 18 Jan 2020 12:01:56 -0500 by gorskyLTD

Relative layout of Android learning

Catalog Positioning among elements at the same level margin and padding properties This article is based on the premise of familiarity with basic attributes Positioning among elements at the same level The important point of relative layout is how to locate this element according to other sibli ...

Posted on Sat, 18 Jan 2020 09:26:29 -0500 by gary00ie

A trial of customizing mybaits framework

Article directory Preface Realization `pom` dependence `xml ` parsing class ` XMLConfigBuilder` The 'SqlSession' series of database transactions Abstract factory ` SqlSessionFactory` Default implementation factory ` DefaultSqlSessionFactory` Default implementation ` DefaultSqlSession` Builder mode ...

Posted on Sat, 18 Jan 2020 07:20:39 -0500 by konrados

Analysis of the implementation process and principle of the ORM of Mybatis

Article directory Preface First case Stepwise analysis Preface Go back to basics. Today, let's see the execution process of mybatis. First case 1, The first is the configuration file. You need an xml configuration file <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE configuration ...

Posted on Sat, 18 Jan 2020 07:05:31 -0500 by gromer

Spring boot configuration file value injection

Spring boot configuration file value injection Article directory Spring boot configuration file value injection 1.1 read configuration from global configuration file to entity class (@ ConfigurationProperties) 1.2 global profile injection value (@ Value) 1.3 read and configure the entity class fro ...

Posted on Sat, 18 Jan 2020 03:13:07 -0500 by arag0rn

Java web integration Cas single sign on

I. overview Now more and more systems provide a unified identity authentication single sign on mechanism. New applications can be easily integrated into existing systems only by integrating single sign on. Here we use Cas3.2.1 for demonstration, note: different versions of the configuration will be di ...

Posted on Sat, 18 Jan 2020 01:33:34 -0500 by Thoughtless

Extend ports generate test reports

1, Download dependency package <dependency> <groupId>com.relevantcodes</groupId> <artifactId>extentreports</artifactId> <version>2.41.1</version> </dependency> <dependency> <groupId ...

Posted on Fri, 17 Jan 2020 09:33:16 -0500 by Karlos2394