These two days, I try to do a QQ music interface, and some of the implementation of the function, because have not learned the thread and other advanced content, now just simple to build some structure, but also for the future preparation.
After the completion of the interface can achieve the collection of events, the image of the switch, but also can not play a number of songs, is perfect, now only play a song, can click the middle picture, let up and down two view to realize the hidden and display of animation state, click the next song, to achieve the picture and song name, the singer's switch , and scroll bars are also available. The left side of the time can be counted accurately, and the right side has not been implemented, click the Play Pause button to achieve the button shape changes, temporary function so much.
Further improvements are being followed. First will increase the song playback function, the time above can display the song needs time, can point a few next song to realize the song switch, the picture also follows the rotation, also has in the song play the process, the click Pauses not to start again, must be able to realize the pause after the click Play will then continue to play the function, because does not have the network Did not learn these things, temporarily can do so much.
Do not understand the time will look for information, blog inside a lot, to me such a rookie days have helped, this is just the beginning, but also to learn well.
The following is a graphical interface display, the code will not be transmitted, because now good chaos, no timely collation, the next time, such as the realization of the function of the same time, will be uploaded.
QQ music industry and part of the implementation of the function (pure code)