Because the built-in listview cannot meet the needs of the project, implement its own Adapter to inherit the ArrayAdapter to implement the Item project of the custom listview.
Each item that appears and clicks on the ListView will not execute the onItemClick method in the setOnItemClickListener.
The reason is that there are some sub controls ...
Posted by phphunger on Fri, 31 Jan 2020 14:57:21 -0800
Demand: stores under each platform classification, name, picture path and score of each store, name, picture path and score of four products under each store
Train of thought:
At the beginning, stores are dynamic and easy to write, just use Ajax. But it's a bit unrealistic to ask for a query for the products under each store.
At the beginning, ...
Posted by drdokter on Fri, 31 Jan 2020 12:31:24 -0800
Notes on iOS reverse learning: LLDB dynamic debugging target program
1. Copy the debugserver in the mobile phone to the Mac (provided that the mobile phone has been used as a test machine)
scp firstname.lastname@example.org:/Developer/usr/bin/debugserver /Users/mac/Desktop/dump
2. Check the debugserver architec ...
Posted by matt86 on Fri, 31 Jan 2020 12:03:45 -0800
Socket realizes file transfer
Connect to the server through new Socket("ip",port)
Create file input stream read file
Create an output stream that returns to the socket
Write article name, length and other attributes
Read and write articles
import javax.xml.crypto.Dat ...
Posted by irandoct on Fri, 31 Jan 2020 11:38:13 -0800
Encapsulate a tool to delete useless resource files at will
Train of thought:
Export a txt file with lint log through lint command
Filter out all useless resource files by reading the "[UnusedResources]" field in it
Files can be deleted directly
Posted by RedDragon on Fri, 31 Jan 2020 09:35:06 -0800
Fresco is Facebook's latest powerful image library for displaying pictures in Android applications, which can load pictures from network, local storage and local resources. Compared with image loader, it has many advantages, such as faster image download speed and can load and displ ...
Posted by jmrothermel on Fri, 31 Jan 2020 09:15:26 -0800
1, Add maven dependency and import the jar package required by FreeMarker
2, Define word template file
3, Modify template xml file
Save the word fi ...
Posted by Scip on Fri, 31 Jan 2020 00:45:55 -0800
Reduce layout nesting
Android ConstraintLayout use details
ConstraintLayout fully parsed. Let's optimize your layout
ConstraintLayout visual operation
Performance advantages of ConstraintLayout
compile 'com.android.support.constraint:con ...
Posted by new2code on Thu, 30 Jan 2020 23:46:12 -0800
date: 2020-01-12 21:46:05
Customizing the ListView UI
Posted by cjmling on Thu, 30 Jan 2020 23:42:42 -0800
Android UI Interface Design - with Reference Documents
UI Interface Design
1. Basic Components
1. Text class components
Reference Document docs
1.2 EditText (a subclass of the textview component)
2. Button class components
2.1 Button, a common button component (a subclass of the tex ...
Posted by lajollabob on Thu, 30 Jan 2020 18:38:47 -0800