Android three-step simple fit Liu Hai system status bar

Personal thinking: When it comes to Qiliuhai adaptation, the most typical one is that some fragments of MainActivity need transparent system status bar or not, while fragments that need transparent system status bar usually have a rotation chart at the top, and then a search box is put on the rotation chart. The so-called adap ...

Posted by phppucci on Fri, 25 Jan 2019 07:03:13 -0800

AAC Learning Notes Dagger (2) -- Injecting Activity

This article is part of Android Architecture Components Learning Notes The document code is Kotlin, but the code generated by the system is still Java. For ease of understanding, I've broken down the official examples step by step. My level is limited. If there is something wrong with me, please don't hesitate to give me advice ...

Posted by macattack on Fri, 25 Jan 2019 05:03:13 -0800

The Use of android Broadcasting

Use of # android broadcasting Before the broadcast used less, one time forgot how to write, today wrote down the convenience of their own use in the future when easy to consult. There are two ways to use broadcasting in android. Either way, you start by writing a Broadcast Receiver for a class inheritance system and rewriting ...

Posted by Highlander on Fri, 25 Jan 2019 04:09:15 -0800

Problems with updating to version 10 of Xcode ios 12

Worspace compile time error Errors are reported as follows: Showing Recent Messages :-1: Multiple commands produce '/Users/xxx/Library/Developer/Xcode/DerivedData/TestProject-apxxxxxxxxxxeqsvu/Build/Products/Debug-iphoneos/TestProject.app/LICENSE': 1) Target 'TestProject' (project 'TestProject') has copy command from '/Us ...

Posted by iBlizz on Thu, 24 Jan 2019 19:36:14 -0800

[react-native] Version 0.57 Packing Error, SDK Version Mismatch: Execution failed for task'xxx: verify Release Resources'

react-native version: 0.57.1 This is not an rn version problem, because 0.57.1 updates the Android SDK version to 27, which is incompatible with most third-party plug-ins that use native code, because third-party updates are not timely, SDK is still the old version. Let's start with the error log: error: invalid file path ...

Posted by DeadFly on Thu, 24 Jan 2019 16:00:13 -0800

iOS Bubble Sort, Direct Insert Sort, Hill Sort

1. Preface: As an IOS development engineer, I try to write the order when I'm free at work. I feel that I should write it out quickly. As a result, I debug and correct it in the process of modification and modification. It's necessary to correct the problem of having high eyes and low hands. Everything has to be knocked before ...

Posted by mysterbx on Thu, 24 Jan 2019 15:57:13 -0800

Detailed Explanation of lisf-diff for children Comparison in virtual-dom

Visit this article if you are not clear about virtual-dom Source code of list-diff Preface: Within a vue or react, each VNode has a unique key to identify, which is usually handled automatically by the framework, but must be specified by the developer within the loop. So the following interpretation is that I use this key to represent the objec ...

Posted by jkm4201 on Thu, 24 Jan 2019 15:24:14 -0800

net Design Patterns (Builder Patterns) Learning Notes

The use of design patterns is only to solve a class of problems. When solving the current class of problems, it usually brings other problems when solving this problem. net Design Patterns (Builder Patterns) Learning Notes Summary: Compared with the previous engineering model, the builder model encapsulates the construc ...

Posted by n00b Saibot on Thu, 24 Jan 2019 09:27:14 -0800

Android switching between Chinese and English to resolve the weight loss conflict

Follow the steps I. AndroidManifest.xml file (manifest file) Add: android:configChanges="locale" <activity android:name="com.activity.RepairActivity" android:configChanges="locale" android:launchMode="singleTop" android:screenOrientation="portrait" android:windo ...

Posted by Megahertza on Thu, 24 Jan 2019 04:54:13 -0800

Ubuntu encounters a solution to the dependency mismatch problem caused by version mismatch

The libssl-dev version problem cannot be installed: Depends: libssl 1.0.0 (= 1.0.1t-1 + deb7u2) but 1.0.1t-1 + deb8u6 is to be installed       Problem phenomena: Error prompted when installing libssl-dev: sudo apt-get install libssl-dev Reading package lists... Done Building dependency tree Reading state informatio ...

Posted by Revos on Thu, 24 Jan 2019 03:09:15 -0800