This class but in fact on the return address lookup interface
The resulting data in the interface
Creating SearchModel
Field generated constructor and then enclosed in braces.
Implement the factory method
This class is called to change the name SearchItem
then create SearchModel class. Inside is searchItem class.
Achieve dao
Search Page Call Interface
Variables defined above showText
Added a InkWell, which event is to call the dao way to get the data back.
test
Click get button, call interface data
Click no effect. Here to make a break for testing
After entering the break, enter inside the Dao method.
Then enter into a method of
Here add a breakpoint. Jump directly here
Being given
url format is wrong, in front of one space
Debugging again. Here, first we breakpoints are removed. Then run directly.
This shows that our interface calls are possible
End