├── app ├── .gitignore ├── libs │ ├── zxing.jar │ └── universal-image-loader-1.9.3-with-sources.jar ├── src │ ├── main │ │ ├── res │ │ │ ├── raw │ │ │ │ └── beep.ogg │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── bg.png │ │ │ │ ├── banner1.jpg │ │ │ │ ├── banner3.jpg │ │ │ │ ├── ic_add.png │ │ │ │ ├── icon_del.png │ │ │ │ ├── icon_err.png │ │ │ │ ├── icon_me.png │ │ │ │ ├── icon_wx.png │ │ │ │ ├── icon_zfb.png │ │ │ │ ├── icon_back.png │ │ │ │ ├── icon_home.png │ │ │ │ ├── icon_nonet.png │ │ │ │ ├── no_image.9.png │ │ │ │ ├── fail_image.9.png │ │ │ │ ├── icon_home_act.png │ │ │ │ ├── icon_me_act.png │ │ │ │ ├── icon_message.png │ │ │ │ ├── icon_network.png │ │ │ │ ├── icon_no_order.png │ │ │ │ ├── icon_waybill.png │ │ │ │ ├── icon_scan_qcode.png │ │ │ │ ├── icon_mesaage_act.png │ │ │ │ └── icon_waybill_act.png │ │ │ ├── drawable-xhdpi │ │ │ │ ├── capture.9.png │ │ │ │ ├── loading.png │ │ │ │ ├── scan_line.png │ │ │ │ ├── scan_mask.png │ │ │ │ ├── load_failed.png │ │ │ │ ├── load_succeed.png │ │ │ │ └── pull_icon_big.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable │ │ │ │ ├── shape_point_red.xml │ │ │ │ ├── banner_dot_focused.xml │ │ │ │ ├── btn_buttom_tab_text_selector.xml │ │ │ │ ├── linerlayout_bg_slecter.xml │ │ │ │ ├── shape_gray_bg.xml │ │ │ │ ├── shape_white_bg.xml │ │ │ │ ├── shape_corner_10dp_bg_white.xml │ │ │ │ ├── shape_corner_5dp_bg_orange.xml │ │ │ │ ├── shape_btn_corner_10dp_bg_red.xml │ │ │ │ ├── shape_btn_corner_10dp_bg_theme.xml │ │ │ │ ├── shape_corner_5dp_bg_gray.xml │ │ │ │ ├── shape_corner_5dp_bg_white.xml │ │ │ │ ├── banner_dot_normal.xml │ │ │ │ ├── bg_white_selector.xml │ │ │ │ ├── shape_gray_bg_top_round.xml │ │ │ │ ├── shape_white_bg_top_round.xml │ │ │ │ ├── shape_gray_bg_bottom_round.xml │ │ │ │ ├── shape_white_bg_bottom_round.xml │ │ │ │ ├── bg_white_top_round_selector.xml │ │ │ │ ├── shape_corner_5dp_bg_whtie_with_border.xml │ │ │ │ ├── bg_white_bottom_round_selector.xml │ │ │ │ ├── ic_notifications_black_24dp.xml │ │ │ │ ├── item_message_bg.xml │ │ │ │ ├── ripple_one_item_bg.xml │ │ │ │ └── progressbar_mini.xml │ │ │ ├── layout │ │ │ │ ├── pager_third.xml │ │ │ │ ├── banner_dot.xml │ │ │ │ ├── activity_test.xml │ │ │ │ ├── pager_second.xml │ │ │ │ ├── pager_first.xml │ │ │ │ ├── item_recyclerview_head.xml │ │ │ │ ├── activity_photo_preview_more.xml │ │ │ │ ├── pager_base_recycleview.xml │ │ │ │ ├── pager_img.xml │ │ │ │ ├── activity_detail.xml │ │ │ │ ├── rxbus_activity.xml │ │ │ │ ├── activity_splash.xml │ │ │ │ ├── activity_photo_preview.xml │ │ │ │ ├── activity_hotoppick.xml │ │ │ │ ├── img_pick_grid_item.xml │ │ │ │ ├── item_home_grid.xml │ │ │ │ ├── pager_message.xml │ │ │ │ ├── activity_base_webview.xml │ │ │ │ ├── dialog_progress.xml │ │ │ │ ├── activity_base_tab.xml │ │ │ │ ├── activity_base.xml │ │ │ │ ├── pager_home.xml │ │ │ │ ├── menu_item.xml │ │ │ │ ├── dialog_msg.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── fragment_discover_cardview_item.xml │ │ │ │ ├── tab_indicator.xml │ │ │ │ ├── dialog_choose_img.xml │ │ │ │ ├── activity_login.xml │ │ │ │ ├── refresh_head.xml │ │ │ │ └── banner.xml │ │ │ ├── anim │ │ │ │ ├── push_bottom_in.xml │ │ │ │ ├── alpha.xml │ │ │ │ ├── push_bottom_out.xml │ │ │ │ ├── reverse_anim.xml │ │ │ │ ├── rotating.xml │ │ │ │ ├── popup_bottombar_out.xml │ │ │ │ ├── push_left_out.xml │ │ │ │ ├── push_right_in.xml │ │ │ │ ├── push_top_out.xml │ │ │ │ ├── push_left_in.xml │ │ │ │ ├── push_right_out.xml │ │ │ │ ├── push_top_in.xml │ │ │ │ └── popup_bottombar_in.xml │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── ids.xml │ │ │ │ ├── strings.xml │ │ │ │ └── color.xml │ │ │ └── menu │ │ │ │ └── menu_base.xml │ │ ├── java │ │ │ └── com │ │ │ │ ├── gan │ │ │ │ └── base │ │ │ │ │ ├── constant │ │ │ │ │ ├── BroadcastActions.java │ │ │ │ │ ├── UrlConstant.java │ │ │ │ │ └── Constant.java │ │ │ │ │ ├── net │ │ │ │ │ ├── progress │ │ │ │ │ │ ├── ProgressCancelListener.java │ │ │ │ │ │ └── ProgressDialogHandler.java │ │ │ │ │ ├── rx │ │ │ │ │ │ ├── RxCodeConstants.java │ │ │ │ │ │ ├── RxBusBaseMessage.java │ │ │ │ │ │ └── RxBus.java │ │ │ │ │ ├── subscribers │ │ │ │ │ │ ├── SubscriberOnNextListener.java │ │ │ │ │ │ └── RecycleviewSubscriberOnNextListener.java │ │ │ │ │ ├── resultbean │ │ │ │ │ │ ├── VerSionInfo.java │ │ │ │ │ │ ├── ImagesBean.java │ │ │ │ │ │ ├── RatingBean.java │ │ │ │ │ │ ├── PersonBean.java │ │ │ │ │ │ ├── UserInfoResult.java │ │ │ │ │ │ └── HttpResult.java │ │ │ │ │ ├── requestbean │ │ │ │ │ │ ├── BaseRequest.java │ │ │ │ │ │ ├── BaseRequest4List.java │ │ │ │ │ │ └── MovieInfo.java │ │ │ │ │ ├── utils │ │ │ │ │ │ ├── LogUtils.java │ │ │ │ │ │ ├── MD5.java │ │ │ │ │ │ ├── CustomGsonRequestBodyConverter.java │ │ │ │ │ │ ├── CustomGsonConverterFactory.java │ │ │ │ │ │ ├── CustomGsonResponseBodyConverter.java │ │ │ │ │ │ ├── SerializableOkHttpCookies.java │ │ │ │ │ │ └── RetrofitUtils.java │ │ │ │ │ ├── service │ │ │ │ │ │ └── NetService.java │ │ │ │ │ ├── apiexception │ │ │ │ │ │ └── ApiException.java │ │ │ │ │ └── networks │ │ │ │ │ │ └── NetWorks.java │ │ │ │ │ ├── viewhelper │ │ │ │ │ └── Pullable.java │ │ │ │ │ ├── activity │ │ │ │ │ ├── UrlConstant.java │ │ │ │ │ ├── RxBusActivity.java │ │ │ │ │ ├── MyTabActivity.java │ │ │ │ │ ├── TestActivity.java │ │ │ │ │ ├── DetailActivity.java │ │ │ │ │ ├── BaseTabActivity.java │ │ │ │ │ ├── RecycleviewActivity.java │ │ │ │ │ └── RecycleviewWithHeadActivity.java │ │ │ │ │ ├── util │ │ │ │ │ ├── PermisssionConstant.java │ │ │ │ │ ├── image │ │ │ │ │ │ ├── SimpleImageDisplayer.java │ │ │ │ │ │ ├── ImageInfo.java │ │ │ │ │ │ ├── PhotoPreviewActivity.java │ │ │ │ │ │ ├── BitmapUtil.java │ │ │ │ │ │ ├── RotateGestureDetector.java │ │ │ │ │ │ └── PhotoPreviewMoreActivity.java │ │ │ │ │ ├── dialog │ │ │ │ │ │ └── FileInfo.java │ │ │ │ │ ├── KeyBoardUtils.java │ │ │ │ │ ├── StringFormatUtil.java │ │ │ │ │ ├── ToastUtil.java │ │ │ │ │ ├── DensityUtils.java │ │ │ │ │ └── PrefUtils.java │ │ │ │ │ ├── view │ │ │ │ │ ├── NoScrollViewPager.java │ │ │ │ │ ├── PullableScrollView.java │ │ │ │ │ ├── MyGridView.java │ │ │ │ │ ├── SlideLayout.java │ │ │ │ │ ├── TabIndicatorView.java │ │ │ │ │ └── MyDialogSimple.java │ │ │ │ │ ├── application │ │ │ │ │ └── MyApplication.java │ │ │ │ │ ├── pagers │ │ │ │ │ ├── slide │ │ │ │ │ │ ├── FirstPager.java │ │ │ │ │ │ ├── ThirdPager.java │ │ │ │ │ │ └── SecondPager.java │ │ │ │ │ ├── ContentBasePager.java │ │ │ │ │ └── MessagePager.java │ │ │ │ │ ├── banner │ │ │ │ │ ├── BannerData.java │ │ │ │ │ └── NoactionViewPager.java │ │ │ │ │ └── adapter │ │ │ │ │ └── ContentAdapter.java │ │ │ │ └── zxing │ │ │ │ ├── decode │ │ │ │ ├── DecodeFormatManager.java │ │ │ │ └── DecodeThread.java │ │ │ │ └── camera │ │ │ │ ├── PreviewCallback.java │ │ │ │ └── open │ │ │ │ └── OpenCameraInterface.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── tms │ │ │ └── yunpai │ │ │ └── com │ │ │ └── yunpaitms │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── tms │ │ └── yunpai │ │ └── com │ │ └── yunpaitms │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── myrecycleview ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ └── strings.xml │ │ │ ├── drawable-xhdpi │ │ │ │ └── no_data.png │ │ │ └── layout │ │ │ │ ├── myrecycle_footview.xml │ │ │ │ ├── myrecycle_nodata_view.xml │ │ │ │ ├── mycycle_foot_default_loading.xml │ │ │ │ ├── mycycleview_firstload.xml │ │ │ │ └── mycycleview_err.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── gan │ │ │ └── myrecycleview │ │ │ ├── utils │ │ │ └── WrapperUtils.java │ │ │ └── CommonAdapter.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── gan │ │ │ └── myrecycleview │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── gan │ │ └── myrecycleview │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── README.md ├── .idea ├── copyright │ └── profiles_settings.xml ├── vcs.xml ├── runConfigurations.xml ├── modules.xml ├── compiler.xml ├── gradle.xml └── misc.xml ├── appdownloadlibrary ├── src │ ├── main │ │ ├── res │ │ │ └── values │ │ │ │ └── strings.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── gan │ │ │ └── appdownload │ │ │ ├── DownLoadBroadcastReceiver.java │ │ │ └── UpdataBroadcastReceiver.java │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── appdownloadlibrary │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── example │ │ └── appdownloadlibrary │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties └── gradlew.bat /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /myrecycleview/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':myrecycleview', ':appdownloadlibrary' 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # RetrofitAndRxjavaforRecyclerview 2 | 使用介绍看这里http://blog.csdn.net/u012402940/article/details/64439417 3 | -------------------------------------------------------------------------------- /app/libs/zxing.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/libs/zxing.jar -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /myrecycleview/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | MyRecycleView 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/raw/beep.ogg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/raw/beep.ogg -------------------------------------------------------------------------------- /appdownloadlibrary/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | AppDownLoadLibrary 3 | 4 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/constant/BroadcastActions.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.constant; 2 | 3 | 4 | public class BroadcastActions { 5 | 6 | } 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/bg.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/capture.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xhdpi/capture.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xhdpi/loading.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/scan_line.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xhdpi/scan_line.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/scan_mask.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xhdpi/scan_mask.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/banner1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/banner1.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/banner3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/banner3.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/ic_add.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_del.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_del.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_err.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_err.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_me.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_me.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_wx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_wx.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_zfb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_zfb.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/load_failed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xhdpi/load_failed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_home.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_nonet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_nonet.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/no_image.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/no_image.9.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.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-xhdpi/load_succeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xhdpi/load_succeed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/pull_icon_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xhdpi/pull_icon_big.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/fail_image.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/fail_image.9.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_home_act.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_home_act.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_me_act.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_me_act.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_message.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_network.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_no_order.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_no_order.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_waybill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_waybill.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_scan_qcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_scan_qcode.png -------------------------------------------------------------------------------- /app/libs/universal-image-loader-1.9.3-with-sources.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/libs/universal-image-loader-1.9.3-with-sources.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_mesaage_act.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_mesaage_act.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/icon_waybill_act.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/app/src/main/res/drawable-xxhdpi/icon_waybill_act.png -------------------------------------------------------------------------------- /myrecycleview/src/main/res/drawable-xhdpi/no_data.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/971638267/RetrofitAndRxjavaforRecyclerview/HEAD/myrecycleview/src/main/res/drawable-xhdpi/no_data.png -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/net/progress/ProgressCancelListener.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.net.progress; 2 | 3 | /** 4 | */ 5 | public interface ProgressCancelListener { 6 | void onCancelProgress(); 7 | } 8 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/net/rx/RxCodeConstants.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.net.rx; 2 | 3 | public class RxCodeConstants { 4 | public static final int JUMP_TYPE = 0;// 5 | public static final int JUMP_TYPE_TO_ONE = 1; 6 | } 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/net/subscribers/SubscriberOnNextListener.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.net.subscribers; 2 | 3 | /** 4 | * Created by liukun on 16/3/10. 5 | */ 6 | public interface SubscriberOnNextListener { 7 | void onNext(T t); 8 | } 9 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/net/resultbean/VerSionInfo.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.net.resultbean; 2 | 3 | /** 4 | * Created by gan on 2017/5/22. 5 | */ 6 | public class VerSionInfo { 7 | public String version; 8 | public String url; 9 | } 10 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/constant/UrlConstant.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.constant; 2 | 3 | public class UrlConstant { 4 | //自己的服务器 5 | public static String BASEURL = "https://api.douban.com/v2/movie/"; 6 | public static boolean CACHE = true; 7 | } 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_point_red.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/layout/pager_third.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/layout/banner_dot.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/viewhelper/Pullable.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.viewhelper; 2 | 3 | public interface Pullable 4 | { 5 | /** 6 | * 判断是否可以下拉,如果不需要下拉功能可以直接return false 7 | * 8 | * @return true如果可以下拉否则返回false 9 | */ 10 | boolean canPullDown(); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/net/resultbean/ImagesBean.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.net.resultbean; 2 | 3 | /** 4 | * Created by gan on 2017/9/11. 5 | */ 6 | public class ImagesBean { 7 | public String small; 8 | public String large; 9 | public String medium; 10 | } 11 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 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-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_test.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/banner_dot_focused.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/net/resultbean/RatingBean.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.net.resultbean; 2 | 3 | /** 4 | * Created by gan on 2017/9/11. 5 | */ 6 | public class RatingBean { 7 | public int max; 8 | public double average; 9 | public String stars; 10 | public int min; 11 | } 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/pager_second.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_bottom_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/pager_first.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_buttom_tab_text_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/net/subscribers/RecycleviewSubscriberOnNextListener.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.net.subscribers; 2 | 3 | /** 4 | * Created by liukun on 16/3/10. 5 | */ 6 | public interface RecycleviewSubscriberOnNextListener { 7 | void onNext(T t); 8 | 9 | void onErr(int drawable, String msg); 10 | } 11 | -------------------------------------------------------------------------------- /myrecycleview/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/anim/alpha.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/net/resultbean/PersonBean.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.net.resultbean; 2 | 3 | /** 4 | * Created by gan on 2017/9/11. 5 | */ 6 | public class PersonBean { 7 | public String alt; 8 | public String type; 9 | public ImagesBean avatars; 10 | public String name; 11 | public String id; 12 | } 13 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_bottom_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/linerlayout_bg_slecter.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_gray_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /appdownloadlibrary/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /myrecycleview/src/main/res/layout/myrecycle_footview.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_white_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_corner_10dp_bg_white.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_corner_5dp_bg_orange.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_btn_corner_10dp_bg_red.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_btn_corner_10dp_bg_theme.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_corner_5dp_bg_gray.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_corner_5dp_bg_white.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/net/requestbean/BaseRequest.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.net.requestbean; 2 | 3 | 4 | import com.gan.base.util.Utils; 5 | 6 | import java.util.Map; 7 | 8 | /** 9 | * Created by gan on 2017/4/18. 10 | */ 11 | public class BaseRequest { 12 | public Map toMap() { 13 | return Utils.objectToMap(this); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/banner_dot_normal.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/anim/reverse_anim.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/anim/rotating.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | @dimen/dp45 4 | 5 | 16dp 6 | 16dp 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/activity/UrlConstant.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.activity; 2 | 3 | public class UrlConstant { 4 | //自己的服务器 5 | //public static String BASEURL = "http://118.178.33.25:8080/"; 6 | public static String BASEURL = "http://192.168.1.37:8099"; 7 | // public static String BASEURL = "http://121.196.244.191:8090"; 8 | public static boolean CACHE = false; 9 | } 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_white_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_gray_bg_top_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_white_bg_top_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/anim/popup_bottombar_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_gray_bg_bottom_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_white_bg_bottom_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_left_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_right_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_top_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values/ids.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_left_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_right_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/anim/push_top_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_white_top_round_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_corner_5dp_bg_whtie_with_border.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_white_bottom_round_selector.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/anim/popup_bottombar_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/net/rx/RxBusBaseMessage.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.net.rx; 2 | 3 | 4 | public class RxBusBaseMessage { 5 | private int code; 6 | private Object object; 7 | public RxBusBaseMessage(int code, Object object){ 8 | this.code=code; 9 | this.object=object; 10 | } 11 | public RxBusBaseMessage(){} 12 | 13 | public int getCode() { 14 | return code; 15 | } 16 | 17 | public Object getObject() { 18 | return object; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_recyclerview_head.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 11 | -------------------------------------------------------------------------------- /app/src/test/java/tms/yunpai/com/yunpaitms/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package tms.yunpai.com.yunpaitms; 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 | } -------------------------------------------------------------------------------- /myrecycleview/src/test/java/com/gan/myrecycleview/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.gan.myrecycleview; 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 | } -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_notifications_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_photo_preview_more.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/pager_base_recycleview.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 10 | 11 | -------------------------------------------------------------------------------- /appdownloadlibrary/src/test/java/com/example/appdownloadlibrary/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.appdownloadlibrary; 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 | } -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/util/PermisssionConstant.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.util; 2 | 3 | /** 4 | * Created by gan on 2017/4/18. 5 | */ 6 | 7 | public class PermisssionConstant { 8 | final public static int REQUEST_CODE_ASK_CALL_PHONE = 111; 9 | final public static int REQUEST_CODE_ASK_CANER = 112; 10 | final public static int REQUEST_CODE_ADK_AUDIO = 113; 11 | final public static int REQUEST_CODE_WRITE_CONTACT = 114; 12 | final public static int REQUEST_CODE_READ_LOCATION = 115; 13 | final public static int REQUEST_CODE_EXTERNAL_STORAGE = 116; 14 | } 15 | -------------------------------------------------------------------------------- /app/src/main/java/com/gan/base/net/utils/LogUtils.java: -------------------------------------------------------------------------------- 1 | package com.gan.base.net.utils; 2 | 3 | import android.util.Log; 4 | 5 | import com.gan.base.constant.Constant; 6 | 7 | 8 | /** 9 | * 用途: 日志管理类 10 | * 创建者:ganyufei 11 | * 时间: 2017/2/23 12 | */ 13 | 14 | public class LogUtils { 15 | public static void D(String tag,String msg){ 16 | if (Constant.DEBUG){ 17 | Log.d(tag,msg); 18 | } 19 | } 20 | public static void D(String msg){ 21 | if (Constant.DEBUG){ 22 | Log.d("gan-yunpai-tms====>",msg); 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/item_message_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/pager_img.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 12 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_detail.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 11 | 12 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/res/layout/rxbus_activity.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 |