Flutter 81: illustration of Android Native integrated fluterboost small attempt

In a historical project, Xiaocai has connected to the Flutter Module and used fluterboost as the Platform Channel bridge. However, there are many problems in the actual development, only two impressive small problems are recorded; Problem 1:. so file confusion problem analysis The NDK used in the history project of the small dish is armeabi, bu ...

Posted by Velausanakha on Sun, 29 Mar 2020 15:55:23 +0200

The impact of large compressed files on the query performance of Impala

Hadoop/HDFS/MapReduce/Impala is designed to store and process a large number of files, such as terabytes or petabytes of data. A large number of small files have a great impact on the query performance, because NameNode needs to save a large number of HDFS file metadata. If it queries many partitions or files at one time, it needs to obtain the ...

Posted by shane0714 on Sat, 21 Mar 2020 10:54:37 +0100

Class component details

1, class component creation method import React from 'react'; class B extends React.Component { constructor(props){ super(props); } render(){ return ( <div>hi</div> ) } } 2, Props external data class Parent extends React.Component { constructor(props){ super(props) this.state = {name:'frank'} ...

Posted by newcastle_unite on Wed, 18 Mar 2020 09:54:50 +0100

Why not create a column with ANSI? Padding set to OFF?

SQL Prompt is a practical SQL syntax prompt tool. It searches automatically according to the object name, syntax and code fragment of the database, and provides users with appropriate code selection. Automatic script settings make code easy to read - especially useful when developers are not familiar with scripts. This article describes not to ...

Posted by MrXander on Thu, 12 Mar 2020 13:13:27 +0100

Deep learning the fourth week -- the first lesson the realization of convolutional neural network

Article directory statement Preface 1, Convolutional neural network 1.1 import library 1.2 boundary filling 1.3 single step convolution 1.4 forward propagation of convolution layer 1.5 forward propagation of pool layer 1.6 back propagation of convolution layer 1.6.1 calculation of dA 1.6.2 calculat ...

Posted by MadDawgX on Sun, 08 Mar 2020 10:04:14 +0100

Getting exception 'IllegalStateException: cannot perform this operation after onSaveInstanceState'

I have a Live Android application. I have received the following stack trace information from the market. I don't know why it happened in the application code instead of happening, but caused by some or other events in the application (assumed) I don't use Fragments, but I still have a reference to the fragment manager. If someone can under ...

Posted by weemee500 on Sun, 01 Mar 2020 05:05:55 +0100

Kotlin coding specification used by BAT

The Kotlin coding specification used in a big BAT factory has added a lot of contents on the basis of the official Kotlin specification, which is of great reference value. Code organization [mandatory] in a mixed java source project, the Kotlin source file should be located in the same root director ...

Posted by thryb on Sat, 22 Feb 2020 06:06:07 +0100

How to get the absolute coordinates of a view

I am trying to get the absolute screen pixel coordinates in the upper left corner of the view. However, all the methods I can find, getLeft(), such as getLeft() and getRight(), don't work because they all seem to be relative to the view's parent, so give me 0. What's the right way? If helpful, for the put pictures back in order game. I want ...

Posted by Kulak on Sat, 15 Feb 2020 09:53:47 +0100

Android and Flutter hybrid development UI interaction

Preface I'm an Android Developer. I'll just introduce the hybrid development of Android and Flutter here. There are many related articles on the Internet about the mixed development of native and Flutter, which are basically done by using the methods of FlutterView and FlutterFragment. However, in th ...

Posted by robche on Fri, 14 Feb 2020 11:59:52 +0100

Android learning notes of Bi's weekly notes 1

February 5th 1. target Master the layout manager of Android UI design 2. Learning notes 2.1 UI components TextView Botton RadioBotton EditView ImageView RecyclerView 2.2 layout manager 2.2.1 linear layout Most common attributes attribute attribute attribute android:id android:layo ...

Posted by MrLister on Tue, 11 Feb 2020 13:40:18 +0100