Point Shadow of OpenGL Core Technology

The author introduces: Jiang Xue Wei Technological Partner of IT Company, Senior IT Lecturer, CSDN Community Expert, Invited Editor, Best-selling Book Author; Published Book: Hand-to-Hand Teaching Framework 3D Game Engine. Electronic Industry Press and< Unity3D Detailed Explanation of Actual Core Technologies, Electronic Industry Press, etc. ...

Posted by KGodwin on Sun, 07 Apr 2019 22:48:30 -0700

App Development Screen Adaptation

Support different screen sizes Different screen sizes are supported by the following methods: - Make sure that your layout is resized appropriately according to the screen - Provide appropriate UI layout based on screen configuration - Ensure that the right layout is applied to the right screen - Provide bitmaps that can be scaled nor ...

Posted by scvinodkumar on Fri, 05 Apr 2019 23:45:31 -0700

Usage Analysis of Alert Dialog

Android 6.0 + permission application Preface Runtime Permissions are divided into two categories: common permissions and high-risk permissions. For general permission applications, only once when the APP is installed, and for high-risk permissions, starting with Android M (API.23), the application will be dynamically applied when the APP r ...

Posted by brax23 on Thu, 04 Apr 2019 14:12:31 -0700

App Startup Optimization of Android Performance Optimization Series

Reproduced in: http://blog.csdn.net/u012124438/article/details/56340949 Layout optimization of Android performance optimization series In-memory optimization of Android performance optimization series apk Slimming in Android Performance Optimizer Series The slow start-up speed of apps is a problem we often encounter in the develop ...

Posted by ScOrPi on Wed, 03 Apr 2019 16:48:30 -0700

A once-and-for-all screen adaptation scheme

Screen adaptation in Android is often a headache. Various screen resolutions bring us a lot of trouble in adapting. Google officially suggests that we use dp instead of px, but most of the designer's drawings are marked with px, which makes us feel uncomfortable when writing xml files. I believe that no programmer is willing to spend a lot of ...

Posted by FrozNic on Mon, 01 Apr 2019 22:21:30 -0700

Json Method for Front and Background Transport Using js

No matter what framework is used, there is a problem of transferring data from controller to Html page or jsp page. The most common way is to transfer Json string. In the past, there was some ambiguity about this knowledge. Now I'll sort it out. [Jquery Basic Method] Jquery and internal encapsulated ajax are commonly used to implement val ...

Posted by foolguitardude on Mon, 01 Apr 2019 06:18:30 -0700

Code obfuscation and packaging in Android Studio

[+] After two days of fumbling, I learned about the process of code obfuscation and package publishing in Android Studio, which is recorded here. Code obfuscation: The role of code obfuscation is not explained much. The whole process is roughly as follows: Add the following code to the build.gradle file under app (min ...

Posted by MARIOPARTY53 on Sun, 31 Mar 2019 20:39:30 -0700

Android uses EventBus 3.0, an open source framework, to achieve communication and interaction between Fragment s

1. overview In previous blog posts, I briefly introduced how to achieve information exchange between fragment s: ___________<Interaction between Fragment and Activity in Android (two implementations) Today I will continue to introduce EventBus, another way to achieve this effect. (Compared with handler, interface callback, bundle parameter, ...

Posted by jaysmyhero on Sun, 31 Mar 2019 13:27:30 -0700

Android Recycler View slides quickly to the top

Reproduced at https://github.com/baiiu When using RecyclerView, the smoothScrollToPostion() method is called to slide to the specified location, but entries often slide very slowly. This article is to realize the fast sliding of RecyclerView. This paper first introduces how to implement it, then introduces the principle. 1. Impl ...

Posted by ceci on Sat, 30 Mar 2019 13:36:29 -0700

Using Kotlin to achieve left-right sliding effect of UC header ViewPager

For reprinting, please indicate the source: A column on maple leaves In the previous article, we explained a multi-line text display control, which we often encounter in the actual development process: there are two TextView control line display, when the content of the first TextView can not be displayed on more than one line, w ...

Posted by jcbones on Fri, 29 Mar 2019 08:45:28 -0700