How to use Kotlin to develop projects in Android Studio

Kotlin has become the official language of Android, and I believe it will be used more and more widely in the future. But only Android Studio 3.0 can support Kotlin. How can we use Kotlin to develop Android projects in versions below 3.0? This requires the installation of the kotlin plug-in. Kotlin resources: Official website: http://kotlinl ...

Added by Mr Camouflage on Thu, 13 Jun 2019 23:07:30 +0300

Android Eclipse Import AS Gradle AAR Library Manual

2019 Unicorn Heavy Gold Recruitment Python Engineer Standard >> Preface This is a semi-technical article.It is well k ...

Added by mattsoftnet on Thu, 13 Jun 2019 22:01:08 +0300

(1) Learning Snackbar of Material Design Control

Android 5.0 (API level 21) is available Material Design . Many new Material controls have been added. I want to share my experience with you through my own study. This is the first article on Material Design controls, so let's talk about how to use the Design Support Library provided by Google. Adding dependencies: Reference to the offic ...

Added by metuin on Tue, 11 Jun 2019 01:24:22 +0300

Gradle builds dependency configuration instructions

First issue of this article: http://yuweiguocn.github.io/ This article introduces Gradle build dependency configuration instructions in Android Studio and how to view dependency trees. Baidi Xiajiang LingAmong the clouds of Emperor Bai, Qianli Jiangling returned one day.The boat passed thousands of mountains with apes shouting without endless.- ...

Added by lordrain11 on Tue, 11 Jun 2019 00:02:15 +0300

Android studio project build four | build variants

brief introduction Each build variant represents a different version that you can build for your application. For example, you might want to build a free version of the application (with limited content) and a paid version (with more content). You can also build different versions of applications for different devices, according to API level ...

Added by RJP1 on Mon, 10 Jun 2019 02:10:39 +0300

Custom view Series (5) -- 99.99% to achieve QQ sideslip deletion effect

First of all, it is stated that this article is based on the modification of Swipe MenuListView of "baoyongzhang" on GitHub. The project address: https://github.com/baoyongzhang/SwipeMenuListView It can be said that this sideslip deletion effect is the best and more flexible project I have ever seen, none of them!!! But bef ...

Added by msarefin on Wed, 29 May 2019 22:57:31 +0300

Android modifies the color of native RatingBar

First, depend on your build.gradle dependencies { compile 'com.android.support:appcompat-v7:X.X.X' // where X.X.X version } 1 2 3 1 2 3 Then let your activity inherit Android.support.v7.app.AppCompatActivity public class MainActivity extends AppCompatActivity { ... } 1 2 3 1 2 3 Declare the following attributes in st ...

Added by jim_de_bo on Wed, 29 May 2019 21:21:24 +0300

Summary of IOC Framework Using Android Butterknife

Preface: ButterKnife is a View injection framework focusing on Android systems. It used to write a lot of findViewById to find View objects. With ButterKnife, these steps can be easily eliminated. Jake Wharton's masterpiece is widely used. Most importantly, using ButterKnife has little loss of performance, because the annotations ButterKni ...

Added by ThunderVike on Wed, 29 May 2019 20:53:08 +0300

Encapsulated Image Slider

Preface The importance of advertising rotation is self-evident. In many types of apps, the appearances are very high. Today, I'd like to introduce an open source project, which encapsulates the ViewPager and timer needed by the rotation map. It is very convenient to use and supports gradle online dependency. Several kinds of picture sliding ani ...

Added by timmerk on Tue, 21 May 2019 00:26:25 +0300

Handsome use of SharedPreferences (including RxJava version)

background SharedPreferences is a lightweight storage class on Android for saving applications Some common configurations. However, it is cumbersome to use, especially when the app is large, the SharedPreferences file, and more attributes need to be saved, which can be cumbersome to operate and maintain, often thinking about which K ...

Added by Chantal on Sun, 19 May 2019 17:47:38 +0300