[Brain burn together] Learn JavaScript one step at a time

Title Map JavaScript is a lightweight programming language Programming code that inserts HTML pages JavaScript Usage, Output, Statement, Comment, Variable, Data Type, Function, Operator, Comparison, Conditional Statement, Loop, Break, Error, Type Conversion, Form Validation. <script> alert("My first JavaScript"); </s ...

Posted by kulikedat on Sat, 20 Jul 2019 00:14:53 +0200

Fragment-Loading and Data Communication of Android Notes

I. Loading Method 1. Static loading 1.1 Loading Step (1) Create fragment: Create a custom fragment class that inherits from the Fragment class and binds the custom fragment class to the Fragment view (converting layout into View) View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) _inflater is used to bind ...

Posted by micknc on Tue, 16 Jul 2019 21:36:41 +0200

Android Tablet Compatibility

1. Layout compatibility Create a new layout-large folder (7 inches) or a layout-xlarge folder (more than 7 inches) under the res folder. The layout file is the same as the layout folder. For example, activity_main.xml. Suppose that the layout of pad in layout-large s and layout-xlarge s is as follows: <?xml version="1.0" encoding="utf- ...

Posted by markc1 on Fri, 12 Jul 2019 02:46:13 +0200

GPUImage Source Reading (I)

Summary GPUImage is a well-known open source library for image processing, which allows you to use GPU accelerated filters and other special effects on pictures, videos, and cameras. Compared with the Core Image framework, you can use custom filters based on the interface provided by GPUImage. Project address: https://github.com/BradLarson/GPUI ...

Posted by Bourgeois on Mon, 08 Jul 2019 22:16:39 +0200

JavaScript - Native Array Object Method Details (1)

1,join() join() Method is used to convert all elements in an array into a string. Elements are delimited by a specified delimiter.arrayObject.join(separator)The parameter represents the separator and is optional. Default comma if no parameters are passed. Note that the return value is a string, not an array.Note: This method does not change the ...

Posted by rrhody on Mon, 08 Jul 2019 20:21:24 +0200

Problems encountered in the use of EventBus

Speaking of EventBus, I think everyone is familiar with it. You haven't heard of it. Well, you still need to study it carefully. This blog is not to analyze the source code of EventBus, nor to talk about any philosophy of life, but to teach you how to use such a magic weapon. Who will ask you if EventBus will use it in the future? You can sho ...

Posted by treppers on Mon, 08 Jul 2019 01:37:09 +0200

Mall Project Actual Combat | 3.1 Android Image Slider Implementing Cool Roadcasting Advertisement

This article is a serial of Liu Ting, the author of the rookie nest. Shopping Mall Project Actual Warfare Series to talk about how to achieve the imitation of "Jingdong Taobao Shopping Mall". Android Image Slider is a fantastic and convenient Android image scrolling framework, which we will use to achieve cool rotation advertisi ...

Posted by damdempsel on Sun, 07 Jul 2019 20:50:42 +0200

Development Framework Construction: Encapsulation of Common Base Classes

We want to develop an APP. The first task is to build the package structure, build the framework, encapsulate the base class, import the third-party libraries into the project and so on. Today we will talk about how to complete this process. (Note: Everyone has their own code style, so there is no good or bad code that suits them.) Through t ...

Posted by afbase on Sun, 07 Jul 2019 00:31:45 +0200

Android OpenGL ES2.0 (1) - Drawing Static Shapes

quick get start Key Classes GLSurfaceView Carriers drawn TextureView is available for small areas SurfaceView can theoretically be used GLSurfaceView.Renderer Essential Drawing Action Keying a GLSurfaceView object class MyGLSurfaceView extends GLSurfaceView { public MyGLSurfaceView(Context context){ super(context); ...

Posted by vivianp79 on Sat, 06 Jul 2019 18:48:46 +0200

Android's function of imitating friends to circle and talk

This demo uses Qiniu to upload pictures and videos. If you don't want to see it, you can drag it to the bottom and download it from my github. Step 1: build.gradle imports: compile'top.zibin:Luban:1.0.9'//luban for image compression compile 'com.android.support:design:25.3.1' compile'com.qiniu:qiniu-android-sdk:7.2. +'//Qiniu Co ...

Posted by Imagine3 on Thu, 04 Jul 2019 00:20:28 +0200