Namespaces for XML in Android

Introduction to basic concepts Namespace XML namespaces provide a way to avoid element naming conflicts. For example, there is a student named Lin Xiaoming in School A and a student named Lin Xiaoming in School B. How can we identify these two students with the same name? Namespace will come in handy at this time. A and B can then be cons ...

Added by vijayfreaks on Thu, 18 Jul 2019 04:11:20 +0300

Deep Understanding of Android Instant Run Operating Mechanism

Instant Run Instant Run, a new operating mechanism in Android studio 2.0, can significantly reduce the time you spend building and deploying current applications when you code, develop, test, or debug. The popular explanation is that when you change your code in Android Studio, Instant Run can quickly show you the effect of your changes. Before ...

Added by netbros on Tue, 16 Jul 2019 23:56:58 +0300

Android Architecture Design--Reflections on View Boundary Division

Copyright Statement: LooperJing Original articles can not be reprinted without the permission of the blogger! In the previous articles, I summarized MVP, MVVM, using generics for MVP to avoid class explosion. To some extent, the implementation of these schemes has successfully separated View from business logic. However, for a complex interface ...

Added by Duswa on Tue, 16 Jul 2019 21:59:02 +0300

Android Alipay SDK Development Notes

I. Preparations Download Development Kit https://b.alipay.com/order/productDetail.htm?productId=2014110308141993&tabId=4#ps-tabinfo-hash In the "Alipay wallet payment interface development kit" under the compression pack, there are Andoid using Alipay's JAR and Demo. 2. Create Alipay applications Application creation in Alipay op ...

Added by UKlee on Tue, 16 Jul 2019 21:32:03 +0300

Binder Connection Pool - teaches you how to better manage your AIDL

AIDL is a very common IPC method in Android development. Normally, each AIDL service corresponds to one service.If we have 20 AIDL services, don't we start 20 services?Not to mention the usage of mobile resources by 20 services, just code management is messy. Is there a good solution?Of course, that's what this article is about - the Binder c ...

Added by adeelzia on Tue, 16 Jul 2019 19:02:00 +0300

Animation in Android (frame animation, interpolation animation, attribute animation)

Generally speaking, Android animation can be divided into two categories, the original traditional animation and the attribute animation after Android 3.0. Traditional animation includes: Frame Animation and Tweened Animation. Let's talk about the use and characteristics of various animations. Frame animation: is the easiest kind of anima ...

Added by rofl on Tue, 16 Jul 2019 02:01:57 +0300

Three ways of interaction between JS and native OC

Three Interactive Ways between JS and Primary OC When you are working on a project, you should also encounter the need for communication between h5 and OC to achieve a specific effect, so I summarize the interaction between the two recently used ways: By intercepting the URL in the proxy method of UIWebView Implemented by JavaScript Core. F ...

Added by andreiga on Mon, 15 Jul 2019 21:06:28 +0300

Android Gradle global configuration, logoff, multi-channel packaging

What is Gradle? Gradle is an advanced build system as well as an advanced build toolkit allowing to create custom build logic through pluginsGradle is an advanced build system and an advanced build tool that allows you to create custom build logic through plug-ins. Why use gradle? Gradle is an excellent build system and build tool that allows y ...

Added by vasse on Mon, 15 Jul 2019 02:39:58 +0300

JAVA [Elaboration] Analysis RunTime error from the bottom, Cmd command execution is normal

Du Jinyang, the Superman of Ottoman, once said, "It is better to perish outside the law than to live in it." Maybe you will often encounter the following problems in development, but Baidu Google can not come out, bloggers trample on the pit to share with you: Error CreateProcess error=2, ______________________ JAVA cmd ...

Added by skroks609 on Sun, 14 Jul 2019 23:42:17 +0300

Android Foundation - RecyclerView Drag-and-Drop Sort Side Slip Delete

Android Foundation - RecyclerView Drag-and-Drop Sort Side Slip Delete Well, there are not too many explanations about Recycler View. You should all know it better. Hongyang Blog has a more detailed explanation: Android RecyclerView uses fully analytical experiential art-like controls . The purpose of writing this blog is that I want to r ...

Added by KresentPhresh on Sun, 14 Jul 2019 21:42:50 +0300