Skip to content

ayamir/DuoDuoPin

Repository files navigation

Table of Contents

  1. Structure
    1. Activity
    2. Fragment
      1. HomeFragment
      2. MessageFragment
      3. OrderFragment
      4. ProfileFragment
    3. Bean
    4. Service
    5. Tool

Structure

Activity

  1. AssistantLocationActivity

    For map api invoke

  2. LoginActivity

    For login service

  3. MainActivity

    Main frame of DuoDuoPin, has 4 fragment respectively are HomeFragment, MessageFragment, OrderFragment and ProfileFragment.

  4. OneGrpMsgCaseActivity

    Sperate GrpMsgCase for all GrpMsgCases.

  5. OneOrderCaseActivity

    Sperate OrderCase for all OrderCases.

  6. OneSysMsgCaseActivity

    Sperate SysMsgCase for all SysMsgCases.

  7. OrderCaseActivity

    Show OrderCases for different search conditions.

  8. RegisterActivity

    Provide register service.

  9. SysMsgCaseActivity

    Show all SysMsgCases.

Fragment

HomeFragment

Main content is a side menu consists of different search utilities.

MessageFragment

Top of it is a ConstraintLayout used to enter SysMsgCaseActivity.

Bottom of it are all brief group message tips which display latest message brief information in a ListView.

OrderFragment

A new order's entrance.

Fragment for input information about a order which can be submitted to the database.

ProfileFragment

Consists of 4 buttons used to get user's own bill and car orders, to clear app's cache, to logout.

Bean

  1. BriefGrpMsg

    Bean to display brief information for every group in MessageFragment.

  2. GrpMsgContent

    Bean to receive group message information from server and other people.

  3. GrpMsgDisplay

    Bean to fill every single message in OneGrpMsgCaseActivity.

  4. OrderContent

    Bean to receive order message information from server.

  5. SysMsgContent

    Bean to receive system message information from server.

Service

  1. RecMsgService

    service to receive new group messages in background.

Tool

  1. Constants

    All of urls used to communicate with server.

  2. GrpMsgAdapter

    Adapter for seperate one group message UI.

  3. MapInvoker

    To invoke map service.

  4. MyDBHelper

    My DB helper to create and upgrade tables.