Android actual R file

... began to encounter R file missing, in the online community to view the information, there are probably three ways: clean project, then rebuild select project properties, click Android, select the appropriate Version, click ok to modify the error under the res file The problem I...


Event monitoring, ListView optimization and use

... 一, ListView optimization & use ListView optimization: ListView optimization mainly includes two aspects, respectively, the optimization of its own and its adapter (Adapter) optimization . 1, using ViewHolder mode to improve efficiency The Viewholder mode fully enriches the view...


AS:Error:Execution failed for task ':app:preDebugAndroidTestBuild'.

... When creating a new AS project, due to the version conflict of gradle, the following error often occurs: Error:Execution failed for task ':app:preDebugAndroidTestBuild'. > Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app ...


Advanced control ListView

... BaseAdapter: is the parent class of all adapter classes, which can maximize the customization of list items. 1.1 Methods in Custom Adapters getCount getView getItem getItemId 1.2 LayoutInflater (layout parser) –LayoutInflater has three ways to get it, as detailed in the data. Used to...


Netease Yun Yidun was invited to participate in the 2018 Google Developer Conference closed meeting

... September 20-21, 2018 Google Developers Conference (GDD) was held in Shanghai as scheduled. As a global event to showcase Google’s latest developer products and platforms, GDD covers machine learning, ARCore, Android, Play, WearOS, accessibility, mobile web, Firebase, Assistant, IoT,...


Introduction to ConstraintLayout

... ConstraintLayout is a class that inherits from ViewGroup under the support package. Call it a constraint layout. Android api level 9 or above sdk can be supported. And the official particularly emphasized that they intend to continue to maintain it. Even in the android studio I am...


Android Friendship Multi-Channel Packaging

... 目录 一, Introduction 一, Introduction In order to count the number of downloads and user activities on different channels, it is convenient to do operational statistics in the background. We need to add a different identity (Channel Information Channel) to the installation package. Multi...


Appium environment setup (pro test available)

... Note: appium installed to C drive, node.js installed to C drive First, install node.js 2, get the installation file, double-click the installation file directly, according to the prompts of the program, complete the installation of nodejs. 3, after the installation is complete, run cmd...


The part that Baidu map development does not understand (2)

... I don't understand the method of allowBackup. Android API Level 8 and above Android system provides backup and recovery functions for application data. The switch of this function is determined by the allowBackup attribute value [1] in the AndroidManifest.xml file in the application....


The four startup modes of Android activity

... Android system will create a new return stack for this application when the new application is started. The activity of the application will be stored in this return stack. There are four startup modes in the activity. The following are: Standard, SingleTop, SingleTask, SingleInstance....