[Android Component Interpretation] Leak Canary Explanation
Preface
Leak Canary is a small tool for Android memory detection provided by Square. It can help us locate code hidden BUG quickly and reduce the chance of OOM.
Here is the git address link: https://github.com/square/leakcanary
Side Topic: Square is really a conscientious company, providing many well-known components. Subsequently, the well-kno ...
Posted by scnov on Wed, 03 Jul 2019 16:00:18 -0700
LVM Logical Volume Management
From Wechat Public Number Let the Code Fly
Rhel Topic 2: LVM Logical Volume Management - Disk Management (2)
2017-05-07 Let the Code Fly
1. Add 20G hard disk and create three new main partitions, size 5G, 5G and 10G respectively.
If you are not familiar with partitioning, you can take a look at basic storage management. Change the syst ...
Posted by public-image on Tue, 02 Jul 2019 15:53:27 -0700
Different callbacks in life cycle when switching fragments in different ways
turn http://blog.csdn.net/hjiangshujing/article/details/52367734
Previous Fragment Life Cycle Map
Here's how to switch between different Fragment s to illustrate life cycle calls
Switch Fragment s by adding hide show
Switching method uses:
@Override
public void onCheckedChanged(RadioGroup radioGroup, int checkedId) {
...
Posted by Fari on Mon, 01 Jul 2019 09:39:29 -0700
Android Transition Framework Details (Animation Framework)
Preface
Transition was introduced as early as Android 4.4, but was only truly implemented at 5.0.What exactly is Transition used for?Next, I'll analyze the powerful animation framework of Google through examples and primitive analysis. First come to an effect picture to suppress the scene
Newsstand app on Google Play (v3.3)
This effect is ...
Posted by tqla on Mon, 01 Jul 2019 09:05:02 -0700
Material Design's Exploration of TabLayout
I. Brief Introduction
TabLayout is a new control of the Android Support Design library, which can be used to achieve the effect of the open source framework ViewPage Indicator (which was basically used before Material Design came out). TabLayout is simpler to use than TabLayout and does not necessarily need to be used with ViewPager. After al ...
Posted by renno on Fri, 28 Jun 2019 15:55:56 -0700
Vue.js Learning 9 Components
I. Using Components
1. Registration
Create a Vue instance:
new Vue({
el: '#some-element',
// option
})
To register a global component, you can use Vue.component(tagName,options)
Vue.component('my-component', {
// option
})
Use w3c rules (lowercase, with a short bar) as much as possible for custom tag names.
After the component ...
Posted by jase01 on Tue, 25 Jun 2019 13:29:21 -0700
Operation DOM for reading Zepto source
This article remains a domain-related approach, focusing on how to manipulate the domain.
Read the Zepto Source Series article already on github, welcome star: reading-zepto
Source Version
The source code for reading this article is zepto1.2.0
.remove()
remove: function() {
return this.each(function() {
if (this.parentNode != null)
...
Posted by Chips on Tue, 25 Jun 2019 10:24:54 -0700
Operation DOM for reading Zepto source
This article remains a domain-related approach, focusing on how to manipulate the domain.
Read the Zepto Source Series article already on github, welcome star: reading-zepto
Source Version
The source code for reading this article is zepto1.2.0
.remove()
remove: function() {
return this.each(function() {
if (this.parentNode != null)
...
Posted by atsphpflash on Tue, 25 Jun 2019 10:01:26 -0700
What if Pinterest can't open? Interactive Implementation of High Imitation Pinterest
Label of this article: Pinterest can't be opened High imitation Pinterest Jianwoo
Pinterest There is a very good interaction, probably the operation is that the list page can be long by a single Item to say Item selected and make the surrounding items transparent and white, and then pop up the option menu, you can choose the menu through the m ...
Posted by mr_zhang on Sun, 23 Jun 2019 16:47:20 -0700
Interactive Implementation of High Imitation Pinterest
There's a great interaction in Pinterest. Maybe the operation is that on the list page, Item can be selected by pressing a single Item for a long time and making the surrounding items transparent and white. Then the option menu pops up. You can choose the menu by moving your fingers. Let's take a look at a graph to compare the implementation in ...
Posted by rubbertoad on Sun, 23 Jun 2019 15:44:59 -0700