Android Advanced (IV) Custom Organization Chart-LazyOrgView

LazyOrgView Simply implement the organization chart by customizing View.A search on the web did not find a similar View, and because of the needs of the project, quickly implemented one to meet the needs of the project.Another way to do this: Google OrgChart or other OrgChart.js. Source Address LazyOrgView Add Dependenc ...

Added by ManOnScooter on Sat, 04 Jan 2020 12:56:51 +0200

Learning service consumers of microservices -- ribbon and restTemplate

Microservices will split a single large project into several independent small services. The call between these small services uses HTTP restful. Spring cloud provides ribbon+restTemplate. Ribbon is a load balancing client. 1. First, start the Eureka server project and the Eureka client say hi project. Its port is 8792. Then change the port fr ...

Added by Uzm on Sat, 04 Jan 2020 03:01:02 +0200

Gradle custom plug in

Official text gradle learning official translation website 1. New project Configure build.gradle //Use the official 'groovy' plug-in apply plugin: 'groovy' //Add api dependency dependencies {dependencyHandler -> dependencyHandler .compile gradleApi() dependencyHandler. compile localGroovy() } //Add the currently used ve ...

Added by bigsid on Sat, 14 Dec 2019 17:43:48 +0200

Quickly build Android compiling environment under Linux

Background: in the era of mobile Internet, most enterprises have mobile clients, and mobile clients have two factions because of different OS, namely Android and IOS. For Internet technology practitioners, the most direct difference between the two is open source and closed source, which also leads to the overall stability and stability of mob ...

Added by pelegk2 on Thu, 12 Dec 2019 22:23:43 +0200

Simulate spring boot to write a tool class nested Tomcat (easy to debug)

In order to debug the SpringMVC code in the Spring source project, using Tomcat plug-in is more convenient, then you need to simulate the function of SpringBoot like yourself: start the Spring application, embedded Tomcat and do a good job of correlation. Why is it so troublesome??? Because I am a common Java project, the basic web.xml file, I ...

Added by Zallus on Thu, 12 Dec 2019 18:03:17 +0200

Summary of CMakeLists.text used in NDK development

When we create a project, if Include C++ Support is checked, a CMakeLists.text will be generated in the same level directory of main Let's introduce one by one # For more information about using CMake with Android Studio, read the # documentation: https://d.android.com/studio/projects/add-native-code.html # Sets the minimum ...

Added by cheald on Thu, 12 Dec 2019 17:18:39 +0200

Simple configuration and use of GreenDao

Configure plug-ins and dependencies Under the project -----------stay repositories Put the warehouse in the brackets of---- mavenCentral() -------------Add plug-ins in parentheses of dependencies--------- classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' ---------------On the top of Build in app--------------------- ap ...

Added by stvs on Wed, 11 Dec 2019 03:10:36 +0200

AOP creation log (annotation type)

This method is AOP annotation type printing log, as for log insertion, this paper will not introduce. The details are as follows: Using the Gradle Guide Package: compile 'org.springframework.boot:spring-boot-starter-aop Customize an annotation class. The code is as follows: package cn.cityworks.domain; import java.lang.annotati ...

Added by d1223m on Wed, 27 Nov 2019 16:32:29 +0200

Android Jetpack architecture component - Lifecycle in pit Guide

This article starts with WeChat public's "Android development tour". Welcome to pay more attention to get more dry goods. Background introduction In the previous article, we mainly introduced the origin of Jetpack and the component library contained in each of the four components. In this article, we will learn about lifecycle compone ...

Added by st89 on Wed, 20 Nov 2019 11:21:31 +0200

Android access wechat sharing

I. preparations Wechat open platform account registration - > Wechat open platform Create an application and fill in the application information as required (pay attention to the signature of the application package here. The appid obtained by using the signature of the debug package can only be used by the debug package, ...

Added by ace_lovegrove on Thu, 14 Nov 2019 21:29:28 +0200