├── app
├── .gitignore
├── src
│ ├── main
│ │ ├── assets
│ │ │ └── font.ttf
│ │ ├── res
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ ├── dimens.xml
│ │ │ │ └── switch_button_attrs.xml
│ │ │ ├── drawable
│ │ │ │ ├── splash.jpg
│ │ │ │ ├── ic_super.png
│ │ │ │ ├── loading_bg.9.png
│ │ │ │ ├── toast_frame.9.png
│ │ │ │ ├── guidance_item_1.png
│ │ │ │ ├── guidance_item_2.png
│ │ │ │ ├── guidance_item_3.png
│ │ │ │ ├── express_detail_bg.jpg
│ │ │ │ ├── ic_check_white_48dp.png
│ │ │ │ ├── ic_clear_white_48dp.png
│ │ │ │ ├── ic_warning_white_48dp.png
│ │ │ │ ├── ic_warning_outline_white.png
│ │ │ │ ├── ic_info_outline_white_48dp.png
│ │ │ │ ├── ic_error_outline_white_48dp.png
│ │ │ │ ├── tv_press_androidbg_bg.xml
│ │ │ │ ├── tv_press_white_bg.xml
│ │ │ │ ├── my_cursor.xml
│ │ │ │ ├── btn_white_corner5dp.xml
│ │ │ │ ├── circle_point.xml
│ │ │ │ ├── tv_bg_item_sitelist.xml
│ │ │ │ ├── btn_blue_corner5dp.xml
│ │ │ │ ├── et_login__white_bg.xml
│ │ │ │ ├── tv_introduce_bg.xml
│ │ │ │ ├── btn_feedback_bg.xml
│ │ │ │ ├── item_news_station_tag_red.xml
│ │ │ │ ├── bg_main.xml
│ │ │ │ ├── alertdialog_left_selector.xml
│ │ │ │ ├── alertdialog_right_selector.xml
│ │ │ │ ├── alertdialog_single_selector.xml
│ │ │ │ ├── btn_press_bg.xml
│ │ │ │ ├── tv_home_search_bg.xml
│ │ │ │ ├── actionsheet_top_selector.xml
│ │ │ │ ├── actionsheet_bottom_selector.xml
│ │ │ │ ├── actionsheet_middle_selector.xml
│ │ │ │ ├── actionsheet_single_selector.xml
│ │ │ │ ├── shape_dash_line_yellow.xml
│ │ │ │ ├── dialog_round_layout.xml
│ │ │ │ └── dialog_loading.xml
│ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── w3.png
│ │ │ │ ├── ic_dd.png
│ │ │ │ ├── ic_go.png
│ │ │ │ ├── ic_ok.png
│ │ │ │ ├── ic_wu.png
│ │ │ │ ├── ic_add.png
│ │ │ │ ├── ic_air.png
│ │ │ │ ├── ic_back.png
│ │ │ │ ├── ic_hot.png
│ │ │ │ ├── ic_mai.png
│ │ │ │ ├── ic_snow.png
│ │ │ │ ├── ic_sun1.png
│ │ │ │ ├── ic_tem.png
│ │ │ │ ├── ic_wind.png
│ │ │ │ ├── ic_bigsun.png
│ │ │ │ ├── ic_cloud.png
│ │ │ │ ├── ic_delete.png
│ │ │ │ ├── ic_evening.png
│ │ │ │ ├── ic_navimap.png
│ │ │ │ ├── ic_package.png
│ │ │ │ ├── ic_ruin_1.png
│ │ │ │ ├── ic_splash.png
│ │ │ │ ├── ic_strom.png
│ │ │ │ ├── ic_weather.png
│ │ │ │ ├── ic_windy.png
│ │ │ │ ├── ic_couldsnow.png
│ │ │ │ ├── ic_home_scan.png
│ │ │ │ ├── ic_launcher.png
│ │ │ │ ├── ic_login_qq.png
│ │ │ │ ├── ic_login_twb.png
│ │ │ │ ├── ic_login_wb.png
│ │ │ │ ├── ic_moreruin.png
│ │ │ │ ├── ic_sun_snow.png
│ │ │ │ ├── ic_user_head.png
│ │ │ │ ├── ic_wind_dic.png
│ │ │ │ ├── ic_end_location.png
│ │ │ │ ├── ic_height_tem.png
│ │ │ │ ├── ic_home_package.png
│ │ │ │ ├── ic_home_search.png
│ │ │ │ ├── ic_home_thumb.png
│ │ │ │ ├── ic_map_marker.png
│ │ │ │ ├── ic_notification.png
│ │ │ │ ├── ic_service_send.png
│ │ │ │ ├── ic_windyandsun.png
│ │ │ │ ├── ry_sitelist_img.png
│ │ │ │ ├── ic_home_location.png
│ │ │ │ ├── ic_home_position.png
│ │ │ │ ├── ic_orderitem_tel.png
│ │ │ │ ├── ic_sitelist_head.png
│ │ │ │ ├── ic_sitelist_station.png
│ │ │ │ ├── ic_weahter_thumder.png
│ │ │ │ ├── ic_bottom_user_select.png
│ │ │ │ ├── ic_bottom_user_unselet.png
│ │ │ │ ├── ic_orderlsit_ordernum.png
│ │ │ │ ├── ic_bottom_mainpage_selet.png
│ │ │ │ ├── ic_bottom_message_selet.png
│ │ │ │ ├── ic_bottom_message_unselet.png
│ │ │ │ ├── ic_bottom_ticket_select.png
│ │ │ │ ├── ic_bottom_ticket_unselet.png
│ │ │ │ ├── ry_sitelist_distance_src.png
│ │ │ │ ├── ic_bottom_mainpage_unselet.png
│ │ │ │ └── ry_sitelist_distance_white.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_pull.png
│ │ │ │ ├── ic_push.png
│ │ │ │ └── ic_nolist_infor.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_box.png
│ │ │ │ ├── ic_sms.png
│ │ │ │ ├── ic_arrow.png
│ │ │ │ ├── ic_mobile.png
│ │ │ │ ├── ic_search.png
│ │ │ │ ├── ic_account.png
│ │ │ │ ├── ic_password.png
│ │ │ │ ├── ic_close_black.png
│ │ │ │ ├── ic_user_login.png
│ │ │ │ ├── ic_user_proble.png
│ │ │ │ ├── ic_orderitem_tel.png
│ │ │ │ ├── ic_user_service.png
│ │ │ │ ├── ic_user_setting.png
│ │ │ │ ├── dialog_loading_img.png
│ │ │ │ ├── ic_password_login.png
│ │ │ │ ├── ic_user_colletion.png
│ │ │ │ ├── ic_orderlsit_ordernum.png
│ │ │ │ └── ic_user_location_list.png
│ │ │ ├── drawable-hdpi
│ │ │ │ ├── trans_bg.png
│ │ │ │ ├── alert_bg.9.png
│ │ │ │ ├── toast_frame.9.png
│ │ │ │ ├── ic_check_white_48dp.png
│ │ │ │ ├── ic_clear_white_48dp.png
│ │ │ │ ├── actionsheet_top_normal.9.png
│ │ │ │ ├── alert_btn_left_pressed.9.png
│ │ │ │ ├── actionsheet_top_pressed.9.png
│ │ │ │ ├── alert_btn_right_pressed.9.png
│ │ │ │ ├── alert_btn_single_pressed.9.png
│ │ │ │ ├── ic_info_outline_white_48dp.png
│ │ │ │ ├── actionsheet_bottom_normal.9.png
│ │ │ │ ├── actionsheet_bottom_pressed.9.png
│ │ │ │ ├── actionsheet_middle_normal.9.png
│ │ │ │ ├── actionsheet_middle_pressed.9.png
│ │ │ │ ├── actionsheet_single_normal.9.png
│ │ │ │ ├── actionsheet_single_pressed.9.png
│ │ │ │ └── ic_error_outline_white_48dp.png
│ │ │ ├── drawable-xhdpi
│ │ │ │ ├── ic_express.png
│ │ │ │ ├── toast_frame.9.png
│ │ │ │ ├── ic_check_white_48dp.png
│ │ │ │ ├── ic_clear_white_48dp.png
│ │ │ │ ├── ic_warning_white_48dp.png
│ │ │ │ ├── ic_warning_outline_white.png
│ │ │ │ ├── ic_error_outline_white_48dp.png
│ │ │ │ └── ic_info_outline_white_48dp.png
│ │ │ ├── drawable-ldpi
│ │ │ │ ├── toast_frame.9.png
│ │ │ │ └── btn_white_corner5dp.xml
│ │ │ ├── drawable-mdpi
│ │ │ │ ├── loading_bg.9.png
│ │ │ │ ├── toast_frame.9.png
│ │ │ │ ├── ic_check_white_48dp.png
│ │ │ │ ├── ic_clear_white_48dp.png
│ │ │ │ ├── ic_info_outline_white_48dp.png
│ │ │ │ └── ic_error_outline_white_48dp.png
│ │ │ ├── drawable-xxhdpi
│ │ │ │ ├── toast_frame.9.png
│ │ │ │ ├── ic_check_white_48dp.png
│ │ │ │ ├── ic_clear_white_48dp.png
│ │ │ │ ├── ic_error_outline_white_48dp.png
│ │ │ │ └── ic_info_outline_white_48dp.png
│ │ │ ├── drawable-xxxhdpi
│ │ │ │ ├── ic_check_white_48dp.png
│ │ │ │ ├── ic_clear_white_48dp.png
│ │ │ │ ├── ic_info_outline_white_48dp.png
│ │ │ │ ├── ic_error_outline_white_48dp.png
│ │ │ │ └── btn_blue_corner0dp.xml
│ │ │ ├── anim
│ │ │ │ ├── dialog_exit.xml
│ │ │ │ ├── dialog_enter.xml
│ │ │ │ ├── actionsheet_dialog_in.xml
│ │ │ │ ├── actionsheet_dialog_out.xml
│ │ │ │ ├── push_top_in.xml
│ │ │ │ ├── anim_scroll_in.xml
│ │ │ │ ├── anim_scroll_out.xml
│ │ │ │ ├── push_top_out.xml
│ │ │ │ └── rotate_animation.xml
│ │ │ ├── color
│ │ │ │ └── login_tv_title_color.xml
│ │ │ ├── layout
│ │ │ │ ├── ry_item_newsdetail_layout.xml
│ │ │ │ ├── container_layout.xml
│ │ │ │ ├── vp_item_intro_layout.xml
│ │ │ │ ├── guidance_item_1.xml
│ │ │ │ ├── guidance_item_2.xml
│ │ │ │ ├── common_toolbar.xml
│ │ │ │ ├── web_activity.xml
│ │ │ │ ├── activity_intro_duce.xml
│ │ │ │ ├── activity_chaturl.xml
│ │ │ │ ├── activity_package_point_list.xml
│ │ │ │ ├── activity_deliver_history.xml
│ │ │ │ ├── map_location_end_marker.xml
│ │ │ │ ├── map_location_marker.xml
│ │ │ │ ├── toast_layout.xml
│ │ │ │ ├── activity_main.xml
│ │ │ │ ├── guidance_item_3.xml
│ │ │ │ ├── map_packetlist_marker.xml
│ │ │ │ ├── ry_item_service_recycle_chat_chatfriends.xml
│ │ │ │ ├── ry_item_service_recycle_chat_user.xml
│ │ │ │ ├── conversation_ry_item_chat_chatfriends.xml
│ │ │ │ ├── activity_news.xml
│ │ │ │ ├── jpush_notification_layout.xml
│ │ │ │ ├── pop_fragment_home_weather.xml
│ │ │ │ ├── conversation_ry_item_chat_user.xml
│ │ │ │ ├── activity_feedback.xml
│ │ │ │ ├── activity_splash.xml
│ │ │ │ ├── ry_histort_item_layout.xml
│ │ │ │ ├── activity_add_contact_user.xml
│ │ │ │ ├── ry_item_home_scrolllayout.xml
│ │ │ │ ├── dialog_loading.xml
│ │ │ │ ├── activity_site_list.xml
│ │ │ │ ├── ry_item_contactlist_layout.xml
│ │ │ │ ├── fragment_adapter.xml
│ │ │ │ ├── view_actionsheet.xml
│ │ │ │ ├── inclue_map_list.xml
│ │ │ │ └── activity_scan_shiper_trace.xml
│ │ │ └── xml
│ │ │ │ └── provider_paths.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── administrator
│ │ │ └── expressuserclient
│ │ │ ├── commonUtil
│ │ │ ├── DataLoader.java
│ │ │ ├── FragmentBackHandler.java
│ │ │ ├── FileProviderUtil.java
│ │ │ ├── GsonUtil.java
│ │ │ ├── ActivityCollectorUtil.java
│ │ │ ├── BuglyFileProvider.java
│ │ │ ├── SystemUtil.java
│ │ │ └── ToastUtil.java
│ │ │ ├── weight
│ │ │ ├── Test.java
│ │ │ ├── card
│ │ │ │ ├── CardAdapter.java
│ │ │ │ ├── CardFragment.java
│ │ │ │ ├── CardItem.java
│ │ │ │ └── CardFragmentPagerAdapter.java
│ │ │ ├── SupportPopupWindow.java
│ │ │ └── bottom
│ │ │ │ ├── TabItemLayout.java
│ │ │ │ └── TabEntity.java
│ │ │ ├── entity
│ │ │ ├── Result.java
│ │ │ ├── NewsEntity.java
│ │ │ ├── ConversationEntity.java
│ │ │ ├── Desc.java
│ │ │ └── ChatMessage.java
│ │ │ ├── gson
│ │ │ ├── Contact.java
│ │ │ ├── EmptyGson.java
│ │ │ ├── ExpressGson.java
│ │ │ ├── ShiptraceBean.java
│ │ │ ├── DeliverHistory.java
│ │ │ ├── BannerGson.java
│ │ │ ├── MessageGson.java
│ │ │ ├── NewsGson.java
│ │ │ └── PushGson.java
│ │ │ ├── contract
│ │ │ ├── home
│ │ │ │ ├── HomeDataContract.java
│ │ │ │ ├── NewsActivityContract.java
│ │ │ │ ├── ExpressSearchActivityContract.java
│ │ │ │ ├── DeliverHistoryActivityContract.java
│ │ │ │ ├── PackagePointListActivityContract.java
│ │ │ │ ├── HomeFragmentContract.java
│ │ │ │ ├── SiteListActivityContract.java
│ │ │ │ └── ShiperTraceActivityContract.java
│ │ │ ├── ExpressSearchActivityContract.java
│ │ │ ├── order
│ │ │ │ └── TicketFragmentContract.java
│ │ │ ├── message
│ │ │ │ ├── ContactListActivityContract.java
│ │ │ │ ├── MessageFragmentContract.java
│ │ │ │ ├── AddContactUserActivityContract.java
│ │ │ │ └── ConversationActivityContract.java
│ │ │ ├── push
│ │ │ │ └── MessageFragmentContract.java
│ │ │ ├── user
│ │ │ │ ├── UserFragmentContract.java
│ │ │ │ ├── UserDetailActivityContract.java
│ │ │ │ ├── ServiceActivityContract.java
│ │ │ │ └── FeedbackActivityContract.java
│ │ │ ├── LoginActivityContract.java
│ │ │ ├── login
│ │ │ │ ├── LoginFragmentContract.java
│ │ │ │ └── RegisterFragmentContract.java
│ │ │ ├── SiteListActivityContract.java
│ │ │ └── UserFragmentContract.java
│ │ │ ├── config
│ │ │ ├── SysConfig.java
│ │ │ └── APIConfig.java
│ │ │ ├── http
│ │ │ ├── volley
│ │ │ │ └── VolleyRequestCllBack.java
│ │ │ ├── network
│ │ │ │ ├── HeaderInterceptor.java
│ │ │ │ ├── LogInterceptor.java
│ │ │ │ ├── RequestBodyConverter.java
│ │ │ │ ├── RetrofitService.java
│ │ │ │ └── ProgressRequestBody.java
│ │ │ └── util
│ │ │ │ └── RetrofitUtil.java
│ │ │ ├── model
│ │ │ ├── ExpressSearchActivityModel.java
│ │ │ ├── message
│ │ │ │ ├── ConversationActivityModel.java
│ │ │ │ ├── MessageFragmentModel.java
│ │ │ │ ├── ContactListActivityModel.java
│ │ │ │ └── AddContactUserActivityModel.java
│ │ │ ├── push
│ │ │ │ └── MessageFragmentModel.java
│ │ │ ├── user
│ │ │ │ ├── UserDetailActivityModel.java
│ │ │ │ ├── ServiceActivityModel.java
│ │ │ │ ├── FeedbackActivityModel.java
│ │ │ │ └── UserFragmentModel.java
│ │ │ ├── home
│ │ │ │ ├── ExpressSearchActivityModel.java
│ │ │ │ ├── DeliverHistoryActivityModel.java
│ │ │ │ ├── PackagePointListActivityModel.java
│ │ │ │ ├── ShiperTraceActivityModel.java
│ │ │ │ ├── HomeFragmentModel.java
│ │ │ │ └── NewsActivityModel.java
│ │ │ ├── order
│ │ │ │ └── TicketFragmentModel.java
│ │ │ ├── LoginActivityModel.java
│ │ │ └── login
│ │ │ │ ├── LoginActivityModel.java
│ │ │ │ └── RegisterFragmentModel.java
│ │ │ ├── presenter
│ │ │ ├── ExpressSearchActivityPresenter.java
│ │ │ ├── home
│ │ │ │ ├── NewsActivityPresenter.java
│ │ │ │ ├── SiteListActivityPresenter.java
│ │ │ │ └── ExpressSearchActivityPresenter.java
│ │ │ └── SiteListActivityPresenter.java
│ │ │ ├── App.java
│ │ │ ├── base
│ │ │ ├── BaseGson.java
│ │ │ └── BaseObserver.java
│ │ │ ├── view
│ │ │ └── activity
│ │ │ │ └── JudeMentActivity.java
│ │ │ ├── dataContract
│ │ │ └── HomeData.java
│ │ │ └── adapter
│ │ │ └── ChatAdapter.java
│ ├── test
│ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── administrator
│ │ │ └── expressuserclient
│ │ │ └── ExampleUnitTest.java
│ └── androidTest
│ │ └── java
│ │ └── com
│ │ └── example
│ │ └── administrator
│ │ └── expressuserclient
│ │ └── ExampleInstrumentedTest.java
└── proguard-rules.pro
├── settings.gradle
├── .idea
├── copyright
│ └── profiles_settings.xml
├── vcs.xml
├── modules.xml
├── runConfigurations.xml
├── gradle.xml
└── compiler.xml
├── image
├── mmqrcode1533550858220.png
├── Screenshot_2018-08-06-11-01-45-511_com.example.ad.png
├── Screenshot_2018-08-06-11-01-53-047_com.example.ad.png
├── Screenshot_2018-08-06-11-01-57-250_com.example.ad.png
├── Screenshot_2018-08-06-11-01-59-745_com.example.ad.png
├── Screenshot_2018-08-06-11-02-06-410_com.example.ad.png
├── Screenshot_2018-08-06-11-02-09-998_com.example.ad.png
├── Screenshot_2018-08-06-11-02-13-280_com.example.ad.png
├── Screenshot_2018-08-06-11-02-16-075_com.example.ad.png
├── Screenshot_2018-08-06-11-02-24-722_com.example.ad.png
└── Screenshot_2018-08-06-11-02-32-741_com.example.ad.png
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── .gitignore
└── gradle.properties
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/app/src/main/assets/font.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/assets/font.ttf
--------------------------------------------------------------------------------
/.idea/copyright/profiles_settings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | 快递小哥
3 |
4 |
5 |
--------------------------------------------------------------------------------
/image/mmqrcode1533550858220.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/image/mmqrcode1533550858220.png
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/app/src/main/res/drawable/splash.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/splash.jpg
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/w3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/w3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_super.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/ic_super.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_dd.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_dd.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_go.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_go.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_ok.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_ok.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_wu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_wu.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_pull.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-mdpi/ic_pull.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_push.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-mdpi/ic_push.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_add.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_air.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_air.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_back.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_hot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_hot.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_mai.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_mai.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_snow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_snow.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_sun1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_sun1.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_tem.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_tem.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_wind.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_wind.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_box.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_box.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_sms.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_sms.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/trans_bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/trans_bg.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/loading_bg.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/loading_bg.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/toast_frame.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/toast_frame.9.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_bigsun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_bigsun.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_cloud.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_cloud.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_delete.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_evening.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_evening.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_navimap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_navimap.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_package.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_package.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_ruin_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_ruin_1.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_splash.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_splash.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_strom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_strom.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_weather.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_weather.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_windy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_windy.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_arrow.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_mobile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_mobile.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_search.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/alert_bg.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/alert_bg.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_express.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xhdpi/ic_express.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/guidance_item_1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/guidance_item_1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/guidance_item_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/guidance_item_2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/guidance_item_3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/guidance_item_3.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_couldsnow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_couldsnow.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_home_scan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_home_scan.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_login_qq.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_login_qq.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_login_twb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_login_twb.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_login_wb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_login_wb.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_moreruin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_moreruin.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_sun_snow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_sun_snow.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_user_head.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_user_head.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_wind_dic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_wind_dic.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_account.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_account.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_password.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_password.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/toast_frame.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/toast_frame.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/toast_frame.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-ldpi/toast_frame.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/loading_bg.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-mdpi/loading_bg.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/toast_frame.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-mdpi/toast_frame.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/toast_frame.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xhdpi/toast_frame.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/express_detail_bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/express_detail_bg.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_check_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/ic_check_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_clear_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/ic_clear_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_nolist_infor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-mdpi/ic_nolist_infor.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_end_location.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_end_location.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_height_tem.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_height_tem.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_home_package.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_home_package.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_home_search.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_home_search.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_home_thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_home_thumb.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_map_marker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_map_marker.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_notification.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_notification.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_service_send.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_service_send.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_windyandsun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_windyandsun.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ry_sitelist_img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ry_sitelist_img.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_close_black.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_close_black.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_user_login.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_user_login.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_user_proble.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_user_proble.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/toast_frame.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xxhdpi/toast_frame.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_warning_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/ic_warning_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_home_location.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_home_location.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_home_position.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_home_position.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_orderitem_tel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_orderitem_tel.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_sitelist_head.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_sitelist_head.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_orderitem_tel.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_orderitem_tel.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_user_service.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_user_service.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_user_setting.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_user_setting.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_check_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/ic_check_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_clear_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/ic_clear_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_check_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-mdpi/ic_check_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_clear_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-mdpi/ic_clear_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_warning_outline_white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/ic_warning_outline_white.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_sitelist_station.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_sitelist_station.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_weahter_thumder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_weahter_thumder.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/dialog_loading_img.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/dialog_loading_img.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_password_login.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_password_login.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_user_colletion.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_user_colletion.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_check_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xhdpi/ic_check_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_clear_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xhdpi/ic_clear_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_check_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xxhdpi/ic_check_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_clear_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xxhdpi/ic_clear_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_info_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/ic_info_outline_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_bottom_user_select.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_bottom_user_select.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_bottom_user_unselet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_bottom_user_unselet.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_orderlsit_ordernum.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_orderlsit_ordernum.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_orderlsit_ordernum.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_orderlsit_ordernum.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_user_location_list.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xxhdpi/ic_user_location_list.png
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/workspace.xml
5 | /.idea/libraries
6 | .DS_Store
7 | /build
8 | /captures
9 | .externalNativeBuild
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/actionsheet_top_normal.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/actionsheet_top_normal.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/alert_btn_left_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/alert_btn_left_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_warning_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xhdpi/ic_warning_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_check_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xxxhdpi/ic_check_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_clear_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xxxhdpi/ic_clear_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/ic_error_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable/ic_error_outline_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_bottom_mainpage_selet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_bottom_mainpage_selet.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_bottom_message_selet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_bottom_message_selet.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_bottom_message_unselet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_bottom_message_unselet.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_bottom_ticket_select.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_bottom_ticket_select.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_bottom_ticket_unselet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_bottom_ticket_unselet.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ry_sitelist_distance_src.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ry_sitelist_distance_src.png
--------------------------------------------------------------------------------
/image/Screenshot_2018-08-06-11-01-45-511_com.example.ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/image/Screenshot_2018-08-06-11-01-45-511_com.example.ad.png
--------------------------------------------------------------------------------
/image/Screenshot_2018-08-06-11-01-53-047_com.example.ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/image/Screenshot_2018-08-06-11-01-53-047_com.example.ad.png
--------------------------------------------------------------------------------
/image/Screenshot_2018-08-06-11-01-57-250_com.example.ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/image/Screenshot_2018-08-06-11-01-57-250_com.example.ad.png
--------------------------------------------------------------------------------
/image/Screenshot_2018-08-06-11-01-59-745_com.example.ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/image/Screenshot_2018-08-06-11-01-59-745_com.example.ad.png
--------------------------------------------------------------------------------
/image/Screenshot_2018-08-06-11-02-06-410_com.example.ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/image/Screenshot_2018-08-06-11-02-06-410_com.example.ad.png
--------------------------------------------------------------------------------
/image/Screenshot_2018-08-06-11-02-09-998_com.example.ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/image/Screenshot_2018-08-06-11-02-09-998_com.example.ad.png
--------------------------------------------------------------------------------
/image/Screenshot_2018-08-06-11-02-13-280_com.example.ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/image/Screenshot_2018-08-06-11-02-13-280_com.example.ad.png
--------------------------------------------------------------------------------
/image/Screenshot_2018-08-06-11-02-16-075_com.example.ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/image/Screenshot_2018-08-06-11-02-16-075_com.example.ad.png
--------------------------------------------------------------------------------
/image/Screenshot_2018-08-06-11-02-24-722_com.example.ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/image/Screenshot_2018-08-06-11-02-24-722_com.example.ad.png
--------------------------------------------------------------------------------
/image/Screenshot_2018-08-06-11-02-32-741_com.example.ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/image/Screenshot_2018-08-06-11-02-32-741_com.example.ad.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/actionsheet_top_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/actionsheet_top_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/alert_btn_right_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/alert_btn_right_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/alert_btn_single_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/alert_btn_single_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_info_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/ic_info_outline_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_info_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-mdpi/ic_info_outline_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_warning_outline_white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xhdpi/ic_warning_outline_white.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_bottom_mainpage_unselet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ic_bottom_mainpage_unselet.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ry_sitelist_distance_white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/mipmap-xhdpi/ry_sitelist_distance_white.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/actionsheet_bottom_normal.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/actionsheet_bottom_normal.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/actionsheet_bottom_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/actionsheet_bottom_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/actionsheet_middle_normal.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/actionsheet_middle_normal.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/actionsheet_middle_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/actionsheet_middle_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/actionsheet_single_normal.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/actionsheet_single_normal.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/actionsheet_single_pressed.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/actionsheet_single_pressed.9.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/ic_error_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-hdpi/ic_error_outline_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-mdpi/ic_error_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-mdpi/ic_error_outline_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_error_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xhdpi/ic_error_outline_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/ic_info_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xhdpi/ic_info_outline_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_error_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xxhdpi/ic_error_outline_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/ic_info_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xxhdpi/ic_info_outline_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_info_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xxxhdpi/ic_info_outline_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/ic_error_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/xyj155/ExpressUserClient/HEAD/app/src/main/res/drawable-xxxhdpi/ic_error_outline_white_48dp.png
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/tv_press_androidbg_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/tv_press_white_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 180dp
3 | 16dp
4 | 16dp
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/dialog_exit.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/commonUtil/DataLoader.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.commonUtil;
2 |
3 | public interface DataLoader {
4 | void getData(String data);
5 | }
--------------------------------------------------------------------------------
/app/src/main/res/anim/dialog_enter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/commonUtil/FragmentBackHandler.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.commonUtil;
2 |
3 | public interface FragmentBackHandler {
4 | boolean onBackPressed();
5 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/weight/Test.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.weight;
2 |
3 | /**
4 | * Created by Administrator on 2018/7/28.
5 | */
6 |
7 | public class Test {
8 | }
9 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/entity/Result.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.entity;
2 |
3 | /**
4 | * Created by Administrator on 2018/8/3/003.
5 | */
6 |
7 | public class Result {
8 | }
9 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/gson/Contact.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.gson;
2 |
3 | /**
4 | * Created by Administrator on 2018/8/26/026.
5 | */
6 |
7 | public class Contact {
8 | }
9 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/gson/EmptyGson.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.gson;
2 |
3 | /**
4 | * Created by Administrator on 2018/8/8/008.
5 | */
6 |
7 | public class EmptyGson {
8 | }
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/my_cursor.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/gson/ExpressGson.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.gson;
2 |
3 | /**
4 | * Created by Administrator on 2018/7/30/030.
5 | */
6 |
7 | public class ExpressGson {
8 | }
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-ldpi/btn_white_corner5dp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/actionsheet_dialog_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/actionsheet_dialog_out.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/btn_white_corner5dp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxxhdpi/btn_blue_corner0dp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/circle_point.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/tv_bg_item_sitelist.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Jul 26 22:30:35 CST 2018
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/btn_blue_corner5dp.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/home/HomeDataContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.home;
2 |
3 | /**
4 | * Created by Administrator on 2018/8/3/003.
5 | */
6 |
7 | public interface HomeDataContract {
8 |
9 | }
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/et_login__white_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/tv_introduce_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/color/login_tv_title_color.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/btn_feedback_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/item_news_station_tag_red.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/config/SysConfig.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.config;
2 |
3 | /**
4 | * Created by Administrator on 2018/7/29.
5 | */
6 |
7 | public class SysConfig {
8 | //扫码参数
9 | public static final int REQUEST_QR_CODE = 0xff;
10 | }
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bg_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/ry_item_newsdetail_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/alertdialog_left_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/alertdialog_right_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/alertdialog_single_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/btn_press_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/tv_home_search_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/container_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/actionsheet_top_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/commonUtil/FileProviderUtil.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.commonUtil;
2 |
3 | import android.support.v4.content.FileProvider;
4 |
5 | /**
6 | * Created by Administrator on 2018/8/1/001.
7 | */
8 |
9 | public class FileProviderUtil extends FileProvider {
10 | }
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/actionsheet_bottom_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/actionsheet_middle_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/actionsheet_single_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/vp_item_intro_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/http/volley/VolleyRequestCllBack.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.http.volley;
2 |
3 | /**
4 | * Created by Administrator on 2018/7/19/019.
5 | */
6 |
7 | public interface VolleyRequestCllBack {
8 | void onSuccess(String result);
9 | void onError(String error);
10 | }
11 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/guidance_item_1.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/guidance_item_2.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/common_toolbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/push_top_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
11 |
--------------------------------------------------------------------------------
/.idea/modules.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/anim_scroll_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/anim_scroll_out.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/push_top_out.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
11 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/shape_dash_line_yellow.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/weight/card/CardAdapter.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.weight.card;
2 |
3 |
4 | import android.support.v7.widget.CardView;
5 |
6 | public interface CardAdapter {
7 |
8 | int MAX_ELEVATION_FACTOR = 8;
9 |
10 | float getBaseElevation();
11 |
12 | CardView getCardViewAt(int position);
13 |
14 | int getCount();
15 | }
16 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/ExpressSearchActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract;
2 |
3 | /**
4 | * Created by Administrator on 2018/7/30/030.
5 | */
6 |
7 | public interface ExpressSearchActivityContract {
8 | interface Model {
9 | }
10 |
11 | interface View {
12 | }
13 |
14 | interface Presenter {
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/ExpressSearchActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model;
2 |
3 | import com.example.administrator.expressuserclient.contract.ExpressSearchActivityContract;
4 |
5 | /**
6 | * Created by Administrator on 2018/7/30/030.
7 | */
8 |
9 | public class ExpressSearchActivityModel implements ExpressSearchActivityContract.Model {
10 | }
11 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/provider_paths.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/message/ConversationActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.message;
2 |
3 | import com.example.administrator.expressuserclient.contract.message.ConversationActivityContract;
4 |
5 | /**
6 | * Created by Administrator on 2018/8/26/026.
7 | */
8 |
9 | public class ConversationActivityModel implements ConversationActivityContract.Model {
10 | }
11 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/presenter/ExpressSearchActivityPresenter.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.presenter;
2 |
3 | import com.example.administrator.expressuserclient.contract.ExpressSearchActivityContract;
4 |
5 | /**
6 | * Created by Administrator on 2018/7/30/030.
7 | */
8 |
9 | public class ExpressSearchActivityPresenter implements ExpressSearchActivityContract.Presenter {
10 | }
11 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/web_activity.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/config/APIConfig.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.config;
2 |
3 | /**
4 | * Created by Administrator on 2018/7/30/030.
5 | */
6 |
7 | public class APIConfig {
8 | public static final String POI = "https://restapi.amap.com/v3/place/around";
9 | public static final String APIKEY = "a680592ba5fa49c98ce32bde12430ed9";
10 | public static final String TURLING_URL = "http://www.tuling123.com/openapi/api";
11 | }
12 |
--------------------------------------------------------------------------------
/app/src/main/res/anim/rotate_animation.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_intro_duce.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/app/src/test/java/com/example/administrator/expressuserclient/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/.idea/runConfigurations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/dialog_round_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
11 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_chaturl.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
10 |
14 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/dialog_loading.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/.idea/gradle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_package_point_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_deliver_history.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/order/TicketFragmentContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.order;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.OrderGson;
5 |
6 | import rx.Observable;
7 |
8 | /**
9 | * Created by Administrator on 2018/8/3.
10 | */
11 |
12 | public interface TicketFragmentContract {
13 | interface Model {
14 | Observable> getOderList(String userid);
15 | }
16 |
17 | interface View {
18 | void showData(BaseGson baseGson);
19 | }
20 |
21 | interface Presenter {
22 | void getOrderList(String userid);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/.idea/compiler.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/home/NewsActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.home;
2 |
3 | import com.example.administrator.expressuserclient.entity.NewsEntity;
4 |
5 | import java.util.List;
6 |
7 | /**
8 | * Created by Administrator on 2018/8/22/022.
9 | */
10 |
11 | public interface NewsActivityContract {
12 | interface Model {
13 | List getListNews(int page);
14 |
15 | }
16 |
17 | interface View {
18 | void loadNews(List newsEntities);
19 |
20 | void loadMore(List newsEntities);
21 | }
22 |
23 | interface Presenter {
24 | void loadNews(int page);
25 | void loadMore(int index);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/gson/ShiptraceBean.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.gson;
2 |
3 | public class ShiptraceBean {
4 | /**
5 | * AcceptStation : 【浙江省金华市义乌市江东南下朱公司】 已收件
6 | * AcceptTime : 2018-08-12 18:47:12
7 | */
8 |
9 | private String AcceptStation;
10 | private String AcceptTime;
11 |
12 | public String getAcceptStation() {
13 | return AcceptStation;
14 | }
15 |
16 | public void setAcceptStation(String AcceptStation) {
17 | this.AcceptStation = AcceptStation;
18 | }
19 |
20 | public String getAcceptTime() {
21 | return AcceptTime;
22 | }
23 |
24 | public void setAcceptTime(String AcceptTime) {
25 | this.AcceptTime = AcceptTime;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/message/ContactListActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.message;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.UserGson;
5 |
6 | import rx.Observable;
7 |
8 | /**
9 | * Created by Administrator on 2018/8/26/026.
10 | */
11 |
12 | public interface ContactListActivityContract {
13 | interface Model {
14 | Observable> getContactList(String id);
15 | }
16 |
17 | interface View {
18 | void loadContactList(BaseGson userGsonBaseGson);
19 | }
20 |
21 | interface Presenter {
22 | void getContactList(String id);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/http/network/HeaderInterceptor.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.http.network;
2 |
3 | import java.io.IOException;
4 |
5 | import okhttp3.Interceptor;
6 | import okhttp3.Request;
7 | import okhttp3.Response;
8 |
9 | /**
10 | * Created by $wu on 2017-08-04 上午 10:28.
11 | * okhttp的拦截器添加header
12 | */
13 |
14 | public class HeaderInterceptor implements Interceptor {
15 | @Override
16 | public Response intercept(Chain chain) throws IOException {
17 | Request request = chain.request()
18 | .newBuilder()
19 | .addHeader("versionnumber", "2.1")
20 | .build();
21 | Response response = chain.proceed(request);
22 | return response;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/home/ExpressSearchActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.home;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.OrderGson;
5 |
6 | import rx.Observable;
7 |
8 | /**
9 | * Created by Administrator on 2018/7/30/030.
10 | */
11 |
12 | public interface ExpressSearchActivityContract {
13 | interface Model {
14 | Observable> expressSearch(String input);
15 | }
16 |
17 | interface View {
18 | void expressSearch(BaseGson packageSiteListBaseGson);
19 | }
20 |
21 | interface Presenter {
22 | void expressSearch(String input);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/http/network/LogInterceptor.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.http.network;
2 |
3 |
4 | import java.io.IOException;
5 |
6 | import okhttp3.Interceptor;
7 | import okhttp3.Request;
8 | import okhttp3.Response;
9 |
10 | /**
11 | * Created by $wu on 2017-08-04 上午 10:29.
12 | * Okhttp的log日志拦截器
13 | */
14 |
15 | public class LogInterceptor implements Interceptor {
16 | @Override
17 | public Response intercept(Chain chain) throws IOException {
18 |
19 | //请求前先打印日志
20 | Request request = chain.request();
21 | Response response = chain.proceed(chain.request());
22 | // LogUtil.log("LogInterceptor", "response" + response.body().string());
23 | return response;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/push/MessageFragmentContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.push;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.PushGson;
5 |
6 | import rx.Observable;
7 |
8 | /**
9 | * Created by Administrator on 2018/8/1.
10 | */
11 |
12 | public interface MessageFragmentContract {
13 | interface Model {
14 | Observable> getPushList();
15 | }
16 |
17 | interface View {
18 | void showDialog(String msg);
19 |
20 | void hideDialog();
21 |
22 | void setPushList(BaseGson pushList);
23 | }
24 |
25 | interface Presenter {
26 | void getPushList();
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/message/MessageFragmentContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.message;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.PushGson;
5 |
6 | import rx.Observable;
7 |
8 | /**
9 | * Created by Administrator on 2018/8/1.
10 | */
11 |
12 | public interface MessageFragmentContract {
13 | interface Model {
14 | Observable> getPushList();
15 | }
16 |
17 | interface View {
18 | void showDialog(String msg);
19 |
20 | void hideDialog();
21 |
22 | void setPushList(BaseGson pushList);
23 | }
24 |
25 | interface Presenter {
26 | void getPushList();
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 | android.useDeprecatedNdk=true
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/user/UserFragmentContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.user;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.UserGson;
5 |
6 | import okhttp3.MultipartBody;
7 | import okhttp3.RequestBody;
8 | import okhttp3.ResponseBody;
9 | import retrofit2.Call;
10 |
11 | /**
12 | * Created by Administrator on 2018/7/31.
13 | */
14 |
15 | public interface UserFragmentContract {
16 | interface Model {
17 | Call> uploadAvatar(RequestBody id, MultipartBody.Part file);
18 |
19 | }
20 |
21 | interface View {
22 | }
23 |
24 | interface Presenter {
25 | void addUserAvar(String id, String files);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/map_location_end_marker.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
12 |
13 |
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/push/MessageFragmentModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.push;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.push.MessageFragmentContract;
5 | import com.example.administrator.expressuserclient.gson.PushGson;
6 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/1.
12 | */
13 |
14 | public class MessageFragmentModel implements MessageFragmentContract.Model {
15 | @Override
16 | public Observable> getPushList() {
17 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().getPushList();
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/message/MessageFragmentModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.message;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.message.MessageFragmentContract;
5 | import com.example.administrator.expressuserclient.gson.PushGson;
6 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/1.
12 | */
13 |
14 | public class MessageFragmentModel implements MessageFragmentContract.Model {
15 | @Override
16 | public Observable> getPushList() {
17 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().getPushList();
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/map_location_marker.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 |
12 |
13 |
21 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/user/UserDetailActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.user;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.UserGson;
5 |
6 | import rx.Observable;
7 |
8 | /**
9 | * Created by Administrator on 2018/8/6.
10 | */
11 |
12 | public interface UserDetailActivityContract {
13 | interface Model {
14 | Observable> queryUserInfor(String id);
15 | }
16 |
17 | interface View {
18 | void showLoading(String msg);
19 |
20 | void hideLoading();
21 |
22 | void getUserInfor(BaseGson userGsonBaseGson);
23 | }
24 |
25 | interface Presenter {
26 | void queryUserInfor(String id);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/home/DeliverHistoryActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.home;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.DeliverHistory;
5 |
6 | import java.util.List;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * @author Administrator
12 | * @date 2018/8/18/018
13 | */
14 |
15 | public interface DeliverHistoryActivityContract {
16 | interface Model {
17 | Observable> getDeliverHistoryByUid(int uid);
18 |
19 | }
20 |
21 | interface View {
22 | void getDeliverHistoryByUid(List deliverHistory);
23 | }
24 |
25 | interface Presenter {
26 | void getDeliverHistoryByUid(int uid);
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/user/ServiceActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.user;
2 |
3 | import com.example.administrator.expressuserclient.gson.TurLingGson;
4 |
5 | import java.io.UnsupportedEncodingException;
6 |
7 | import retrofit2.Call;
8 |
9 | /**
10 | * Created by Administrator on 2018/8/3.
11 | */
12 |
13 | public interface ServiceActivityContract {
14 | interface Model {
15 | Call chatWithRobot(String key, String content);
16 | }
17 |
18 | interface View {
19 | void showLoading(String msg);
20 |
21 | void hideLoading();
22 |
23 | void loadContent(TurLingGson turLingGson);
24 | }
25 |
26 | interface Presenter {
27 | void chatWithRobot(String content) throws UnsupportedEncodingException;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/user/UserDetailActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.user;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.user.UserDetailActivityContract;
5 | import com.example.administrator.expressuserclient.gson.UserGson;
6 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/6.
12 | */
13 |
14 | public class UserDetailActivityModel implements UserDetailActivityContract.Model {
15 | @Override
16 | public Observable> queryUserInfor(String id) {
17 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().queryUserInfor(id);
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/user/ServiceActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.user;
2 |
3 | import com.example.administrator.expressuserclient.config.APIConfig;
4 | import com.example.administrator.expressuserclient.contract.user.ServiceActivityContract;
5 | import com.example.administrator.expressuserclient.gson.TurLingGson;
6 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
7 |
8 | import retrofit2.Call;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/3.
12 | */
13 |
14 | public class ServiceActivityModel implements ServiceActivityContract.Model {
15 | @Override
16 | public Call chatWithRobot(String key, String content) {
17 | return RetrofitUtil.getInstance(APIConfig.TURLING_URL).getServerices().chatWithTurling(key,content);
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/home/PackagePointListActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.home;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.OrderGson;
5 |
6 | import rx.Observable;
7 |
8 | /**
9 | * Created by Administrator on 2018/8/4/004.
10 | */
11 |
12 | public interface PackagePointListActivityContract {
13 | interface Model {
14 | Observable> getPackageStation(String userid);
15 | }
16 |
17 | interface View {
18 | void showDialog(String msg);
19 |
20 | void hideDialog();
21 |
22 | void showData(BaseGson packageStation);
23 | }
24 |
25 | interface Presenter {
26 |
27 | void setPackageStation(String userid);
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/home/ExpressSearchActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.home;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.home.ExpressSearchActivityContract;
5 | import com.example.administrator.expressuserclient.gson.OrderGson;
6 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/7/30/030.
12 | */
13 |
14 | public class ExpressSearchActivityModel implements ExpressSearchActivityContract.Model {
15 | @Override
16 | public Observable> expressSearch(String input) {
17 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().searchOrder(input);
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/message/ContactListActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.message;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.message.ContactListActivityContract;
5 | import com.example.administrator.expressuserclient.gson.UserGson;
6 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/26/026.
12 | */
13 |
14 | public class ContactListActivityModel implements ContactListActivityContract.Model {
15 | @Override
16 | public Observable> getContactList(String id) {
17 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().queryContactList(id);
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/LoginActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract;
2 |
3 | import android.app.Activity;
4 |
5 | import com.example.administrator.expressuserclient.base.BaseGson;
6 | import com.example.administrator.expressuserclient.gson.UserGson;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/7/28.
12 | */
13 |
14 | public interface LoginActivityContract {
15 | interface Model {
16 | Observable> loginWithUserName(Activity context,String username, String password);
17 | }
18 |
19 | interface View {
20 |
21 |
22 | void showDialog(String msg);
23 |
24 | void hideDialog();
25 | }
26 |
27 | interface Presenter {
28 | void loginWithUserName(Activity context, String username, String password);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/login/LoginFragmentContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.login;
2 |
3 | import android.app.Activity;
4 |
5 | import com.example.administrator.expressuserclient.base.BaseGson;
6 | import com.example.administrator.expressuserclient.gson.UserGson;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/7/28.
12 | */
13 |
14 | public interface LoginFragmentContract {
15 | interface Model {
16 | Observable> loginWithUserName(Activity context,String username, String password);
17 | }
18 |
19 | interface View {
20 |
21 | void showDialog(String msg);
22 |
23 | void hideDialog();
24 | }
25 |
26 | interface Presenter {
27 | void loginWithUserName(Activity context, String username, String password);
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/home/DeliverHistoryActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.home;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.home.DeliverHistoryActivityContract;
5 | import com.example.administrator.expressuserclient.gson.DeliverHistory;
6 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/18/018.
12 | */
13 |
14 | public class DeliverHistoryActivityModel implements DeliverHistoryActivityContract.Model {
15 | @Override
16 | public Observable> getDeliverHistoryByUid(int uid) {
17 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().getDeliverHistoryByUid(uid);
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/order/TicketFragmentModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.order;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.order.TicketFragmentContract;
5 | import com.example.administrator.expressuserclient.gson.OrderGson;
6 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/3.
12 | */
13 |
14 | public class TicketFragmentModel implements TicketFragmentContract.Model {
15 | @Override
16 | public Observable> getOderList(String userid) {
17 | return RetrofitUtil.
18 | getInstanceInJava(RetrofitUtil.BASE_URL_JAVA)
19 | .getServerices().getOrderList(userid);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/user/FeedbackActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.user;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.EmptyGson;
5 |
6 | import rx.Observable;
7 |
8 | /**
9 | * Created by Administrator on 2018/8/8/008.
10 | */
11 |
12 | public interface FeedbackActivityContract {
13 | interface Model {
14 | Observable> createNewFeed(String im, String username, String userid, String content);
15 | }
16 |
17 | interface View {
18 | void showDialog(String msg);
19 |
20 | void hideDialog();
21 |
22 | void isSuccess(boolean success);
23 |
24 | }
25 |
26 | interface Presenter {
27 | void createNewFeed(String im, String username, String userid, String content);
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/App.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient;
2 |
3 | import android.app.Application;
4 |
5 | import com.mob.MobSDK;
6 | import com.tencent.bugly.Bugly;
7 |
8 | import cn.jpush.im.android.api.JMessageClient;
9 |
10 |
11 | /**
12 | * Created by Administrator on 2018/7/28.
13 | */
14 |
15 | public class App extends Application {
16 | public static App app = null;
17 |
18 | public static App getInstance() {
19 | if (app == null) {
20 | return new App();
21 | } else {
22 | return app;
23 | }
24 | }
25 |
26 | @Override
27 | public void onCreate() {
28 | super.onCreate();
29 | app = this;
30 | Bugly.init(getApplicationContext(), "f2c794a75c", false);
31 | MobSDK.init(this);
32 | JMessageClient.init(this);
33 | JMessageClient.setDebugMode(true); }
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/user/FeedbackActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.user;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.user.FeedbackActivityContract;
5 | import com.example.administrator.expressuserclient.gson.EmptyGson;
6 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/8/008.
12 | */
13 |
14 | public class FeedbackActivityModel implements FeedbackActivityContract.Model {
15 |
16 |
17 | @Override
18 | public Observable> createNewFeed(String im, String username, String userid, String content) {
19 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().UserFeedBack(im, username, userid, content);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/gson/DeliverHistory.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.gson;
2 |
3 | /**
4 | * Created by Administrator on 2018/8/18/018.
5 | */
6 |
7 | public class DeliverHistory {
8 |
9 | /**
10 | * id : 1
11 | * uid : 1
12 | * pid : 11
13 | * time : 2018-08-18 15:37:18
14 | */
15 |
16 | private int id;
17 | private String time;
18 | private String count;
19 |
20 | public int getId() {
21 | return id;
22 | }
23 |
24 | public void setId(int id) {
25 | this.id = id;
26 | }
27 |
28 | public String getTime() {
29 | return time;
30 | }
31 |
32 | public void setTime(String time) {
33 | this.time = time;
34 | }
35 |
36 | public String getCount() {
37 | return count;
38 | }
39 |
40 | public void setCount(String count) {
41 | this.count = count;
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/home/HomeFragmentContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.home;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.BannerGson;
5 | import com.example.administrator.expressuserclient.gson.NewsGson;
6 |
7 | import java.util.List;
8 |
9 | import rx.Observable;
10 |
11 | /**
12 | * Created by Administrator on 2018/8/20/020.
13 | */
14 |
15 | public interface HomeFragmentContract {
16 | interface Model {
17 |
18 | Observable> setBanner();
19 |
20 | Observable> setNews();
21 | }
22 |
23 | interface View {
24 |
25 | void setBanner(List bannerGsonBaseGson, List baseGson);
26 |
27 |
28 | }
29 |
30 | interface Presenter {
31 |
32 | void setMainFragmentData();
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/gson/BannerGson.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.gson;
2 |
3 | /**
4 | * Created by Administrator on 2018/8/20/020.
5 | */
6 |
7 | public class BannerGson {
8 |
9 | /**
10 | * id : 1
11 | * pic1 : d sas d
12 | * pic2 : das
13 | * pic3 : da as
14 | * pic4 : da
15 | * pic5 : da
16 | */
17 |
18 | private int id;
19 | private String pic;
20 | private String url;
21 |
22 | public String getUrl() {
23 | return url;
24 | }
25 |
26 | public void setUrl(String url) {
27 | this.url = url;
28 | }
29 |
30 | public int getId() {
31 | return id;
32 | }
33 |
34 | public void setId(int id) {
35 | this.id = id;
36 | }
37 |
38 | public String getPic() {
39 | return pic;
40 | }
41 |
42 | public void setPic(String pic) {
43 | this.pic = pic;
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/app/src/androidTest/java/com/example/administrator/expressuserclient/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient;
2 |
3 | import android.content.Context;
4 | import android.support.test.InstrumentationRegistry;
5 | import android.support.test.runner.AndroidJUnit4;
6 |
7 | import org.junit.Test;
8 | import org.junit.runner.RunWith;
9 |
10 | import static org.junit.Assert.*;
11 |
12 | /**
13 | * Instrumentation test, which will execute on an Android device.
14 | *
15 | * @see Testing documentation
16 | */
17 | @RunWith(AndroidJUnit4.class)
18 | public class ExampleInstrumentedTest {
19 | @Test
20 | public void useAppContext() throws Exception {
21 | // Context of the app under test.
22 | Context appContext = InstrumentationRegistry.getTargetContext();
23 |
24 | assertEquals("com.example.administrator.expressuserclient", appContext.getPackageName());
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/SiteListActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract;
2 |
3 | import android.content.Context;
4 |
5 | import com.example.administrator.expressuserclient.commonUtil.DataLoader;
6 | import com.example.administrator.expressuserclient.gson.POIGson;
7 |
8 | import java.util.List;
9 |
10 | /**
11 | * Created by Administrator on 2018/7/30/030.
12 | */
13 |
14 | public interface SiteListActivityContract {
15 | interface Model {
16 | void loadSiteList(Context context, double latitude, double longitude,DataLoader dataLoader);
17 | }
18 |
19 | interface View {
20 | void loadSitelist(List poiGson);
21 |
22 | void showLoading(String str);
23 |
24 | void hideLoading();
25 |
26 | }
27 |
28 | interface Presenter {
29 |
30 | void loadList(Context context, double latitude, double longitude);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/home/SiteListActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.home;
2 |
3 | import android.content.Context;
4 |
5 | import com.example.administrator.expressuserclient.commonUtil.DataLoader;
6 | import com.example.administrator.expressuserclient.gson.POIGson;
7 |
8 | import java.util.List;
9 |
10 | /**
11 | * Created by Administrator on 2018/7/30/030.
12 | */
13 |
14 | public interface SiteListActivityContract {
15 | interface Model {
16 | void loadSiteList(Context context, double latitude, double longitude,DataLoader dataLoader);
17 | }
18 |
19 | interface View {
20 | void loadSitelist(List poiGson);
21 |
22 | void showLoading(String str);
23 |
24 | void hideLoading();
25 |
26 | }
27 |
28 | interface Presenter {
29 |
30 | void loadList(Context context, double latitude, double longitude);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/home/PackagePointListActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.home;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.home.PackagePointListActivityContract;
5 | import com.example.administrator.expressuserclient.gson.OrderGson;
6 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/4/004.
12 | */
13 |
14 | public class PackagePointListActivityModel implements PackagePointListActivityContract.Model {
15 | @Override
16 | public Observable> getPackageStation(String userid) {
17 | return RetrofitUtil.
18 | getInstanceInJava(RetrofitUtil.BASE_URL_JAVA)
19 | .getServerices()
20 | .getPackageStation(userid);
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/home/ShiperTraceActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.home;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.ShiperTraceGson;
5 | import com.example.administrator.expressuserclient.gson.ShiptraceBean;
6 |
7 | import rx.Observable;
8 |
9 | /**
10 | * @author Administrator
11 | * @date 2018/8/20/020
12 | */
13 |
14 | public interface ShiperTraceActivityContract {
15 | interface Model {
16 | Observable>> queryPackageByNum(String num);
17 | }
18 |
19 | interface View {
20 | void loadFromShiper(BaseGson> baseGson);
21 |
22 | void showLoading(String msg);
23 |
24 | void hideLoading();
25 | }
26 |
27 | interface Presenter {
28 | void loadFromShipe(String num);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/home/ShiperTraceActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.home;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.home.ShiperTraceActivityContract;
5 | import com.example.administrator.expressuserclient.gson.ShiperTraceGson;
6 | import com.example.administrator.expressuserclient.gson.ShiptraceBean;
7 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
8 |
9 | import rx.Observable;
10 |
11 | /**
12 | * Created by Administrator on 2018/8/20/020.
13 | */
14 |
15 | public class ShiperTraceActivityModel implements ShiperTraceActivityContract.Model {
16 |
17 |
18 | @Override
19 | public Observable>> queryPackageByNum(String num) {
20 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().queryTraceByNum(num);
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/toast_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
19 |
20 |
24 |
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/commonUtil/GsonUtil.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.commonUtil;
2 |
3 | import com.google.gson.Gson;
4 | import com.google.gson.reflect.TypeToken;
5 |
6 | import java.util.List;
7 |
8 | public class GsonUtil {
9 | // 定义一个json对象
10 | public static Gson gson = new Gson();
11 |
12 | // 将json数据转换成对应的类型数据
13 | public static T parseJsonWithClass(String jsonData, Class type) {
14 | T result = gson.fromJson(jsonData, type);
15 | return result;
16 | }
17 |
18 | // 将其他类型数据转换成json数据
19 | public static String parseToJson(Object jsonData) {
20 | String result = gson.toJson(jsonData);
21 | return result;
22 | }
23 |
24 | // 将json数据转换成list集合
25 | public static List parseJsonArrayWithGson(String jsonData, Class type) {
26 | List result = gson.fromJson(jsonData, new TypeToken>() {
27 | }.getType());
28 | return result;
29 | }
30 | }
--------------------------------------------------------------------------------
/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in D:\AndroidSDK/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
19 | # Uncomment this to preserve the line number information for
20 | # debugging stack traces.
21 | #-keepattributes SourceFile,LineNumberTable
22 |
23 | # If you keep the line number information, uncomment this to
24 | # hide the original source file name.
25 | #-renamesourcefileattribute SourceFile
26 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
13 |
14 |
22 |
23 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/LoginActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model;
2 |
3 | import android.app.Activity;
4 |
5 | import com.example.administrator.expressuserclient.base.BaseGson;
6 | import com.example.administrator.expressuserclient.contract.LoginActivityContract;
7 | import com.example.administrator.expressuserclient.gson.UserGson;
8 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
9 |
10 | import rx.Observable;
11 |
12 | import static com.example.administrator.expressuserclient.http.util.RetrofitUtil.BASE_URL;
13 |
14 | /**
15 | * Created by Administrator on 2018/7/28.
16 | */
17 |
18 | public class LoginActivityModel implements LoginActivityContract.Model {
19 |
20 | @Override
21 | public Observable> loginWithUserName(Activity context, String username, String password) {
22 | return RetrofitUtil.getInstance(BASE_URL).getServerices().loginWithUserName(username, password);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/entity/NewsEntity.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.entity;
2 |
3 | /**
4 | * Created by Administrator on 2018/8/22/022.
5 | */
6 |
7 | public class NewsEntity {
8 | private String img;
9 | private String url;
10 | private String title;
11 | private String content;
12 |
13 | public String getImg() {
14 | return img;
15 | }
16 |
17 | public void setImg(String img) {
18 | this.img = img;
19 | }
20 |
21 | public String getUrl() {
22 | return url;
23 | }
24 |
25 | public void setUrl(String url) {
26 | this.url = url;
27 | }
28 |
29 | public String getTitle() {
30 | return title;
31 | }
32 |
33 | public void setTitle(String title) {
34 | this.title = title;
35 | }
36 |
37 | public String getContent() {
38 | return content;
39 | }
40 |
41 | public void setContent(String content) {
42 | this.content = content;
43 | }
44 | }
45 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/user/UserFragmentModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.user;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.user.UserFragmentContract;
5 | import com.example.administrator.expressuserclient.gson.UserGson;
6 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
7 |
8 | import okhttp3.MultipartBody;
9 | import okhttp3.RequestBody;
10 | import okhttp3.ResponseBody;
11 | import retrofit2.Call;
12 |
13 | /**
14 | * Created by Administrator on 2018/7/31.
15 | */
16 |
17 | public class UserFragmentModel implements UserFragmentContract.Model {
18 |
19 | @Override
20 | public Call> uploadAvatar(RequestBody id, MultipartBody.Part file) {
21 | return RetrofitUtil
22 | .getInstance(RetrofitUtil.BASE_URL)
23 | .getServerices()
24 | .uploadAvatar(id, file);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/login/LoginActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.login;
2 |
3 | import android.app.Activity;
4 |
5 | import com.example.administrator.expressuserclient.base.BaseGson;
6 | import com.example.administrator.expressuserclient.contract.login.LoginFragmentContract;
7 | import com.example.administrator.expressuserclient.gson.UserGson;
8 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
9 |
10 | import rx.Observable;
11 |
12 | import static com.example.administrator.expressuserclient.http.util.RetrofitUtil.BASE_URL;
13 |
14 | /**
15 | * Created by Administrator on 2018/7/28.
16 | */
17 |
18 | public class LoginActivityModel implements LoginFragmentContract.Model {
19 |
20 | @Override
21 | public Observable> loginWithUserName(Activity context, String username, String password) {
22 | return RetrofitUtil.getInstance(BASE_URL).getServerices().loginWithUserName(username, password);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/message/AddContactUserActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.message;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.EmptyGson;
5 | import com.example.administrator.expressuserclient.gson.UserGson;
6 |
7 | import java.util.List;
8 |
9 | import rx.Observable;
10 |
11 | /**
12 | * Created by Administrator on 2018/8/27/027.
13 | */
14 |
15 | public interface AddContactUserActivityContract {
16 | interface Model {
17 | Observable> queryContactByUid(String uid);
18 |
19 | Observable> setNewContact(String pid,String uid);
20 | }
21 |
22 | interface View {
23 | void loadUserList(List userGsonBaseGson);
24 |
25 | }
26 |
27 | interface Presenter {
28 | void queryContactByUid(String uid);
29 |
30 | void setNewContact(String pid, String uid);
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/home/HomeFragmentModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.home;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.home.HomeFragmentContract;
5 | import com.example.administrator.expressuserclient.gson.BannerGson;
6 | import com.example.administrator.expressuserclient.gson.NewsGson;
7 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
8 |
9 | import rx.Observable;
10 |
11 | /**
12 | * Created by Administrator on 2018/8/20/020.
13 | */
14 |
15 | public class HomeFragmentModel implements HomeFragmentContract.Model {
16 | @Override
17 | public Observable> setBanner() {
18 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().queryBanner();
19 | }
20 |
21 | @Override
22 | public Observable> setNews() {
23 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().setNewsList();
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/login/RegisterFragmentModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.login;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.login.RegisterFragmentContract;
5 | import com.example.administrator.expressuserclient.gson.UserGson;
6 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/28/028.
12 | */
13 |
14 | public class RegisterFragmentModel implements RegisterFragmentContract.Model {
15 | @Override
16 | public Observable> register(String username, String password, String tel) {
17 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().register(username,password,tel);
18 | }
19 |
20 | @Override
21 | public Observable> querySameUser(String username) {
22 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().querySameUser(username);
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/commonUtil/ActivityCollectorUtil.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.commonUtil;
2 |
3 | import android.app.Activity;
4 |
5 | import java.util.ArrayList;
6 |
7 | public class ActivityCollectorUtil {
8 | public static ArrayList mActivityList = new ArrayList();
9 |
10 | /**
11 | * onCreate()时添加
12 | * @param activity
13 | */
14 | public static void addActivity(Activity activity){
15 | //判断集合中是否已经添加,添加过的则不再添加
16 | if (!mActivityList.contains(activity)){
17 | mActivityList.add(activity);
18 | }
19 | }
20 |
21 | /**
22 | * onDestroy()时删除
23 | * @param activity
24 | */
25 | public static void removeActivity(Activity activity){
26 | mActivityList.remove(activity);
27 | }
28 |
29 | /**
30 | * 关闭所有Activity
31 | */
32 | public static void finishAllActivity(){
33 | for (Activity activity : mActivityList){
34 | if (!activity.isFinishing()){
35 | activity.finish();
36 | }
37 | }
38 | }
39 |
40 | }
--------------------------------------------------------------------------------
/app/src/main/res/layout/guidance_item_3.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
28 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/login/RegisterFragmentContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.login;
2 |
3 | import android.app.Activity;
4 |
5 | import com.example.administrator.expressuserclient.base.BaseGson;
6 | import com.example.administrator.expressuserclient.gson.UserGson;
7 |
8 | import rx.Observable;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/28/028.
12 | */
13 |
14 | public interface RegisterFragmentContract {
15 | interface Model {
16 | Observable> register(String username, String password, String tel);
17 |
18 | Observable> querySameUser(String username);
19 |
20 | }
21 |
22 | interface View {
23 | void register(BaseGson baseGson);
24 |
25 | void querySameUser(BaseGson baseGson);
26 |
27 | void showDialog(String msg);
28 |
29 | void hideDialog();
30 | }
31 |
32 | interface Presenter {
33 | void register(Activity activity, String username, String password, String tel);
34 | void querySameUser(String username);
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/base/BaseGson.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.base;
2 |
3 | import java.util.List;
4 |
5 | /**
6 | * Created by Administrator on 2018/7/28.
7 | */
8 |
9 | public class BaseGson {
10 |
11 | /**
12 | * success : true
13 | * code : 200
14 | * msg : 登陆成功
15 | */
16 |
17 | private boolean success;
18 | private int code;
19 | private String msg;
20 | private List data;
21 |
22 | public List getData() {
23 | return data;
24 | }
25 |
26 | public void setData(List data) {
27 | this.data = data;
28 | }
29 |
30 | public boolean isSuccess() {
31 | return success;
32 | }
33 |
34 | public void setSuccess(boolean success) {
35 | this.success = success;
36 | }
37 |
38 | public int getCode() {
39 | return code;
40 | }
41 |
42 | public void setCode(int code) {
43 | this.code = code;
44 | }
45 |
46 | public String getMsg() {
47 | return msg;
48 | }
49 |
50 | public void setMsg(String msg) {
51 | this.msg = msg;
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/UserFragmentContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.UserGson;
5 |
6 | import okhttp3.MultipartBody;
7 | import okhttp3.RequestBody;
8 | import okhttp3.ResponseBody;
9 | import retrofit2.Call;
10 |
11 | /**
12 | * Created by Administrator on 2018/7/31.
13 | */
14 |
15 | public interface UserFragmentContract {
16 | interface Model {
17 | Call> uploadAvatar(RequestBody requestBody, MultipartBody.Part file);
18 | // @Override
19 | // public Observable> addUserAvar(RequestBody content, RequestBody contact, List files) {
20 | // return RetrofitUtils
21 | // .getInstance()
22 | // .getServerices()
23 | // .addFeedback(content,contact,files);
24 |
25 | }
26 |
27 | interface View {
28 | }
29 |
30 | interface Presenter {
31 | void addData(String id, String files);
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/map_packetlist_marker.xml:
--------------------------------------------------------------------------------
1 |
2 |
13 |
14 |
26 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/weight/card/CardFragment.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.weight.card;
2 |
3 | import android.os.Bundle;
4 | import android.support.annotation.Nullable;
5 | import android.support.v4.app.Fragment;
6 | import android.support.v7.widget.CardView;
7 | import android.view.LayoutInflater;
8 | import android.view.View;
9 | import android.view.ViewGroup;
10 |
11 | import com.example.administrator.expressuserclient.R;
12 |
13 |
14 | public class CardFragment extends Fragment {
15 |
16 | private CardView mCardView;
17 |
18 | @Nullable
19 | @Override
20 | public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container,
21 | @Nullable Bundle savedInstanceState) {
22 | View view = inflater.inflate(R.layout.fragment_adapter, container, false);
23 | mCardView = (CardView) view.findViewById(R.id.cardView);
24 | mCardView.setMaxCardElevation(mCardView.getCardElevation()
25 | * CardAdapter.MAX_ELEVATION_FACTOR);
26 | return view;
27 | }
28 |
29 | public CardView getCardView() {
30 | return mCardView;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/message/AddContactUserActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.message;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.contract.message.AddContactUserActivityContract;
5 | import com.example.administrator.expressuserclient.gson.EmptyGson;
6 | import com.example.administrator.expressuserclient.gson.UserGson;
7 | import com.example.administrator.expressuserclient.http.util.RetrofitUtil;
8 |
9 | import rx.Observable;
10 |
11 | /**
12 | * Created by Administrator on 2018/8/27/027.
13 | */
14 |
15 | public class AddContactUserActivityModel implements AddContactUserActivityContract.Model {
16 | @Override
17 | public Observable> queryContactByUid(String uid) {
18 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().queryContactByUid(uid);
19 | }
20 |
21 | @Override
22 | public Observable> setNewContact(String pid, String uid) {
23 | return RetrofitUtil.getInstance(RetrofitUtil.BASE_URL).getServerices().setNewContact(pid,uid);
24 | }
25 |
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/view/activity/JudeMentActivity.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.view.activity;
2 |
3 | import android.content.Intent;
4 | import android.content.SharedPreferences;
5 | import android.os.Bundle;
6 | import android.support.annotation.Nullable;
7 | import android.support.v7.app.AppCompatActivity;
8 | import android.util.Log;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/6/006.
12 | */
13 |
14 | public class JudeMentActivity extends AppCompatActivity {
15 | private static final String TAG = "JudeMentActivity";
16 | @Override
17 | protected void onCreate(@Nullable Bundle savedInstanceState) {
18 | super.onCreate(savedInstanceState);
19 | SharedPreferences sp = getSharedPreferences("user", MODE_PRIVATE);
20 | boolean login = sp.getBoolean("login", false);
21 | Log.i(TAG, "onCreate: "+login);
22 | if (login) {
23 | startActivity(new Intent(JudeMentActivity.this, SplashActivity.class));
24 | finish();
25 | } else {
26 | startActivity(new Intent(JudeMentActivity.this, IntroduceActivity.class));
27 | finish();
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/dataContract/HomeData.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.dataContract;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.gson.BannerGson;
5 | import com.example.administrator.expressuserclient.gson.NewsGson;
6 |
7 | import java.util.ArrayList;
8 | import java.util.List;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/20/020.
12 | */
13 |
14 | public class HomeData {
15 | private List mBannerBean;
16 |
17 | private List mOptimizationBean;
18 |
19 | public HomeData(BaseGson bannerData, BaseGson listBaseGson) {
20 | mBannerBean = bannerData.getData();
21 | mOptimizationBean = listBaseGson.getData();
22 | }
23 |
24 | public List getBannerBean() {
25 | if (mBannerBean == null) {
26 | return new ArrayList<>();
27 | }
28 | return mBannerBean;
29 | }
30 |
31 | public List getOptimizationBean() {
32 | if (mOptimizationBean == null) {
33 | return new ArrayList<>();
34 | }
35 | return mOptimizationBean;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/http/network/RequestBodyConverter.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.http.network;
2 |
3 | import java.lang.annotation.Annotation;
4 | import java.lang.reflect.Type;
5 |
6 | import okhttp3.RequestBody;
7 | import okhttp3.ResponseBody;
8 | import retrofit2.Converter;
9 | import retrofit2.Retrofit;
10 |
11 | /**
12 | * Created by $wu on 2017-08-17 上午 10:48.
13 | */
14 |
15 | public class RequestBodyConverter extends Converter.Factory {
16 |
17 | @Override
18 | public Converter responseBodyConverter(Type type, Annotation[] annotations, Retrofit retrofit) {
19 | return super.responseBodyConverter(type, annotations, retrofit);
20 | }
21 |
22 | @Override
23 | public Converter, RequestBody> requestBodyConverter(Type type, Annotation[] parameterAnnotations, Annotation[] methodAnnotations, Retrofit retrofit) {
24 | return super.requestBodyConverter(type, parameterAnnotations, methodAnnotations, retrofit);
25 | }
26 |
27 | @Override
28 | public Converter, String> stringConverter(Type type, Annotation[] annotations, Retrofit retrofit) {
29 | return super.stringConverter(type, annotations, retrofit);
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/gson/MessageGson.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.gson;
2 |
3 | /**
4 | * Created by Administrator on 2018/7/31/031.
5 | */
6 |
7 | public class MessageGson {
8 | private String img;
9 | private String title;
10 | private String content;
11 | private String date;
12 | private String location;
13 |
14 | public String getImg() {
15 | return img;
16 | }
17 |
18 | public void setImg(String img) {
19 | this.img = img;
20 | }
21 |
22 | public String getTitle() {
23 | return title;
24 | }
25 |
26 | public void setTitle(String title) {
27 | this.title = title;
28 | }
29 |
30 | public String getContent() {
31 | return content;
32 | }
33 |
34 | public void setContent(String content) {
35 | this.content = content;
36 | }
37 |
38 | public String getDate() {
39 | return date;
40 | }
41 |
42 | public void setDate(String date) {
43 | this.date = date;
44 | }
45 |
46 | public String getLocation() {
47 | return location;
48 | }
49 |
50 | public void setLocation(String location) {
51 | this.location = location;
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/weight/SupportPopupWindow.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.weight;
2 |
3 | import android.graphics.Rect;
4 | import android.os.Build;
5 | import android.view.View;
6 | import android.widget.PopupWindow;
7 |
8 | public class SupportPopupWindow extends PopupWindow {
9 |
10 | public SupportPopupWindow(View contentView, int width, int height){
11 | super(contentView,width,height);
12 | }
13 |
14 | @Override
15 | public void showAsDropDown(View anchor) {
16 | if(Build.VERSION.SDK_INT >= 24) {
17 | Rect rect = new Rect();
18 | anchor.getGlobalVisibleRect(rect);
19 | int h = anchor.getResources().getDisplayMetrics().heightPixels - rect.bottom;
20 | setHeight(h);
21 | }
22 | super.showAsDropDown(anchor);
23 | }
24 |
25 | @Override
26 | public void showAsDropDown(View anchor, int xoff, int yoff) {
27 | if(Build.VERSION.SDK_INT >= 24) {
28 | Rect rect = new Rect();
29 | anchor.getGlobalVisibleRect(rect);
30 | int h = anchor.getResources().getDisplayMetrics().heightPixels - rect.bottom;
31 | setHeight(h);
32 | }
33 | super.showAsDropDown(anchor, xoff, yoff);
34 | }
35 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/presenter/home/NewsActivityPresenter.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.presenter.home;
2 |
3 | import com.example.administrator.expressuserclient.contract.home.NewsActivityContract;
4 | import com.example.administrator.expressuserclient.entity.NewsEntity;
5 | import com.example.administrator.expressuserclient.model.home.NewsActivityModel;
6 |
7 | import java.util.List;
8 |
9 | /**
10 | * Created by Administrator on 2018/8/22/022.
11 | */
12 |
13 | public class NewsActivityPresenter implements NewsActivityContract.Presenter {
14 | private NewsActivityContract.View view;
15 | private NewsActivityModel model = new NewsActivityModel();
16 |
17 | public NewsActivityPresenter(NewsActivityContract.View view) {
18 | this.view = view;
19 | }
20 |
21 | @Override
22 | public void loadNews(int page) {
23 |
24 | List listNews = model.getListNews(page);
25 | if (listNews.size()>0){
26 | view.loadNews(listNews);
27 | }
28 |
29 | }
30 |
31 | @Override
32 | public void loadMore(int index) {
33 | List listNews = model.getListNews(index);
34 | if (listNews.size()>0){
35 | view.loadMore(listNews);
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/weight/bottom/TabItemLayout.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.weight.bottom;
2 |
3 | import android.content.Context;
4 | import android.util.AttributeSet;
5 | import android.util.DisplayMetrics;
6 | import android.view.WindowManager;
7 | import android.widget.LinearLayout;
8 |
9 | /**
10 | * Created by liuhao on 16/11/28.
11 | */
12 |
13 | public class TabItemLayout extends LinearLayout {
14 |
15 |
16 |
17 | public TabItemLayout(Context context) {
18 | super(context);
19 | }
20 |
21 | public TabItemLayout(Context context, AttributeSet attrs) {
22 | super(context, attrs);
23 | }
24 |
25 | @Override
26 | protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
27 | super.onMeasure(widthMeasureSpec, heightMeasureSpec);
28 | int heightSize = MeasureSpec.getSize(heightMeasureSpec);
29 | setMeasuredDimension(getScreenWidth()/4,heightSize);
30 | }
31 |
32 |
33 | private int getScreenWidth(){
34 | WindowManager wm = (WindowManager) getContext().getSystemService(
35 | Context.WINDOW_SERVICE);
36 | DisplayMetrics dm = new DisplayMetrics();
37 | wm.getDefaultDisplay().getMetrics(dm);
38 | return dm.widthPixels;
39 | }
40 | }
--------------------------------------------------------------------------------
/app/src/main/res/layout/ry_item_service_recycle_chat_chatfriends.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/ry_item_service_recycle_chat_user.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
26 |
31 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/weight/bottom/TabEntity.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.weight.bottom;
2 |
3 | /**
4 | * Created by liuhao on 16/11/28.
5 | */
6 |
7 | public class TabEntity {
8 | private String text;
9 | private int normalIconId;
10 | private int selectIconId;
11 | private boolean isShowPoint;
12 | private int newsCount;
13 |
14 | public int getNewsCount() {
15 | return newsCount;
16 | }
17 |
18 | public void setNewsCount(int newsCount) {
19 | this.newsCount = newsCount;
20 | }
21 |
22 | public boolean isShowPoint() {
23 | return isShowPoint;
24 | }
25 |
26 | public void setShowPoint(boolean showPoint) {
27 | isShowPoint = showPoint;
28 | }
29 |
30 | public String getText() {
31 | return text;
32 | }
33 |
34 | public void setText(String text) {
35 | this.text = text;
36 | }
37 |
38 | public int getNormalIconId() {
39 | return normalIconId;
40 | }
41 |
42 | public void setNormalIconId(int normalIconId) {
43 | this.normalIconId = normalIconId;
44 | }
45 |
46 | public int getSelectIconId() {
47 | return selectIconId;
48 | }
49 |
50 | public void setSelectIconId(int selectIconId) {
51 | this.selectIconId = selectIconId;
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/conversation_ry_item_chat_chatfriends.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
14 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_news.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
11 |
12 |
16 |
17 |
20 |
21 |
25 |
26 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/jpush_notification_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
14 |
15 |
24 |
25 |
35 |
36 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/pop_fragment_home_weather.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
10 |
17 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/conversation_ry_item_chat_user.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
26 |
32 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/entity/ConversationEntity.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.entity;
2 |
3 | import com.chad.library.adapter.base.entity.MultiItemEntity;
4 |
5 | import cn.jpush.im.android.api.model.Message;
6 |
7 | /**
8 | * Created by Administrator on 2018/7/11.
9 | */
10 |
11 | public class ConversationEntity implements MultiItemEntity {
12 |
13 | public static final int TYPE_SERVICES_MESSAGE = 1;
14 |
15 | public static final int TYPE_CLIENT_MESSAGE = 2;
16 |
17 | private int itemType;
18 |
19 | private Message data;
20 |
21 | public ConversationEntity(int itemType, Message data) {
22 | this.itemType = itemType;
23 | this.data = data;
24 | }
25 |
26 | /**
27 | * @param data
28 | * @return
29 | */
30 | public static ConversationEntity service(Message data) {
31 | return new ConversationEntity(TYPE_SERVICES_MESSAGE, data);
32 | }
33 |
34 | /**
35 | * @param data
36 | * @return
37 | */
38 | public static ConversationEntity client(Message data) {
39 | return new ConversationEntity(TYPE_CLIENT_MESSAGE, data);
40 | }
41 |
42 | @Override
43 | public int getItemType() {
44 | return itemType;
45 | }
46 |
47 | public Message getData() {
48 | return data;
49 | }
50 |
51 | public void setData(Message data) {
52 | this.data = data;
53 | }
54 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/base/BaseObserver.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.base;
2 |
3 | import android.util.Log;
4 |
5 | import java.io.IOException;
6 | import java.net.ConnectException;
7 | import java.net.SocketTimeoutException;
8 |
9 | import rx.Observer;
10 |
11 | /**
12 | * Created by Administrator on 2018/7/15.
13 | */
14 |
15 | public abstract class BaseObserver implements Observer {
16 | private static final String TAG = "BaseObserver";
17 |
18 |
19 |
20 |
21 | // @Override
22 | // public abstract void onNext(Object o);
23 |
24 | /**
25 | * 拦截错误信息,转化为用户可以看懂的文字
26 | *
27 | * @param e
28 | */
29 | @Override
30 | public void onError(Throwable e) {
31 | e.printStackTrace();
32 | Log.d(TAG, "onError() called with: e = [" + e + "]");
33 | if (e instanceof ConnectException) {
34 | onError("网络无法连接,请检查网络");
35 | } else if (e instanceof SocketTimeoutException) {
36 | onError("网络连接超时,请重试");
37 | } else if (e instanceof IOException) {
38 | onError(e.getMessage());
39 | } else {
40 | onError("未知的错误," + e.getMessage());
41 | }
42 | }
43 |
44 | // @Override
45 | // public abstract void onComplete();
46 |
47 | /**
48 | * 错误的详细信息
49 | *
50 | * @param error
51 | */
52 | public abstract void onError(String error);
53 |
54 |
55 | }
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_feedback.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
14 |
15 |
24 |
25 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/commonUtil/BuglyFileProvider.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.commonUtil;
2 |
3 | import android.content.ContentProvider;
4 | import android.content.ContentValues;
5 | import android.database.Cursor;
6 | import android.net.Uri;
7 | import android.support.annotation.NonNull;
8 | import android.support.annotation.Nullable;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/26/026.
12 | */
13 |
14 | public class BuglyFileProvider extends ContentProvider {
15 | @Override
16 | public boolean onCreate() {
17 | return false;
18 | }
19 |
20 | @Nullable
21 | @Override
22 | public Cursor query(@NonNull Uri uri, @Nullable String[] strings, @Nullable String s, @Nullable String[] strings1, @Nullable String s1) {
23 | return null;
24 | }
25 |
26 | @Nullable
27 | @Override
28 | public String getType(@NonNull Uri uri) {
29 | return null;
30 | }
31 |
32 | @Nullable
33 | @Override
34 | public Uri insert(@NonNull Uri uri, @Nullable ContentValues contentValues) {
35 | return null;
36 | }
37 |
38 | @Override
39 | public int delete(@NonNull Uri uri, @Nullable String s, @Nullable String[] strings) {
40 | return 0;
41 | }
42 |
43 | @Override
44 | public int update(@NonNull Uri uri, @Nullable ContentValues contentValues, @Nullable String s, @Nullable String[] strings) {
45 | return 0;
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_splash.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
16 |
17 |
28 |
36 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/ry_histort_item_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
21 |
22 |
31 |
32 |
33 |
37 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_add_contact_user.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
13 |
24 |
25 |
29 |
30 |
34 |
35 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/ry_item_home_scrolllayout.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
20 |
21 |
25 |
26 |
38 |
--------------------------------------------------------------------------------
/app/src/main/res/values/switch_button_attrs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/dialog_loading.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
19 |
20 |
28 |
29 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/gson/NewsGson.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.gson;
2 |
3 | /**
4 | * Created by Administrator on 2018/8/20/020.
5 | */
6 |
7 | public class NewsGson {
8 |
9 | /**
10 | * id : 1
11 | * title : xyj
12 | * url : sd
13 | * content : ds
14 | * time : 0000-00-00 00:00:00
15 | * pic : ds
16 | */
17 |
18 | private int id;
19 | private String title;
20 | private String url;
21 | private String content;
22 | private String time;
23 | private String pic;
24 |
25 | public int getId() {
26 | return id;
27 | }
28 |
29 | public void setId(int id) {
30 | this.id = id;
31 | }
32 |
33 | public String getTitle() {
34 | return title;
35 | }
36 |
37 | public void setTitle(String title) {
38 | this.title = title;
39 | }
40 |
41 | public String getUrl() {
42 | return url;
43 | }
44 |
45 | public void setUrl(String url) {
46 | this.url = url;
47 | }
48 |
49 | public String getContent() {
50 | return content;
51 | }
52 |
53 | public void setContent(String content) {
54 | this.content = content;
55 | }
56 |
57 | public String getTime() {
58 | return time;
59 | }
60 |
61 | public void setTime(String time) {
62 | this.time = time;
63 | }
64 |
65 | public String getPic() {
66 | return pic;
67 | }
68 |
69 | public void setPic(String pic) {
70 | this.pic = pic;
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/gson/PushGson.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.gson;
2 |
3 | /**
4 | * Created by Administrator on 2018/8/1.
5 | */
6 |
7 | public class PushGson {
8 |
9 | /**
10 | * id : 1
11 | * title : 快递小哥快递员助手更新了
12 | * content : 快递小哥在360APP市场已经上线,快来更新吧!!!
13 | * pic : https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1533143141463&di=d651f021558ba7c9989dac61bf148b48&imgtype=0&src=http%3A%2F%2Fm.365azw.com%2FAttachments%2Fshare%2F201410%2F5437938814de5.jpg
14 | * date : 2018-08-01 22:18:14
15 | */
16 |
17 | private int id;
18 | private String title;
19 | private String content;
20 | private String pic;
21 | private String date;
22 |
23 | public int getId() {
24 | return id;
25 | }
26 |
27 | public void setId(int id) {
28 | this.id = id;
29 | }
30 |
31 | public String getTitle() {
32 | return title;
33 | }
34 |
35 | public void setTitle(String title) {
36 | this.title = title;
37 | }
38 |
39 | public String getContent() {
40 | return content;
41 | }
42 |
43 | public void setContent(String content) {
44 | this.content = content;
45 | }
46 |
47 | public String getPic() {
48 | return pic;
49 | }
50 |
51 | public void setPic(String pic) {
52 | this.pic = pic;
53 | }
54 |
55 | public String getDate() {
56 | return date;
57 | }
58 |
59 | public void setDate(String date) {
60 | this.date = date;
61 | }
62 | }
63 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/http/network/RetrofitService.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.http.network;
2 |
3 |
4 | import java.util.List;
5 | import java.util.Map;
6 |
7 | import okhttp3.MultipartBody;
8 | import okhttp3.RequestBody;
9 | import okhttp3.ResponseBody;
10 | import retrofit2.http.Body;
11 | import retrofit2.http.GET;
12 | import retrofit2.http.Multipart;
13 | import retrofit2.http.POST;
14 | import retrofit2.http.Part;
15 | import retrofit2.http.PartMap;
16 | import retrofit2.http.Streaming;
17 | import retrofit2.http.Url;
18 | import rx.Observable;
19 |
20 | /**
21 | * Created by $wu on 2017-08-03 下午 2:57.
22 | * Retrofit请求的接口
23 | */
24 |
25 | public interface RetrofitService {
26 |
27 |
28 | //apk的下载
29 | @GET
30 | @Streaming
31 | Observable apk_download(@Url String url);
32 |
33 | //单文件上传头像(方式一)
34 | @Multipart
35 | @POST("api.php?con=user&act=updateavatar")
36 | Observable upload_avatar(@Part MultipartBody.Part part, @Part("auth") RequestBody paramsBody);
37 |
38 | //单文件上传头像(方式二)
39 | @POST("api.php?con=user&act=updateavatar")
40 | Observable upload_avatar(@Body RequestBody body);
41 |
42 | //上传司机认证的消息
43 | @Multipart
44 | @POST("api.php?con=user&act=drvierCertify")
45 | Observable driver_auth(@Part List parts, @PartMap Map params);
46 |
47 | //上传司机认证的消息
48 | @POST("api.php?con=user&act=drvierCertify")
49 | Observable driver_auth(@Body RequestBody body);
50 |
51 |
52 | }
53 |
54 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_site_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
13 |
14 |
20 |
21 |
26 |
27 |
28 |
29 |
32 |
33 |
34 |
35 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/contract/message/ConversationActivityContract.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.contract.message;
2 |
3 | import com.example.administrator.expressuserclient.entity.ConversationEntity;
4 |
5 | import java.util.List;
6 |
7 | import cn.jpush.im.android.api.model.Conversation;
8 | import cn.jpush.im.android.api.model.Message;
9 |
10 | /**
11 | * Created by Administrator on 2018/8/26/026.
12 | */
13 |
14 | public interface ConversationActivityContract {
15 | interface Model {
16 |
17 | }
18 |
19 | interface View {
20 | /**
21 | * 刷新消息
22 | */
23 | void refreshMessage();
24 |
25 | /**
26 | * 获取会话
27 | */
28 | void getConversation(List conversationEntities);
29 |
30 | /**
31 | * 登录是否成功
32 | */
33 | void loginSuccess();
34 |
35 | void loadHistoryMessage(List messages);
36 |
37 | void showDialog(String msg);
38 |
39 | void hideDialog();
40 | }
41 |
42 | interface Presenter {
43 | /**
44 | * 发送消息
45 | *
46 | * @param message
47 | */
48 | void sendMessage(Message message);
49 |
50 | /**
51 | * 会话列表
52 | *
53 | * @param conversations
54 | */
55 | void conversionToUser(List conversations);
56 |
57 | void messageToEntity(List message);
58 |
59 | /**
60 | * im登录
61 | */
62 | void login();
63 |
64 | void getHistoryMessage();
65 | }
66 | }
67 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/ry_item_contactlist_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
14 |
22 |
23 |
34 |
35 |
39 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/adapter/ChatAdapter.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.adapter;
2 |
3 | import com.chad.library.adapter.base.BaseMultiItemQuickAdapter;
4 | import com.chad.library.adapter.base.BaseViewHolder;
5 | import com.example.administrator.expressuserclient.R;
6 | import com.example.administrator.expressuserclient.entity.ServiceEntity;
7 |
8 | import java.util.List;
9 |
10 |
11 | /**
12 | * Created by Administrator on 2018/7/11.
13 | */
14 | public class ChatAdapter extends BaseMultiItemQuickAdapter {
15 | /**
16 | * Same as QuickAdapter#QuickAdapter(Context,int) but with
17 | * some initialization data.
18 | *
19 | * @param data A new list is created out of this one to avoid mutable list
20 | */
21 |
22 | public ChatAdapter(List data) {
23 | super(data);
24 | addItemType(ServiceEntity.TYPE_SERVICES_MESSAGE, R.layout.ry_item_service_recycle_chat_chatfriends);
25 | addItemType(ServiceEntity.TYPE_CLIENT_MESSAGE, R.layout.ry_item_service_recycle_chat_user);
26 | }
27 |
28 | @Override
29 | protected void convert(BaseViewHolder helper, final ServiceEntity item) {
30 | int itemType = item.getItemType();
31 | switch (itemType) {
32 | case ServiceEntity.TYPE_SERVICES_MESSAGE:
33 | helper.setText(R.id.tv_main_item_content, item.getData().getText());
34 | break;
35 | case ServiceEntity.TYPE_CLIENT_MESSAGE:
36 | helper.setText(R.id.tv_main_item_content, item.getInputText());
37 | break;
38 | default:
39 | }
40 |
41 | }
42 |
43 |
44 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/entity/Desc.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.entity;
2 |
3 | /**
4 | * Created by Administrator on 2018/7/23/023.
5 | */
6 |
7 | public class Desc {
8 |
9 | /**
10 | * appid : 1807151533
11 | * appname : 无
12 | * isshowwap : 2
13 | * wapurl : https://0296777.com/#reg?code=
14 | * status : 1
15 | * desc : https://apk.kosungames.com/app-c6-release.apk
16 | */
17 |
18 | private String appid;
19 | private String appname;
20 | private String isshowwap;
21 | private String wapurl;
22 | private int status;
23 | private String desc;
24 |
25 | public String getAppid() {
26 | return appid;
27 | }
28 |
29 | public void setAppid(String appid) {
30 | this.appid = appid;
31 | }
32 |
33 | public String getAppname() {
34 | return appname;
35 | }
36 |
37 | public void setAppname(String appname) {
38 | this.appname = appname;
39 | }
40 |
41 | public String getIsshowwap() {
42 | return isshowwap;
43 | }
44 |
45 | public void setIsshowwap(String isshowwap) {
46 | this.isshowwap = isshowwap;
47 | }
48 |
49 | public String getWapurl() {
50 | return wapurl;
51 | }
52 |
53 | public void setWapurl(String wapurl) {
54 | this.wapurl = wapurl;
55 | }
56 |
57 | public int getStatus() {
58 | return status;
59 | }
60 |
61 | public void setStatus(int status) {
62 | this.status = status;
63 | }
64 |
65 | public String getDesc() {
66 | return desc;
67 | }
68 |
69 | public void setDesc(String desc) {
70 | this.desc = desc;
71 | }
72 | }
73 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/entity/ChatMessage.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.entity;
2 |
3 | import java.util.Date;
4 | import java.text.DateFormat;
5 | import java.text.SimpleDateFormat;
6 |
7 |
8 | /**
9 | * Created by Administrator on 2018/8/3/003.
10 | */
11 |
12 | public class ChatMessage {private Type type ;
13 | private String msg;
14 | private Date date;
15 | private String dateStr;
16 | private String name;
17 |
18 | public enum Type
19 | {
20 | INPUT, OUTPUT
21 | }
22 |
23 | public ChatMessage()
24 | {
25 | }
26 |
27 | public ChatMessage(Type type, String msg)
28 | {
29 | super();
30 | this.type = type;
31 | this.msg = msg;
32 | setDate(new Date());
33 | }
34 |
35 | public String getDateStr()
36 | {
37 | return dateStr;
38 | }
39 |
40 | public Date getDate()
41 | {
42 | return date;
43 | }
44 |
45 | public void setDate(Date date)
46 | {
47 | this.date = date;
48 | DateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss E");
49 | this.dateStr = df.format(date);
50 |
51 | }
52 |
53 | public String getName()
54 | {
55 | return name;
56 | }
57 |
58 | public void setName(String name)
59 | {
60 | this.name = name;
61 | }
62 |
63 | public Type getType()
64 | {
65 | return type;
66 | }
67 |
68 | public void setType(Type type)
69 | {
70 | this.type = type;
71 | }
72 |
73 | public String getMsg()
74 | {
75 | return msg;
76 | }
77 |
78 | public void setMsg(String msg)
79 | {
80 | this.msg = msg;
81 | }
82 |
83 |
84 | }
85 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/http/util/RetrofitUtil.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.http.util;
2 |
3 |
4 | import com.example.administrator.expressuserclient.http.API;
5 |
6 | import retrofit2.Retrofit;
7 | import retrofit2.adapter.rxjava.RxJavaCallAdapterFactory;
8 | import retrofit2.converter.gson.GsonConverterFactory;
9 |
10 | /**
11 | * Created by Administrator on 2018/6/25.
12 | */
13 |
14 | public class RetrofitUtil {
15 | public static final String BASE_URL = "http://122.152.231.185/";
16 | public static final String BASE_URL_JAVA = "http://122.152.231.185:8080/";
17 | public static final String KUAIDINIAO = "http://api.kdniao.cc/";
18 | private Retrofit retrofit;
19 | private static RetrofitUtil sInstance;
20 | private static RetrofitUtil javaInstance;
21 | public RetrofitUtil(String url) {
22 | retrofit = new Retrofit.Builder()
23 | .baseUrl(url)
24 | .addConverterFactory(GsonConverterFactory.create())
25 | .addCallAdapterFactory(RxJavaCallAdapterFactory.create())
26 | .build();
27 | }
28 | public static RetrofitUtil getInstanceInJava(String url) {
29 | synchronized (RetrofitUtil.class) {
30 | if (javaInstance == null) {
31 | javaInstance = new RetrofitUtil(url);
32 | }
33 | }
34 | return javaInstance;
35 | }
36 | public static RetrofitUtil getInstance(String url) {
37 | synchronized (RetrofitUtil.class) {
38 | if (sInstance == null) {
39 | sInstance = new RetrofitUtil(url);
40 | }
41 | }
42 | return sInstance;
43 | }
44 |
45 | public API getServerices() {
46 | return retrofit.create(API.class);
47 | }
48 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/commonUtil/SystemUtil.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.commonUtil;
2 |
3 | import android.app.Activity;
4 | import android.content.Context;
5 | import android.telephony.TelephonyManager;
6 |
7 | import java.util.Locale;
8 |
9 | /**
10 | * 系统工具类
11 | * Created by zhuwentao on 2016-07-18.
12 | */
13 | public class SystemUtil {
14 |
15 | /**
16 | * 获取当前手机系统语言。
17 | *
18 | * @return 返回当前系统语言。例如:当前设置的是“中文-中国”,则返回“zh-CN”
19 | */
20 | public static String getSystemLanguage() {
21 | return Locale.getDefault().getLanguage();
22 | }
23 |
24 | /**
25 | * 获取当前系统上的语言列表(Locale列表)
26 | *
27 | * @return 语言列表
28 | */
29 | public static Locale[] getSystemLanguageList() {
30 | return Locale.getAvailableLocales();
31 | }
32 |
33 | /**
34 | * 获取当前手机系统版本号
35 | *
36 | * @return 系统版本号
37 | */
38 | public static String getSystemVersion() {
39 | return android.os.Build.VERSION.RELEASE;
40 | }
41 |
42 | /**
43 | * 获取手机型号
44 | *
45 | * @return 手机型号
46 | */
47 | public static String getSystemModel() {
48 | return android.os.Build.MODEL;
49 | }
50 |
51 | /**
52 | * 获取手机厂商
53 | *
54 | * @return 手机厂商
55 | */
56 | public static String getDeviceBrand() {
57 | return android.os.Build.BRAND;
58 | }
59 |
60 | /**
61 | * 获取手机IMEI(需要“android.permission.READ_PHONE_STATE”权限)
62 | *
63 | * @return 手机IMEI
64 | */
65 | public static String getIMEI(Context ctx) {
66 | TelephonyManager tm = (TelephonyManager) ctx.getSystemService(Activity.TELEPHONY_SERVICE);
67 | if (tm != null) {
68 | return tm.getDeviceId();
69 | }
70 | return null;
71 | }
72 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/http/network/ProgressRequestBody.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.http.network;
2 |
3 | import java.io.File;
4 | import java.io.IOException;
5 |
6 | import okhttp3.MediaType;
7 | import okhttp3.MultipartBody;
8 | import okhttp3.RequestBody;
9 | import okio.Buffer;
10 | import okio.BufferedSink;
11 | import okio.Okio;
12 | import okio.Source;
13 |
14 | /**
15 | * Created by $wu on 2017-08-16 下午 4:00.
16 | * 带进度的上传
17 | */
18 |
19 | public class ProgressRequestBody extends RequestBody {
20 | private File file;
21 | private ProgressListener listener;
22 |
23 | public ProgressRequestBody(File file, ProgressListener listener) {
24 | this.file = file;
25 | this.listener = listener;
26 | }
27 |
28 | @Override
29 | public MediaType contentType() {
30 | return MultipartBody.FORM;
31 | }
32 |
33 | @Override
34 | public void writeTo(BufferedSink sink) {
35 | Source source = null;
36 | Buffer buffer = new Buffer();
37 | try {
38 | source = Okio.source(file);
39 | double hasRead = 0;
40 | for (long readCount; (readCount = source.read(buffer, 2048)) != -1; ) {
41 | sink.write(buffer, readCount);
42 | hasRead = hasRead + readCount;
43 | listener.progress((int) (hasRead / contentLength() * 100));
44 | }
45 | buffer.flush();
46 | } catch (Exception e) {
47 | e.printStackTrace();
48 | }
49 |
50 | }
51 |
52 | @Override
53 | public long contentLength() throws IOException {
54 | return file.length();
55 | }
56 |
57 |
58 | /**
59 | * 关于进度的接口
60 | */
61 | public interface ProgressListener {
62 | void progress(int percent);
63 | }
64 | }
65 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/weight/card/CardItem.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.weight.card;
2 |
3 |
4 | public class CardItem {
5 |
6 | public CardItem(String dayTime, String temperature, String week, String wind) {
7 | this.dayTime = dayTime;
8 | this.temperature = temperature;
9 | this.week = week;
10 | this.wind = wind;
11 | }
12 |
13 | /**
14 | * date : 2018-08-29
15 | * dayTime : 多云
16 | * night : 多云
17 | * temperature : 33°C / 26°C
18 | * week : 今天
19 | * wind : 东南风 4~5级
20 | */
21 |
22 |
23 | private String date;
24 | private String dayTime;
25 | private String night;
26 | private String temperature;
27 | private String week;
28 | private String wind;
29 |
30 | public String getDate() {
31 | return date;
32 | }
33 |
34 | public void setDate(String date) {
35 | this.date = date;
36 | }
37 |
38 | public String getDayTime() {
39 | return dayTime;
40 | }
41 |
42 | public void setDayTime(String dayTime) {
43 | this.dayTime = dayTime;
44 | }
45 |
46 | public String getNight() {
47 | return night;
48 | }
49 |
50 | public void setNight(String night) {
51 | this.night = night;
52 | }
53 |
54 | public String getTemperature() {
55 | return temperature;
56 | }
57 |
58 | public void setTemperature(String temperature) {
59 | this.temperature = temperature;
60 | }
61 |
62 | public String getWeek() {
63 | return week;
64 | }
65 |
66 | public void setWeek(String week) {
67 | this.week = week;
68 | }
69 |
70 | public String getWind() {
71 | return wind;
72 | }
73 |
74 | public void setWind(String wind) {
75 | this.wind = wind;
76 | }
77 | }
78 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/presenter/SiteListActivityPresenter.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.presenter;
2 |
3 | import android.content.Context;
4 | import android.util.Log;
5 |
6 | import com.example.administrator.expressuserclient.commonUtil.DataLoader;
7 | import com.example.administrator.expressuserclient.contract.SiteListActivityContract;
8 | import com.example.administrator.expressuserclient.gson.POIGson;
9 | import com.example.administrator.expressuserclient.model.SiteListActivityModel;
10 | import com.google.gson.Gson;
11 |
12 |
13 | /**
14 | * Created by Administrator on 2018/7/30/030.
15 | */
16 |
17 | public class SiteListActivityPresenter implements SiteListActivityContract.Presenter {
18 | private SiteListActivityModel model = new SiteListActivityModel();
19 | private SiteListActivityContract.View view;
20 |
21 |
22 | public SiteListActivityPresenter(SiteListActivityContract.View view) {
23 | this.view = view;
24 | }
25 |
26 |
27 | @Override
28 | public void loadList(final Context context, final double latitude, final double longitude) {
29 | view.showLoading("数据加载中");
30 | Log.i(TAG, "run: " + latitude + "run" + longitude);
31 | model.loadSiteList(context, latitude, longitude, new DataLoader() {
32 | @Override
33 | public void getData(String data) {
34 | view.hideLoading();
35 | String replace = data.replace("[]", "null");
36 | Gson gson = new Gson();
37 | POIGson poiGson = gson.fromJson(replace, POIGson.class);
38 | if(poiGson.getPois().size()>0){
39 | view.loadSitelist(poiGson.getPois());
40 | }
41 | }
42 | });
43 | }
44 |
45 | private static final String TAG = "SiteListActivityPresent";
46 | }
47 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/weight/card/CardFragmentPagerAdapter.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.weight.card;
2 |
3 | import android.support.v4.app.Fragment;
4 | import android.support.v4.app.FragmentManager;
5 | import android.support.v4.app.FragmentStatePagerAdapter;
6 | import android.support.v7.widget.CardView;
7 | import android.view.ViewGroup;
8 |
9 | import java.util.ArrayList;
10 | import java.util.List;
11 |
12 |
13 | public class CardFragmentPagerAdapter extends FragmentStatePagerAdapter implements CardAdapter {
14 |
15 | private List mFragments;
16 | private float mBaseElevation;
17 |
18 | public CardFragmentPagerAdapter(FragmentManager fm, float baseElevation) {
19 | super(fm);
20 | mFragments = new ArrayList<>();
21 | mBaseElevation = baseElevation;
22 |
23 | for(int i = 0; i< 5; i++){
24 | addCardFragment(new CardFragment());
25 | }
26 | }
27 |
28 | @Override
29 | public float getBaseElevation() {
30 | return mBaseElevation;
31 | }
32 |
33 | @Override
34 | public CardView getCardViewAt(int position) {
35 | return mFragments.get(position).getCardView();
36 | }
37 |
38 | @Override
39 | public int getCount() {
40 | return mFragments.size();
41 | }
42 |
43 | @Override
44 | public Fragment getItem(int position) {
45 | return mFragments.get(position);
46 | }
47 |
48 | @Override
49 | public Object instantiateItem(ViewGroup container, int position) {
50 | Object fragment = super.instantiateItem(container, position);
51 | mFragments.set(position, (CardFragment) fragment);
52 | return fragment;
53 | }
54 |
55 | public void addCardFragment(CardFragment fragment) {
56 | mFragments.add(fragment);
57 | }
58 |
59 | }
60 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_adapter.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
14 |
15 |
16 |
22 |
23 |
28 |
29 |
35 |
36 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/view_actionsheet.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
22 |
23 |
29 |
30 |
35 |
36 |
37 |
38 |
49 |
50 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/presenter/home/SiteListActivityPresenter.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.presenter.home;
2 |
3 | import android.content.Context;
4 | import android.util.Log;
5 |
6 | import com.example.administrator.expressuserclient.commonUtil.DataLoader;
7 | import com.example.administrator.expressuserclient.contract.home.SiteListActivityContract;
8 | import com.example.administrator.expressuserclient.gson.POIGson;
9 | import com.example.administrator.expressuserclient.model.home.SiteListActivityModel;
10 | import com.google.gson.Gson;
11 |
12 |
13 | /**
14 | * Created by Administrator on 2018/7/30/030.
15 | */
16 |
17 | public class SiteListActivityPresenter implements SiteListActivityContract.Presenter {
18 | private SiteListActivityModel model = new SiteListActivityModel();
19 | private SiteListActivityContract.View view;
20 |
21 |
22 | public SiteListActivityPresenter(SiteListActivityContract.View view) {
23 | this.view = view;
24 | }
25 |
26 |
27 | @Override
28 | public void loadList(final Context context, final double latitude, final double longitude) {
29 | view.showLoading("数据加载中");
30 | Log.i(TAG, "run: " + latitude + "run" + longitude);
31 | model.loadSiteList(context, latitude, longitude, new DataLoader() {
32 | @Override
33 | public void getData(String data) {
34 | view.hideLoading();
35 | String replace = data.replace("[]", "null");
36 | Gson gson = new Gson();
37 | POIGson poiGson = gson.fromJson(replace, POIGson.class);
38 | if(poiGson.getPois().size()>0){
39 | view.loadSitelist(poiGson.getPois());
40 | }
41 | }
42 | });
43 | }
44 |
45 | private static final String TAG = "SiteListActivityPresent";
46 | }
47 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/inclue_map_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
17 |
22 |
31 |
32 |
38 |
39 |
44 |
45 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_scan_shiper_trace.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
15 |
16 |
20 |
21 |
24 |
27 |
28 |
36 |
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/commonUtil/ToastUtil.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.commonUtil;
2 |
3 | import android.content.Context;
4 | import android.widget.Toast;
5 |
6 | import com.example.administrator.expressuserclient.App;
7 | import com.example.administrator.expressuserclient.weight.toast.Toasty;
8 |
9 |
10 |
11 | /**
12 | * Created by Administrator on 2018/7/15.
13 | */
14 |
15 | public class ToastUtil {
16 | /**
17 | * 获取上下文
18 | * @return
19 | */
20 | public static Context getApplicationContext() {
21 | if (App.getInstance().getApplicationContext() == null) {
22 | return new App();
23 | }
24 | return App.getInstance().getApplicationContext();
25 | }
26 |
27 | /**
28 | * 错误提示
29 | * @param message
30 | */
31 | public static void showToastError(String message) {
32 | Toasty.error(getApplicationContext(), message, Toast.LENGTH_SHORT, true).show();
33 | }
34 |
35 | /**
36 | * 成功提示
37 | * @param message
38 | */
39 | public static void showToastSuccess(String message) {
40 | Toasty.success(getApplicationContext(), message, Toast.LENGTH_SHORT, true).show();
41 | }
42 |
43 | /**
44 | * 信息提示
45 | * @param message
46 | */
47 | public static void showToastInfor(String message) {
48 | Toasty.info(getApplicationContext(), message, Toast.LENGTH_SHORT, true).show();
49 | }
50 |
51 | /**
52 | * 警告提示
53 | * @param message
54 | */
55 | public static void showToastWarning(String message) {
56 | Toasty.warning(getApplicationContext(), message, Toast.LENGTH_SHORT, true).show();
57 | }
58 |
59 | /**
60 | * 普通提示
61 | * @param message
62 | */
63 | public static void showToastUsual(String message) {
64 | Toasty.normal(getApplicationContext(), message).show();
65 | }
66 |
67 | }
68 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/presenter/home/ExpressSearchActivityPresenter.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.presenter.home;
2 |
3 | import com.example.administrator.expressuserclient.base.BaseGson;
4 | import com.example.administrator.expressuserclient.base.BaseObserver;
5 | import com.example.administrator.expressuserclient.contract.home.ExpressSearchActivityContract;
6 | import com.example.administrator.expressuserclient.gson.OrderGson;
7 | import com.example.administrator.expressuserclient.model.home.ExpressSearchActivityModel;
8 |
9 | import rx.android.schedulers.AndroidSchedulers;
10 | import rx.schedulers.Schedulers;
11 |
12 | /**
13 | * Created by Administrator on 2018/7/30/030.
14 | */
15 |
16 | public class ExpressSearchActivityPresenter implements ExpressSearchActivityContract.Presenter {
17 | private ExpressSearchActivityContract.Model model = new ExpressSearchActivityModel();
18 | private ExpressSearchActivityContract.View view;
19 |
20 | public ExpressSearchActivityPresenter(ExpressSearchActivityContract.View view) {
21 | this.view = view;
22 | }
23 |
24 |
25 |
26 | @Override
27 | public void expressSearch(String input) {
28 | model.expressSearch(input)
29 | .subscribeOn(Schedulers.io())
30 | .observeOn(AndroidSchedulers.mainThread())
31 | .subscribe(new BaseObserver>() {
32 | @Override
33 | public void onError(String error) {
34 | }
35 |
36 | @Override
37 | public void onCompleted() {
38 |
39 | }
40 |
41 | @Override
42 | public void onNext(BaseGson packageSiteListBaseGson) {
43 | view.expressSearch(packageSiteListBaseGson);
44 | }
45 | });
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/app/src/main/java/com/example/administrator/expressuserclient/model/home/NewsActivityModel.java:
--------------------------------------------------------------------------------
1 | package com.example.administrator.expressuserclient.model.home;
2 |
3 | import com.example.administrator.expressuserclient.contract.home.NewsActivityContract;
4 | import com.example.administrator.expressuserclient.entity.NewsEntity;
5 |
6 | import org.jsoup.Jsoup;
7 | import org.jsoup.nodes.Document;
8 | import org.jsoup.nodes.Element;
9 | import org.jsoup.select.Elements;
10 |
11 | import java.io.IOException;
12 | import java.util.ArrayList;
13 | import java.util.List;
14 |
15 | /**
16 | * Created by Administrator on 2018/8/22/022.
17 | */
18 |
19 | public class NewsActivityModel implements NewsActivityContract.Model {
20 |
21 | @Override
22 | public List getListNews(final int page) {
23 | return getNewsList(page);
24 | }
25 |
26 | private List getNewsList(int page) {
27 | final List list = new ArrayList();
28 | try {
29 | Document document = Jsoup.connect("http://www.cecss.com/index.aspx?cat_code=qyxw&page="+page).get();
30 | Elements select = document.select("ul.list_n5");
31 | Elements li = select.select("li");
32 | System.out.println(select + "select");
33 | for (Element element : li) {
34 | NewsEntity entity = new NewsEntity();
35 | entity.setImg("http://www.cecss.com/" + element.select("div.imgk").select("img").attr("src"));
36 | entity.setTitle(element.select("a").text());
37 | entity.setContent(element.select("p").text());
38 | entity.setUrl("http://www.cecss.com/" + element.select("a").attr("href"));
39 | list.add(entity);
40 | System.out.println(list.size() + "cecss");
41 | }
42 | } catch (IOException e) {
43 | e.printStackTrace();
44 | }
45 | return list;
46 | }
47 | }
48 |
--------------------------------------------------------------------------------