Information publishing platform based on public opinion system (Android version)

Source: Internet
Author: User

Based on the existing public opinion release system, this period of time developed and perfected his mobile client. Based on the previous blog, the main record of the latest problems encountered and solutions:


1. Get the code for the network data if it is placed directly in the activity of the main thread, it will cause an error, you need to add a declaration. But if you add a declaration or no data to the fragment, you need to open another thread, get the data in the threads, and then draw the interface in handler.

2. For the system to remove the button navigation method, instead of using the navigation bar. Using the top navigation bar and the bottom navigation bar, the bottom navigation bar is a level menu, the top navigation bar is a level two menu.

3. Added left and right swipe toggle pages on the top navigation bar.

4. To go to the page in addition to clicking the ListView entry, add a direct jump to another activity. In another activity, the hyperlinks and headings are obtained, and the contents of the hyperlinks are parsed and the main content extracted, and then displayed in the activity.


See the source code (contains two systems (Picture Navigation and menu navigation):

http://download.csdn.net/detail/u012361418/8743819

Information publishing platform based on public opinion system (Android version)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.