OpenGL basic knowledge summary

Article catalog Image rendering pipeline The relationship among VAO, VBO and EBO Vertex attribute format Coordinate system Orthographic projection and perspective projection Combine transforms Right hand coordinate system video camera LookAt matrix Euler angle Glossary list Sample code interpreta ...

Posted on Fri, 05 Jun 2020 23:35:45 -0700 by affordit

TabLayout/ViewPager/Fragment

preface I have written this tutorial before, but I haven't finished it. Because of the delay in the process, I'm going to reopen an article to write about TabLayout Basic use I will not elaborate here. In fact, basic use is not often seen in project development. In fact, there are two common usage scenarios f ...

Posted on Tue, 26 May 2020 09:23:57 -0700 by azeem123456

Android serial 13 - create startup activity class

According to the life cycle of fragments, we know that onAttach() method will be executed first, so we do some data initialization operations here, such as calling getNews() method to get several simulated news data, and completing the creation of NewsAdapter, and then loading news in onCreateView() method_ title_ Frag layout, and register the ...

Posted on Mon, 25 May 2020 07:53:45 -0700 by geoffjb

Four ways to quickly load the sliding bottom

Author: Flowers github link: github.com/mengbodi/sw...Join us Go to the Smart Applet Developer Community to see more In the development of smart applets, pull-up loading is a very common loading effect. Recently, some developers have encountered problems when developing pull-up loading. Today's content shows you what we need to do if we ...

Posted on Sat, 09 May 2020 21:13:33 -0700 by apoc-

node+js for large file fragment upload

1. What is fragment upload Fragment upload is the transmission of a large file into several blocks, one by one. The benefit of doing so can reduce the overhead of re uploading. For example: if the file we upload is a large file, the upload time should be long. In addition to the influence of various factors of network instability, it is easy t ...

Posted on Tue, 05 May 2020 15:23:53 -0700 by affordit

Cloud integration (single chat + conversation list)

Download it according to the SDK provided by rongyun official, and then conduct the package guiding operation according to the documents provided by rongyun official, and then start our code realization journey of single chat: Add: <provider android:name="android.support.v4.content.FileProvider" ...

Posted on Thu, 30 Apr 2020 17:35:37 -0700 by phpete2

Open webview in Android fragment

Original link: http://blog.csdn.net/dodod2012/article/details/50476779 First, create an abstract class BackHandledFragment, which has an abstract method onBackPressed(), and all subclasses of BackHandledFragment process their consumption logic of Back events in the onBackPressed method. onBackPressed returns a Boolean value, and the ho ...

Posted on Thu, 30 Apr 2020 14:13:14 -0700 by mikeeeeeeey

MVP architecture encapsulation

Android MVP framework design MVP structure: M level In data layer, data can be obtained from remote server or local database. In general, data in android applications are mostly Remote server, so the work of layer M can be regarded as the part of network request temporarily. The concrete embodiment of layer m should be the relevant cod ...

Posted on Thu, 30 Apr 2020 00:24:24 -0700 by bobc

mongodb cluster building

Create mongodb sharding cluster 1, Environmental preparation 1. Server node information [three servers]     x.x.x.159, x.x.x..160, x.x.x..161 2. Server system Linux x86? 64 GNU / Linux or centos7 or redhat 3. mongodb version     mongodb v4.2.5 Download address: https://fastdl.mon ...

Posted on Wed, 29 Apr 2020 01:10:36 -0700 by JonathanV

Through the minimalist simulation framework, you can understand the design and implementation of ASP.NET Core MVC framework [Part 2]: request response

<200 lines of code, 7 objects -- let you understand the essence of ASP.NET Core framework >Let a lot of readers have a real understanding of ASP.NET Core pipeline. In the past a long time, there have been many private letters to me: can you analyze the design and implementation principle of MVC framework in the same way? I hope this artic ...

Posted on Thu, 16 Apr 2020 03:57:40 -0700 by pentinat