Android intelligent refresh framework SmartRefreshLayout

  Original link SmartRefreshLayout is a "smart" or "smart" pull-down refresh layout. Because of its "intelligence", it not only supports all views, but also supports multiple nested View structures. It inherits from ViewGroup instead of FrameLayout or LinearLayout, imp ...

Posted by dooper3 on Mon, 13 Jan 2020 19:58:23 -0800

How to add a browser tab icon (favicon) to a website?

I've been working on the site and I want to add a small icon to the browser tab. How do I do this in HTML and where do I need to put it in my code (such as a title)? I have a. png logo file that I want to convert to an icon. Relevant: HTML set image on browser tab . #1 building I have successfully done this for my website. The ...

Posted by soianyc on Mon, 13 Jan 2020 05:50:32 -0800

Simple use of AspectJ in AOP

Personal blog http://www.milovetingting.cn Simple use of AspectJ in AOP Definition of AOP AOP is the abbreviation of Aspect Oriented Programming, which means: a technology to realize the unified maintenance of program functions through precompiling and dynamic agent during operation. The above definition of AOP is quoted from Baidu Encyclope ...

Posted by Delcypher on Mon, 13 Jan 2020 02:43:50 -0800

How to get APP crash log for Android

Once any error occurs in android APP, it will stop running, which is a headache for many developers, In many cases, some recessive bugs pass the test department, and a small area crash occurs after they are put on the shelf. In this case, there is no log for BUG reporting, so bugs cannot be found. So, can only through user fe ...

Posted by aravind_mg on Sun, 12 Jan 2020 07:57:15 -0800

PowerManager Service Speech 4 Bright Screen

1. Bright Screen In fact, when I explained PSensor off-screen above, I already had some knowledge about on-screen display.WakeLock is not held by the process after it goes off, so if you need to light up the screen, you need to apply for WakeLock.Let's tell it with the simplest press of Power 1.Powe ...

Posted by pwicks on Sat, 11 Jan 2020 18:03:59 -0800

PowerManager Service3 Kill Screen

1. Brief description of off-screen First of all, there are several ways to extinguish the screen: 1. The user presses the Power key to destroy the screen; 2. The mobile phone will go out of the screen after being automatically placed for a period of time; 3.Sensor goes off screen. The reasons for the ...

Posted by Nick Zaccardi on Sat, 11 Jan 2020 17:53:21 -0800

vue and mintui loadmore combine to realize pull-down refresh and pull-up load

Mintui is a mobile component library developed for vue by mintui team, which is convenient to realize some functions of mobile terminal. Here, only Loadmore function is used to realize the pull-up paging refresh and pull-down loading of data on the mobile terminal without any code. <template> <div class="main-body" ...

Posted by igor berger on Sat, 11 Jan 2020 07:21:36 -0800

Implement a simple frame by frame animation in Android (with code download)

scene In Android, frame by frame animation is composed of consecutive pictures. Effect     Note: Blog: https://blog.csdn.net/badao_liumang_qizhi Pay attention to the public address Domineering procedural ape Get programming related ebooks, tutorials and free downloads. Realization First, prepare a group of photos with different expressions, ...

Posted by Bah! Name on Sat, 11 Jan 2020 07:08:12 -0800

The MVP mode + Retrofit2.0 framework encapsulation of kotlin & Java Android Development

Recently, I have been looking at Kotlin's Android code. By comparing Java, Kotlin is indeed a trend. Today, I will introduce how to integrate network requests into MVP mode. Some people may have a good understanding of some conceptual things, but the actual operation is another matter... This time, I ...

Posted by alexweb on Sat, 11 Jan 2020 05:20:17 -0800

Next generation Fragment Management Library: Navigation

Preface In the past, we used Fragment transactions to add, delete, replace and so on. For rapid development, we will also encapsulate a Fragment controller ourselves. Last year, Google launched its Navigation library with the goal of managing fragments more elegantly. text Let's first review Fragment's transactions: fragmentManager.beginTransa ...

Posted by madrazel on Sat, 11 Jan 2020 01:07:56 -0800