Class spring ioc generic preservation

What is generic erase Java does not pass generic classes, so take an intuitive chestnut: @Component public class BaseProvider<T> { public void doSomething() { Class<?> clazz = getClass(); System.out.println(clazz.getName()+" doSomething"); Type superclass = clazz.getGenericSuperclass(); Syst ...

Posted on Thu, 22 Aug 2019 09:45:34 -0700 by manoj_jnics1

Groovy Grammar Foundation

Introduction to Groovy Groovy is a dynamic language based on JVM. Its grammar is similar to Java and ultimately compiles. class to run on JVM. Groovy is fully compatible with Java and adds many dynamic types and flexible features, such as closure support and DSL support. Groovy is a very flexible dynamic scripting language. The purpose of this ...

Posted on Sun, 18 Aug 2019 06:42:23 -0700 by raydar2000

Those things about cross-platform development

Cross-platform architecture In oc, the need to directly refer to c and c + + code is named mm format Self-developed framework s are static libraries; Android's. so is shared libraries In os x,. a represents static libraries and. dylib represents dynamic libraries In linux,.a represents static libra ...

Posted on Mon, 05 Aug 2019 02:28:25 -0700 by IceHawk

Experience on how android studio generates custom plug-ins

Experience on how android studio generates plug-ins In the last two days, I have been studying the Gradle configuration of android studio, which is a part of the content. There are many articles on the internet, but they basically describe it concisely. For the veterans who have been working in the an ...

Posted on Thu, 18 Jul 2019 22:23:38 -0700 by jamcoupe

Android Studio Gradle command and configuration

Gradle is a build tool, which abandons XML-based build scripts and uses a Groovy-based internal domain-specific language instead. It is recommended that you familiarize yourself with Groovy scripts first. Online Documentation Gradle command: Common commands: Gradle is generally A. / gradlew + parameter. Gradlew stands for gradle ...

Posted on Mon, 08 Jul 2019 13:53:28 -0700 by gardan06

maven-based Construction

Generate build information Maven and Gradle plug-ins allow you to generate build information that contains the coordinates, names, and versions of the project. The plug-in can also be configured to add additional properties through configuration. When such a file exists, Spring Boot automatically configures a Build Propertiesbean. To generat ...

Posted on Sat, 06 Jul 2019 13:40:04 -0700 by thewomb

Android Studio Compiles C/C++ Files to Generate SO Files

Reprint address: http://blog.csdn.net/krubo1/article/details/50547681 Create a new Project Create a new JniExample Project with the package name com.jni.example. Once created, there is an app Module in it. Creating native methods Create a new NativeUtils method and add native method package com.jni.example; /** * Created by ...

Posted on Fri, 05 Jul 2019 14:20:51 -0700 by digitalbart2k

Rxjava 2.0 + Retrofit Perfect Encapsulation

There is no doubt that RxJava+Retrofit+Mvp is the most popular Android technology in 2016. Now it's almost half way past 2017. I believe that small partners who are Android developers are no strangers to RxJava and Retrofit. Even if you haven't studied it deliberately, you should know a little about RxJavahe and Retrofit. Last year, I learned ...

Posted on Thu, 04 Jul 2019 18:33:42 -0700 by HuggieBear

Android releases personal open source projects to JCenter in two ways: digging and filling

- Preface Open source projects shared by selfless apes are more or less used in development, and it is also convenient to use open source in Android studio. For example, the well-known Rxjava can be added to the project in just one sentence, compile'io. reactivex: rxjava: 1.1.6'. For a long time, do you want to try to open source your own re ...

Posted on Wed, 03 Jul 2019 16:42:57 -0700 by satyricon

NDK Programming Steps and Demonstration on Android Studio

NDK Programming Steps and Demonstration on Android Studio NDK programming on Android Studio (AS) requires downloading and installing NDK first, after doing this well. NDK programming and operation can be easily started with the following configuration and operation steps. Create a new pure Android project (excluding C++ support) In the new ...

Posted on Sat, 29 Jun 2019 14:17:16 -0700 by gukii