Android personal financial tool 6: display bill details
In the display of bill details in the previous section, the display of bill details has been basically realized. This paper mainly arranges the code to realize the query and deletion function of this window; When you press the menu menu, the window for selecting month pops up, and you can select the detailed month; Long press on the listview to pop up a dialog box to confirm the deletion to complete the deletion.
As shown in the figure above:
There is an onitemlongclicklistener event. The usage of this event is as follows:
First, implement onitemlongclicklistener in the activity, and then write as follows:
Java code
After so many days of study, my cola@R_545_2419 @The parts from input to display details are almost done. This paper sorts out the code and changes the areas that need to be improved. This example is here for the time being.
Series of articles:
Android personal financial tool 6: display bill details
Android personal financial tool 5: display on bill details
Android personal finance tool 4: add bill page
Android personal finance tool 3: add to the bill page
Android personal finance tool 2: use SQLite to initialize data at startup
Android personal finance tool I: Project Overview and implementation of startup interface
The above is the content of the development of Android personal finance tools. It is a good tutorial for friends who start learning Android development and application!