CardView's Corner Effect Processing under API 21

CardView is a new control added to Android 5.0 (API 21). Of course, it can also be used below API 21, and the next line can be added to build.gradle dependencies. compile 'com.android.support:cardview-v7:23.1.1' To do a card browsing program in the project, the card needs 5dp rounded corners. The rounded corners effect CardView can be support ...

Posted by peacedesigns on Tue, 09 Jul 2019 16:38:03 -0700

How to use Retrofit (KAD21) with Kotlin on Android

Authors: Antonio Leiva Time: Apr 18, 2017 Link to the original text: https://antonioleiva.com/retrofit-android-kotlin/     This is another example of how to use the same library Java used in Kotlin.     Retrofit is a library that greatly simplifies the request API. In this example, I plan to teach you how to integrate it with some LastFM API r ...

Posted by Fusioned on Sat, 06 Jul 2019 15:57:47 -0700

Android Thermal Repair Technology: Analysis of QQ Space Patch Scheme (3)

As mentioned earlier, in order to achieve the goal of hot update, bytecode files must be manipulated after dex subcontracting is completed. ASM and javaassist are commonly used bytecode manipulation tools. By contrast, ASM provides a series of bytecode instructions, which are more efficient but require users to have a certain understanding of ...

Posted by oQEDo on Sat, 06 Jul 2019 15:13:32 -0700

The Way to Android Framework: The Use of ButterKnife

I. Introduction: ButterKnife is a relatively easy-to-understand open source framework for annotations. 1. Powerful View binding and Click event handling functions, simplify the code and improve development efficiency; 2. Handle the ViewHolder binding problem in Adapter conveniently; 3. The running time will not affect the efficien ...

Posted by pineapple1 on Thu, 04 Jul 2019 11:53:13 -0700

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

Preface The previous article introduced submitting open source projects to JCenter -, through gradle-bintray-plugin Android releases personal open source projects to JCenter in two ways: digging and filling (1) This article introduces the second way to publish open source projects to JCenter through the bintray-release plug-in. About the re ...

Posted by inspire on Wed, 03 Jul 2019 12:15:04 -0700

The latest Android studio publishes Library libraries to the JCenter server

Preface: After the transition from eclipse to Android studio, the introduction of third-party libraries has become relatively simple, no longer downloading the jar itself, but simply using a simple configuration message from build.gradle.The following: compile 'com.voctex.banner:banner:1.0.0' In fact, Android studio configures this informat ...

Posted by broomstick on Wed, 03 Jul 2019 09:08:06 -0700

Android Bugly's pits of practice

The last article talked about how to use tinker. Today we bring a more convenient sdk. It also uses Tinker to achieve hot updates. It also adds a background management patch. Is it more convenient, and it also reduces many of our Tinker configurations? Configure build.gradle for the main project and app project. To separate the configuration ...

Posted by micki on Fri, 28 Jun 2019 15:58:19 -0700

Using Kotlin to Develop Android Applications

For reprinting, please indicate the source: Xia Xuan_xiaxuan 1. Introduction to Kotlin I haven't blogged for a long time. A few days ago, Google introduced a new language, Kotlin. In short, Kotlin is a JVM-based programming language, which is growing into an inheritor of the Java language used in Android development. Java is one of th ...

Posted by heyjohnlim on Fri, 28 Jun 2019 13:09:31 -0700

Use Travis CI to automatically package APK and publish it to fir

Travis CI is a newly emerging open source continuous integration construction project. More and more large companies are using Travis CI. Github builds more than 4000 per day. Why don't we try? Preface Our usual release process is roughly as follows: Travis CI can be simplified as follows: Imagine a scenario where an internal version is ab ...

Posted by fert on Tue, 25 Jun 2019 12:45:37 -0700

Setup of kotlin's first project

How do I use Kotlin in Android Studio? 1. Using Android Studio plugins 2. Upgrade Android Studio to version 3.0: Not recommended at this time because version 3.0 is still the Dev Channel channel, i.e. the development channel, which has not yet been officially released So today we're going to talk about how to create the first Kotlin project usi ...

Posted by gibbo101 on Mon, 24 Jun 2019 11:08:40 -0700