The only way to realize project componentization: decoupling, decoupling again!

A component-based project will subdivide the business, and the common functions are encapsulated in common modules. Different common function modules have a horizontal relationship, and different business modules will rely on several common modules as needed. As shown in the above figure, business A cannot call the API in business B, and busi ...

Added by styler1971 on Wed, 08 Sep 2021 20:35:26 +0300

SpringBoot unified log processing, 2021 Android interview

[the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-XSJ80gT0-1630940490789)(I:\SpringBoot unified log processing \ img\slf4j log output process. png)] As can be seen from the figure, after the application calls the api interface of ...

Added by dsoftnet on Tue, 07 Sep 2021 08:25:13 +0300

Glide source code is difficult to understand? Use this angle to get twice the result with half the effort and summarize your experience

// Clear request void clear(); // Pause request void pause(); } The request class has been designed, so in Request of begin Start getting pictures when you're ready; After the picture request is completed, or the loading fails, the booth map needs to be loaded. Therefore, a class needs to be designed to set the picture control; ...

Added by Lateuk on Tue, 07 Sep 2021 05:37:59 +0300

Kotlin learns to write notes. You don't even understand the principle

class Person(val age: Int, val name: String){ override fun equals(other: Any?): Boolean { val other = (other as? Person)?: return false return other.age == age && other.name == name } override fun hashCode(): Int { return 1 + 7 * age + 13 * name.hashCode() } } And java Similarly, if it is added to a data struc ...

Added by buildakicker on Tue, 07 Sep 2021 03:57:53 +0300

tb tm sgmain x-sign analysis of a treasure family-unidbg

For study purposes only.Do not use for illegal purposes and I will not be legally liable. Preface apk version, Tmall 8.11.0, this time mainly talks about how to run x-sign using unidbg. The blogger is also a beginner. If you have any questions, you can discuss with the blogger. It is very welcome. charles packet analysis Analyze this ...

Added by KingIsulgard on Tue, 07 Sep 2021 03:16:24 +0300

Exploration of black-and-white implementation of App. Is there a one line code implementation scheme? It is recommended to learn

It looks like a lot of work. Later, I was thinking, since the web side can add a gray effect to the whole page, should our app also be ok? How do we add a grayscale effect to the app page? Under normal circumstances, our app page is actually drawn by Canvas, right? The corresponding API of Canvas must also support grayscale. So is it OK fo ...

Added by ealderton on Mon, 06 Sep 2021 06:13:45 +0300

Android imitation wechat map positioning and location selection

1, Map integration         Integrate Tencent map SDK, https://lbs.qq.com/ , apply for AppKey. 1,dependencies implementation 'com.tencent.map.geolocation:TencentLocationSdk-openplatform:7.2.6' implementation 'com.tencent.map:tencent-map-vector-sdk:4.3.4' 2,AndroidManifest.xml <application <meta-data and ...

Added by kol090 on Mon, 06 Sep 2021 04:46:49 +0300

Mobile WEB development

Mobile WEB development 1, Mobile terminal Foundation 1. Browser status (1) Common browser on PC 360, Google, Firefox, QQ, Baidu, Sogou, IE (2) Common mobile browsers UC, QQ, oppen Opera, baidu mobile, 360 security, Google, Sogou, cheetah, etc Domestic UC, QQ, Baidu and other mobile browsers are modified cores based on Webkit. There is no ...

Added by aaron_mason on Sun, 05 Sep 2021 00:08:19 +0300

lambda expression - shawn, how to ensure high availability

There is only one abstract method in the interface: Modifier interface Interface name { public abstract Return value type method name(Optional parameter information); // Other non abstract method content } Since the public abstract keywords in the interface can be omitted, the above functional interface can be written in the follow ...

Added by lispwriter on Sat, 04 Sep 2021 02:59:40 +0300

NestScrollView principle analysis, done Android for three years

At present, the classes that have implemented the modified interface include coordinatorlayout, nestedscrollview and swiperefreshlayout. It is usually nested and sliding with NestedScrollingChild. boolean onStartNestedScroll(View child, View target, int nestedScrollAxes) This method is called when Scrolling Child starts sliding When Scrollin ...

Added by mattastic on Fri, 03 Sep 2021 21:36:36 +0300