ViewPager Series-Skin Browsing Effect Imitating Palm Heroes Alliance

Cover chart. png Having a weekend off is a happy thing for programmers. After a week's hard work, I can finally relax and relax. As a LOL enthusiast, the happiest thing on the weekend is, of course, to have a few small partners together in the dark. It's also a great weekend pleasure to be super-spiritual and kneeling together. In recent days ...

Posted by fantic on Sat, 22 Jun 2019 11:16:31 -0700

Full Source Resolution for Android Picture Loading Framework Glide4.0 (1)

Write Before Last post was written on Picasso Basic Usage and Source Full Resolution Picasso's source code reads smoothly, and then comes to the Glide framework, which is also recommended for loading pictures on the Internet. Just as my current writing goal is to analyze some of the popular framework sources, it's also a good idea to analyze Gl ...

Posted by slashpine on Sat, 22 Jun 2019 11:09:33 -0700

Memory leaks caused by internal classes

Memory leaks caused by internal classes Internal classes are ubiquitous in the development process. There are two common ways to use them: member internal classes, static internal classes and anonymous internal classes (and a local internal class which seems to be used little, so it is not introduced). Their code formats are as follows: St ...

Posted by mdemetri2 on Wed, 19 Jun 2019 13:44:01 -0700

Android MVP schema base class structure

Believed that MVP mode has been used extensively in Android applications, let me introduce a base class structure for MVP mode. The whole structure takes Fragment as its core. First, it defines that BaseFragment inherits from Fragment. It implements the launch method which takes the Fragment to be loaded as a parameter, and actually load ...

Posted by mightymaster on Sun, 16 Jun 2019 10:36:42 -0700

Use Kotlin's copy of the book's personal home page with only one control

The interface is ugly, but basically functional.To learn the recently popular kotlin language, try writing a demo. Refer to the previous article Palm-like League of Heroes Effect. Design sketch 1. Prepare before you start Import the kotlin development environment:The Android Studio 3.0 version is already integrated by default.Checking inclu ...

Posted by eva21 on Sun, 16 Jun 2019 09:30:54 -0700

Disk partitioning, file system creation, mounting under Linux

brief introduction When you learn Linux, you need to learn partitions in Linux. Learning Linux partitioning, there are many conceptual things to learn, such as partition type, file system type, etc. Wait a minute. For me, I don't like this kind of conceptual thing very much. It's not at all friendly for me to come up with a large paragraph of ...

Posted by jcrocker on Fri, 14 Jun 2019 17:02:43 -0700

base (5) base Fragment Packaging

Let's start with two sentences. First of all, I would like to apologize to you, before the end of the BaseActivity part and the ButterK part are somewhat excited, after the blog was sent out, I forgot to submit the code to git. When I opened the project, I saw all the green and blue files. It's really embarrassing. I have submitted them, so I ...

Posted by suigion on Thu, 13 Jun 2019 11:21:21 -0700

ActionBar, Tabs, Fragment and ViewPager of Android implement tab switching and page caching

Why can't 80% of yard farmers be architects? >    It feels like Android is full of pits, and every place has to toss people around ...

Posted by brissy_matty on Wed, 12 Jun 2019 15:05:49 -0700

Mybatis Second [CRUD, Paging]

Complete CRUD operation In the previous article, we had a brief idea of how Mybatis works and how it works. This time, we used Mybatis to complete the CRUD, reinforcing Mybatis development steps and some details Structure between Package and Class Increase Students configuration file <?xml version="1.0" encoding="UTF-8"?> < ...

Posted by jmoreno on Tue, 11 Jun 2019 10:11:54 -0700

URI Source Code Analysis

You need to know in advance what a URI is and the differences between URIs and URL s.The difference between URI, URL and URN URI references consist of up to three parts: schemas, schema-specific parts, and fragment identifiers. Generally: Patterns: Patterns Specific Part: FragmentsIf the pattern is omitted, the URI reference is relative. If ...

Posted by damanic on Sun, 09 Jun 2019 19:13:18 -0700