├── 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 | 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 requestBodyConverter(Type type, Annotation[] parameterAnnotations, Annotation[] methodAnnotations, Retrofit retrofit) { 24 | return super.requestBodyConverter(type, parameterAnnotations, methodAnnotations, retrofit); 25 | } 26 | 27 | @Override 28 | public Converter 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 |