├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── meizi.jpg │ │ │ │ ├── splash.jpg │ │ │ │ ├── icon_bar.png │ │ │ │ ├── icon_zfb.png │ │ │ │ ├── icon_back.png │ │ │ │ ├── icon_camera.png │ │ │ │ ├── icon_delete.png │ │ │ │ ├── icon_edit.png │ │ │ │ ├── icon_game.png │ │ │ │ ├── icon_gift.png │ │ │ │ ├── icon_info.png │ │ │ │ ├── icon_more.png │ │ │ │ ├── icon_movie.png │ │ │ │ ├── icon_phone.png │ │ │ │ ├── icon_right.png │ │ │ │ ├── icon_search.png │ │ │ │ ├── icon_share.png │ │ │ │ ├── icon_wechat.png │ │ │ │ ├── home_banner_1.png │ │ │ │ ├── home_banner_2.png │ │ │ │ ├── icon_add_gray.png │ │ │ │ ├── icon_address.png │ │ │ │ ├── icon_ban_card.png │ │ │ │ ├── icon_bank_jh.png │ │ │ │ ├── icon_pay_card.png │ │ │ │ ├── icon_qq_email.png │ │ │ │ ├── icon_refresh.png │ │ │ │ ├── icon_splash_1.png │ │ │ │ ├── icon_splash_2.png │ │ │ │ ├── icon_splash_3.png │ │ │ │ ├── icon_splash_4.png │ │ │ │ ├── icon_to_left.png │ │ │ │ ├── icon_to_right.png │ │ │ │ ├── icon_user_fav.png │ │ │ │ ├── icon_add_yellow.png │ │ │ │ ├── icon_bank_card.png │ │ │ │ ├── icon_blachfish.png │ │ │ │ ├── icon_black_fish.png │ │ │ │ ├── icon_btn_checked.png │ │ │ │ ├── icon_cash_fenqi.png │ │ │ │ ├── icon_close_eyes.png │ │ │ │ ├── icon_create_bank.png │ │ │ │ ├── icon_fav_checked.png │ │ │ │ ├── icon_fav_uncheck.png │ │ │ │ ├── icon_keeper_add.png │ │ │ │ ├── icon_keeper_card.png │ │ │ │ ├── icon_keeper_gjj.png │ │ │ │ ├── icon_keeper_loan.png │ │ │ │ ├── icon_login_phone.png │ │ │ │ ├── icon_more_change.png │ │ │ │ ├── icon_open_eyes.png │ │ │ │ ├── icon_other_email.png │ │ │ │ ├── icon_reduce_gray.png │ │ │ │ ├── icon_remind_date.png │ │ │ │ ├── icon_round_right.png │ │ │ │ ├── icon_user_about.png │ │ │ │ ├── icon_activate_sign.png │ │ │ │ ├── icon_all_classify.png │ │ │ │ ├── icon_btn_unchecked.png │ │ │ │ ├── icon_jh_bank_logo.png │ │ │ │ ├── icon_keeper_nofee.png │ │ │ │ ├── icon_keeper_remind.png │ │ │ │ ├── icon_mine_grid_get.png │ │ │ │ ├── icon_mine_grid_pay.png │ │ │ │ ├── icon_newyear_left.png │ │ │ │ ├── icon_newyear_right.png │ │ │ │ ├── icon_reduce_yellow.png │ │ │ │ ├── icon_sug_add_image.png │ │ │ │ ├── icon_to_left_white.png │ │ │ │ ├── icon_user_coupons.png │ │ │ │ ├── icon_user_history.png │ │ │ │ ├── icon_wechat_friend.png │ │ │ │ ├── image_bottom_left.png │ │ │ │ ├── image_bottom_right.png │ │ │ │ ├── icon_add_bill_handed.png │ │ │ │ ├── icon_bill_detail_sign.png │ │ │ │ ├── icon_checkbox_checked.png │ │ │ │ ├── icon_create_bill_day.png │ │ │ │ ├── icon_create_card_type.png │ │ │ │ ├── icon_create_username.png │ │ │ │ ├── icon_edittext_delete.png │ │ │ │ ├── icon_keeper_bank_card.png │ │ │ │ ├── icon_keeper_manager.png │ │ │ │ ├── icon_keeper_overview.png │ │ │ │ ├── icon_key_board_delete.png │ │ │ │ ├── icon_login_pwd_left.png │ │ │ │ ├── icon_login_pwd_right.png │ │ │ │ ├── icon_mall_menu_black.png │ │ │ │ ├── icon_mall_menu_white.png │ │ │ │ ├── icon_mine_grid_send.png │ │ │ │ ├── icon_remind_calener.png │ │ │ │ ├── icon_remind_item_msg.png │ │ │ │ ├── icon_remind_way_msg.png │ │ │ │ ├── icon_round_black_fish.png │ │ │ │ ├── icon_user_bank_card.png │ │ │ │ ├── icon_user_help_center.png │ │ │ │ ├── icon_voucher_center.png │ │ │ │ ├── image_home_goods_big.jpg │ │ │ │ ├── image_home_header_bg.png │ │ │ │ ├── image_login_blackfish.png │ │ │ │ ├── image_mine_bg_header.png │ │ │ │ ├── image_mine_pager_user.jpg │ │ │ │ ├── image_replace_bf_logo.png │ │ │ │ ├── icon_bill_detail_remind.png │ │ │ │ ├── icon_checkbox_unchecked.png │ │ │ │ ├── icon_construction_bank.png │ │ │ │ ├── icon_create_bank_number.png │ │ │ │ ├── icon_dialog_add_bill_1.png │ │ │ │ ├── icon_dialog_add_bill_2.png │ │ │ │ ├── icon_home_title_message.png │ │ │ │ ├── icon_key_board_security.png │ │ │ │ ├── icon_login_pwd_visiable.png │ │ │ │ ├── icon_remind_item_delete.png │ │ │ │ ├── icon_remind_way_checked.png │ │ │ │ ├── image_keeper_header_bg.png │ │ │ │ ├── icon_add_bill_import_email.png │ │ │ │ ├── icon_create_pay_bill_day.png │ │ │ │ ├── icon_detail_bill_pay_off.png │ │ │ │ ├── icon_home_banner_selected.png │ │ │ │ ├── icon_home_header_fish_logo.png │ │ │ │ ├── icon_home_header_msg_black.png │ │ │ │ ├── icon_home_header_msg_white.png │ │ │ │ ├── icon_keeper_add_bill_bank.png │ │ │ │ ├── icon_login_header_delete.png │ │ │ │ ├── icon_mine_grid_after_sale.png │ │ │ │ ├── icon_mine_header_setting.png │ │ │ │ ├── icon_recommend_title_left.png │ │ │ │ ├── icon_recommend_title_right.png │ │ │ │ ├── icon_remind_way_unchecked.png │ │ │ │ ├── image_bill_detail_header.png │ │ │ │ ├── image_home_goods_grid_item.jpg │ │ │ │ ├── image_login_layout_bottom.png │ │ │ │ ├── image_mall_banner_bottom.png │ │ │ │ ├── icon_bottom_navigation_home.png │ │ │ │ ├── icon_bottom_navigation_mall.png │ │ │ │ ├── icon_bottom_navigation_mine.png │ │ │ │ ├── icon_home_banner_unselected.png │ │ │ │ ├── icon_keeper_add_bill_icon_2.png │ │ │ │ ├── icon_keeper_bankcard_example.png │ │ │ │ ├── icon_user_without_bank_card.png │ │ │ │ ├── splash_bottom_point_selected.png │ │ │ │ ├── icon_add_bill_import_net_silver.png │ │ │ │ ├── icon_bill_detail_close_remind.png │ │ │ │ ├── icon_mine_pager_header_toright.png │ │ │ │ ├── splash_bottom_point_unselected.png │ │ │ │ ├── icon_bottom_navigation_financial.png │ │ │ │ ├── icon_bottom_navigation_housekeeper.png │ │ │ │ ├── icon_home_pager_goods_title_to_right.png │ │ │ │ ├── shape_custom_dialog.xml │ │ │ │ ├── shape_grid_pressed.xml │ │ │ │ ├── shape_key_number_pressed.xml │ │ │ │ ├── shape_key_number_unpressed.xml │ │ │ │ ├── shape_text_view_un_pressed.xml │ │ │ │ ├── shape_text_view_pressed.xml │ │ │ │ ├── shape_dialog.xml │ │ │ │ ├── home_pager_cardview_h_divider.xml │ │ │ │ ├── home_pager_cardview_v_divider.xml │ │ │ │ ├── shape_bottom_dialog_bg.xml │ │ │ │ ├── shape_divider_layout.xml │ │ │ │ ├── shape_search_view.xml │ │ │ │ ├── selector_grid_pressed.xml │ │ │ │ ├── shape_btn_pressed.xml │ │ │ │ ├── shape_custom_toast.xml │ │ │ │ ├── shape_evaluation_text.xml │ │ │ │ ├── shape_home_subtitle_left2.xml │ │ │ │ ├── shape_home_subtitle_left3.xml │ │ │ │ ├── shape_home_subtitle_left4.xml │ │ │ │ ├── shape_btn_no_pressed.xml │ │ │ │ ├── shape_home_subtitle_left1.xml │ │ │ │ ├── shape_keeper_card_text.xml │ │ │ │ ├── shape_add_bank_card_pressed.xml │ │ │ │ ├── shape_selected_text.xml │ │ │ │ ├── bottom_navigation_color.xml │ │ │ │ ├── shape_sug_text_view_unselected.xml │ │ │ │ ├── shape_dialog_button.xml │ │ │ │ ├── shape_new_remind_dialog.xml │ │ │ │ ├── shape_hot_search.xml │ │ │ │ ├── shape_sug_text_view_selected.xml │ │ │ │ ├── shape_add_bank_card_unpressed.xml │ │ │ │ ├── shape_card_view.xml │ │ │ │ ├── shape_image_corners.xml │ │ │ │ ├── seletor_btn_general.xml │ │ │ │ ├── shape_radius_white_btn.xml │ │ │ │ ├── selector_key_board_number.xml │ │ │ │ ├── selector_button_add_bank_card.xml │ │ │ │ └── selector_text_view_pressed.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── values │ │ │ │ ├── id.xml │ │ │ │ ├── atts.xml │ │ │ │ └── array.xml │ │ │ ├── layout │ │ │ │ ├── view_lables_item_layout.xml │ │ │ │ ├── activity_pay_layout.xml │ │ │ │ ├── fragment_financial_layout.xml │ │ │ │ ├── activity_welcome_layout.xml │ │ │ │ ├── view_one_image_layout.xml │ │ │ │ ├── fragment_bill_layout.xml │ │ │ │ ├── fragment_pay_history_layout.xml │ │ │ │ ├── home_pager_goods_grid_item.xml │ │ │ │ ├── view_picker_item_layout.xml │ │ │ │ ├── home_pager_banner_item.xml │ │ │ │ ├── activity_welcome_splash_layout.xml │ │ │ │ ├── view_classify_goods_title_item.xml │ │ │ │ ├── test_2.xml │ │ │ │ ├── mall_pager_hot_classify_grid_layout.xml │ │ │ │ ├── mall_pager_two_line_grid.xml │ │ │ │ ├── home_pager_two_line_grid.xml │ │ │ │ ├── mall_pager_four_goods_layout.xml │ │ │ │ ├── home_pager_banner_layout.xml │ │ │ │ ├── activity_show_image_layout.xml │ │ │ │ ├── activity_select_card_item_layout.xml │ │ │ │ ├── fragment_mine_layout.xml │ │ │ │ ├── grid_bank_cards_item_layout.xml │ │ │ │ ├── mall_pager_banner_layout.xml │ │ │ │ ├── home_pager_title.xml │ │ │ │ ├── view_custom_layout.xml │ │ │ │ ├── activity_select_card_layout.xml │ │ │ │ ├── view_classify_common_item_layout.xml │ │ │ │ ├── view_remind_item_layout.xml │ │ │ │ ├── home_pager_bottom_layout.xml │ │ │ │ ├── view_bottom_dialog_layout.xml │ │ │ │ ├── activity_webview_layout.xml │ │ │ │ ├── view_amount_layout.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── view_custom_picker_layout.xml │ │ │ │ ├── view_remind_bottom_dialog_layout.xml │ │ │ │ ├── goods_details_similar_reco.xml │ │ │ │ ├── mall_pager_hot_classify_grid_item_layout.xml │ │ │ │ ├── activity_web_view_layout.xml │ │ │ │ ├── view_picker_layout.xml │ │ │ │ ├── mine_pager_header_layout.xml │ │ │ │ └── activity_mine_setting_layout.xml │ │ │ ├── anim │ │ │ │ ├── activity_translate_right_in.xml │ │ │ │ ├── activity_translate_right_out.xml │ │ │ │ ├── view_layout_bottom_in.xml │ │ │ │ ├── view_layout_top_in.xml │ │ │ │ ├── view_layout_top_out.xml │ │ │ │ ├── activity_banner_left_in.xml │ │ │ │ ├── activity_banner_left_out.xml │ │ │ │ ├── activity_banner_right_out.xml │ │ │ │ ├── view_bottom_dialog_in.xml │ │ │ │ ├── view_bottom_dialog_out.xml │ │ │ │ ├── view_layout_bottom_out.xml │ │ │ │ ├── activity_banner_right_in.xml │ │ │ │ ├── activity_login_top_out.xml │ │ │ │ └── activity_login_bottom_in.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── drawable-v24 │ │ │ │ └── shape_search.xml │ │ │ ├── menu │ │ │ │ └── menu_bottom_navigation.xml │ │ │ └── xml │ │ │ │ └── keyboard_only_number.xml │ │ ├── assets │ │ │ └── module_info │ │ ├── libs │ │ │ ├── alipaySdk-20180403.jar │ │ │ └── mysql-connector-java-5.1.30-bin.jar │ │ └── java │ │ │ └── top │ │ │ └── omooo │ │ │ └── blackfish │ │ │ ├── listener │ │ │ ├── OnNetChangeListener.java │ │ │ ├── BaseFragmentListener.java │ │ │ ├── OnSuperEditClickListener.java │ │ │ ├── OnViewItemClickListener.java │ │ │ ├── OnSuperEditLayoutClickListener.java │ │ │ ├── OnSetDataListener.java │ │ │ ├── InputCompleteListener.java │ │ │ ├── OnNetResultListener.java │ │ │ └── OnVerifyCodeResultListener.java │ │ │ ├── bean │ │ │ ├── BannerInfo.java │ │ │ ├── GridInfo.java │ │ │ ├── HomeSortItemInfo.java │ │ │ ├── ClassifyGridInfo.java │ │ │ ├── BankCardsInfo.java │ │ │ ├── MallGoodsInfo.java │ │ │ ├── OptionalTypeInfo.java │ │ │ ├── BannerItemInfo.java │ │ │ ├── HomeSortInfo.java │ │ │ ├── MallHotClassifyGridInfo.java │ │ │ ├── MallGoodsItemInfo.java │ │ │ ├── SimilarRecoInfo.java │ │ │ └── RecommendGoodsInfo.java │ │ │ ├── event │ │ │ └── LoginSuccessEvent.java │ │ │ ├── view │ │ │ ├── FrescoImage.java │ │ │ ├── GridViewForScroll.java │ │ │ ├── CustomToast.java │ │ │ └── CodeEditText.java │ │ │ ├── application │ │ │ └── MyApplication.java │ │ │ ├── fragment │ │ │ ├── BillFragment.java │ │ │ ├── PayHistoryFragment.java │ │ │ └── FinancialFragment.java │ │ │ ├── broadcast │ │ │ └── NetChangedReceiver.java │ │ │ ├── utils │ │ │ ├── NetworkUtil.java │ │ │ ├── KeyBoardUtil.java │ │ │ ├── DensityUtil.java │ │ │ ├── SharePerUtil.java │ │ │ ├── CountDownUtil.java │ │ │ ├── BottomNavigationViewHelper.java │ │ │ └── SqlOpenHelperUtil.java │ │ │ ├── adapter │ │ │ ├── NavigationViewPagerAdapter.java │ │ │ ├── DetailCardPageAdapter.java │ │ │ └── HomeBannerAdapter.java │ │ │ ├── aliPay │ │ │ ├── PayResult.java │ │ │ └── SignUtils.java │ │ │ └── TestActivity.java │ ├── test │ │ └── java │ │ │ └── top │ │ │ └── omooo │ │ │ └── blackfish │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── top │ │ └── omooo │ │ └── blackfish │ │ └── ExampleInstrumentedTest.java └── proguard-rules.pro ├── logger ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ └── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── top │ │ │ └── omooo │ │ │ └── logger │ │ │ └── StackTraceUtil.java │ ├── test │ │ └── java │ │ │ └── top │ │ │ └── omooo │ │ │ └── logger │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── top │ │ └── omooo │ │ └── logger │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── router ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ └── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── top │ │ │ └── omooo │ │ │ └── router │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── top │ │ └── omooo │ │ └── router │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── auto_track ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ └── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── top │ │ │ └── omooo │ │ │ └── auto_track │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── top │ │ └── omooo │ │ └── auto_track │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── router_processor ├── .gitignore └── build.gradle ├── tinypng_plugin ├── .gitignore ├── src │ └── main │ │ ├── java │ │ └── top │ │ │ └── omooo │ │ │ └── tinypng_plugin │ │ │ └── MyClass.java │ │ ├── resources │ │ └── META-INF │ │ │ └── gradle-plugins │ │ │ └── top.omooo.tinypng_plugin.properties │ │ └── groovy │ │ └── top │ │ └── omooo │ │ └── tinypng_plugin │ │ ├── TinyPngPlugin.groovy │ │ ├── TinyPngInfo.groovy │ │ ├── TinyPngExtension.groovy │ │ └── TinyPngResult.groovy └── build.gradle ├── router_annotations ├── .gitignore ├── build.gradle └── src │ └── main │ └── java │ └── top │ └── omooo │ └── router_annotations │ └── Router.java ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── settings.gradle ├── .gitignore ├── .idea ├── vcs.xml ├── runConfigurations.xml ├── gradle.xml ├── modules.xml └── codeStyles │ └── Project.xml ├── gradle.properties └── README.md /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /logger/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /router/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /auto_track/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /router_processor/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /tinypng_plugin/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /router_annotations/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/meizi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/meizi.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/splash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/splash.jpg -------------------------------------------------------------------------------- /logger/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | logger 3 | 4 | -------------------------------------------------------------------------------- /router/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | router 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_bar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_zfb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_zfb.png -------------------------------------------------------------------------------- /auto_track/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | auto_track 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/assets/module_info: -------------------------------------------------------------------------------- 1 | { 2 | "modules": [ 3 | { 4 | "packageName": "top.omooo.blackfish" 5 | } 6 | ] 7 | } -------------------------------------------------------------------------------- /app/src/main/libs/alipaySdk-20180403.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/libs/alipaySdk-20180403.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_back.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_camera.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_camera.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_delete.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_edit.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_game.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_game.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_gift.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_gift.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_info.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_more.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_movie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_movie.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_phone.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_right.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_search.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_share.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_wechat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_banner_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/home_banner_1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_banner_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/home_banner_2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_add_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_add_gray.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_address.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_address.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_ban_card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_ban_card.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_bank_jh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_bank_jh.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_pay_card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_pay_card.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_qq_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_qq_email.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_refresh.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_splash_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_splash_1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_splash_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_splash_2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_splash_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_splash_3.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_splash_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_splash_4.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_to_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_to_left.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_to_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_to_right.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_user_fav.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_user_fav.png -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app', ':router', ':router_annotations', ':router_processor', ':logger', ':tinypng_plugin', ':auto_track' 2 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_add_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_add_yellow.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_bank_card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_bank_card.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_blachfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_blachfish.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_black_fish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_black_fish.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_btn_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_btn_checked.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_cash_fenqi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_cash_fenqi.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_close_eyes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_close_eyes.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_create_bank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_create_bank.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_fav_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_fav_checked.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_fav_uncheck.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_fav_uncheck.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_keeper_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_keeper_add.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_keeper_card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_keeper_card.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_keeper_gjj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_keeper_gjj.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_keeper_loan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_keeper_loan.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_login_phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_login_phone.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_more_change.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_more_change.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_open_eyes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_open_eyes.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_other_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_other_email.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_reduce_gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_reduce_gray.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_remind_date.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_remind_date.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_round_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_round_right.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_user_about.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_user_about.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tinypng_plugin/src/main/java/top/omooo/tinypng_plugin/MyClass.java: -------------------------------------------------------------------------------- 1 | package top.omooo.tinypng_plugin; 2 | 3 | public class MyClass { 4 | } 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_activate_sign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_activate_sign.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_all_classify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_all_classify.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_btn_unchecked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_btn_unchecked.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_jh_bank_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_jh_bank_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_keeper_nofee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_keeper_nofee.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_keeper_remind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_keeper_remind.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_mine_grid_get.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_mine_grid_get.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_mine_grid_pay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_mine_grid_pay.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_newyear_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_newyear_left.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_newyear_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_newyear_right.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_reduce_yellow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_reduce_yellow.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_sug_add_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_sug_add_image.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_to_left_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_to_left_white.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_user_coupons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_user_coupons.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_user_history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_user_history.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_wechat_friend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_wechat_friend.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_bottom_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_bottom_left.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_bottom_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_bottom_right.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /logger/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/logger/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /logger/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/logger/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /logger/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/logger/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /router/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/router/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /router/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/router/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /router/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/router/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_add_bill_handed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_add_bill_handed.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_bill_detail_sign.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_bill_detail_sign.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_checkbox_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_checkbox_checked.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_create_bill_day.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_create_bill_day.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_create_card_type.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_create_card_type.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_create_username.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_create_username.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_edittext_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_edittext_delete.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_keeper_bank_card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_keeper_bank_card.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_keeper_manager.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_keeper_manager.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_keeper_overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_keeper_overview.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_key_board_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_key_board_delete.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_login_pwd_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_login_pwd_left.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_login_pwd_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_login_pwd_right.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_mall_menu_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_mall_menu_black.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_mall_menu_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_mall_menu_white.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_mine_grid_send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_mine_grid_send.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_remind_calener.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_remind_calener.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_remind_item_msg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_remind_item_msg.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_remind_way_msg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_remind_way_msg.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_round_black_fish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_round_black_fish.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_user_bank_card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_user_bank_card.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_user_help_center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_user_help_center.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_voucher_center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_voucher_center.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_home_goods_big.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_home_goods_big.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_home_header_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_home_header_bg.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_login_blackfish.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_login_blackfish.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_mine_bg_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_mine_bg_header.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_mine_pager_user.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_mine_pager_user.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_replace_bf_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_replace_bf_logo.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /auto_track/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/auto_track/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /auto_track/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/auto_track/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /logger/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/logger/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /logger/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/logger/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /router/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/router/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /router/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/router/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tinypng_plugin/src/main/resources/META-INF/gradle-plugins/top.omooo.tinypng_plugin.properties: -------------------------------------------------------------------------------- 1 | implementation-class=top.omooo.tinypng_plugin.TinyPngPlugin -------------------------------------------------------------------------------- /app/src/main/libs/mysql-connector-java-5.1.30-bin.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/libs/mysql-connector-java-5.1.30-bin.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_bill_detail_remind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_bill_detail_remind.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_checkbox_unchecked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_checkbox_unchecked.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_construction_bank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_construction_bank.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_create_bank_number.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_create_bank_number.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_dialog_add_bill_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_dialog_add_bill_1.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_dialog_add_bill_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_dialog_add_bill_2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_home_title_message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_home_title_message.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_key_board_security.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_key_board_security.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_login_pwd_visiable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_login_pwd_visiable.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_remind_item_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_remind_item_delete.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_remind_way_checked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_remind_way_checked.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_keeper_header_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_keeper_header_bg.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /auto_track/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/auto_track/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /auto_track/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/auto_track/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /logger/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/logger/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /logger/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/logger/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /router/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/router/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /router/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/router/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_add_bill_import_email.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_add_bill_import_email.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_create_pay_bill_day.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_create_pay_bill_day.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_detail_bill_pay_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_detail_bill_pay_off.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_home_banner_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_home_banner_selected.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_home_header_fish_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_home_header_fish_logo.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_home_header_msg_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_home_header_msg_black.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_home_header_msg_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_home_header_msg_white.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_keeper_add_bill_bank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_keeper_add_bill_bank.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_login_header_delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_login_header_delete.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_mine_grid_after_sale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_mine_grid_after_sale.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_mine_header_setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_mine_header_setting.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_recommend_title_left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_recommend_title_left.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_recommend_title_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_recommend_title_right.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_remind_way_unchecked.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_remind_way_unchecked.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_bill_detail_header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_bill_detail_header.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_home_goods_grid_item.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_home_goods_grid_item.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_login_layout_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_login_layout_bottom.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/image_mall_banner_bottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/image_mall_banner_bottom.png -------------------------------------------------------------------------------- /app/src/main/res/values/id.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /auto_track/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/auto_track/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /logger/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/logger/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /logger/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/logger/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /logger/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/logger/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /router/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/router/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /router/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/router/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /router/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/router/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_bottom_navigation_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_bottom_navigation_home.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_bottom_navigation_mall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_bottom_navigation_mall.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_bottom_navigation_mine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_bottom_navigation_mine.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_home_banner_unselected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_home_banner_unselected.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_keeper_add_bill_icon_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_keeper_add_bill_icon_2.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_keeper_bankcard_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_keeper_bankcard_example.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_user_without_bank_card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_user_without_bank_card.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/splash_bottom_point_selected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/splash_bottom_point_selected.png -------------------------------------------------------------------------------- /auto_track/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/auto_track/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /auto_track/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/auto_track/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /auto_track/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/auto_track/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_add_bill_import_net_silver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_add_bill_import_net_silver.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_bill_detail_close_remind.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_bill_detail_close_remind.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_mine_pager_header_toright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_mine_pager_header_toright.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/splash_bottom_point_unselected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/splash_bottom_point_unselected.png -------------------------------------------------------------------------------- /auto_track/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/auto_track/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /auto_track/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/auto_track/src/main/res/mipmap-xxxhdpi/ic_launcher_round.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/icon_bottom_navigation_financial.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_bottom_navigation_financial.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_bottom_navigation_housekeeper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_bottom_navigation_housekeeper.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/icon_home_pager_goods_title_to_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Omooo/BlackFish/HEAD/app/src/main/res/drawable/icon_home_pager_goods_title_to_right.png -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/listener/OnNetChangeListener.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.listener; 2 | 3 | public interface OnNetChangeListener { 4 | void onNetChange(int type); 5 | } 6 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_custom_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /router_annotations/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java-library' 2 | 3 | dependencies { 4 | implementation fileTree(dir: 'libs', include: ['*.jar']) 5 | } 6 | 7 | sourceCompatibility = "7" 8 | targetCompatibility = "7" 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_grid_pressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_key_number_pressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_key_number_unpressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_text_view_un_pressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_text_view_pressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_pager_cardview_h_divider.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/home_pager_cardview_v_divider.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_lables_item_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_bottom_dialog_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_divider_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_search_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/anim/activity_translate_right_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/anim/activity_translate_right_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_grid_pressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_btn_pressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_custom_toast.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_evaluation_text.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_home_subtitle_left2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_home_subtitle_left3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_home_subtitle_left4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /auto_track/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #008577 4 | #00574B 5 | #D81B60 6 | 7 | -------------------------------------------------------------------------------- /logger/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #008577 4 | #00574B 5 | #D81B60 6 | 7 | -------------------------------------------------------------------------------- /router/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #008577 4 | #00574B 5 | #D81B60 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/listener/BaseFragmentListener.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.listener; 2 | 3 | /** 4 | * Created by SSC on 2018/3/18. 5 | */ 6 | 7 | public interface BaseFragmentListener { 8 | void setClickListener(int id); 9 | } 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_btn_no_pressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_home_subtitle_left1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_keeper_card_text.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/listener/OnSuperEditClickListener.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.listener; 2 | 3 | /** 4 | * Created by SSC on 2018/3/27. 5 | */ 6 | 7 | public interface OnSuperEditClickListener { 8 | void onSuperClick(String id); 9 | } 10 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/listener/OnViewItemClickListener.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.listener; 2 | 3 | /** 4 | * Created by SSC on 2018/4/18. 5 | */ 6 | 7 | public interface OnViewItemClickListener { 8 | void onItemClick(String id); 9 | } 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_add_bank_card_pressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/anim/view_layout_bottom_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/anim/view_layout_top_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/anim/view_layout_top_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_selected_text.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/listener/OnSuperEditLayoutClickListener.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.listener; 2 | 3 | /** 4 | * Created by SSC on 2018/3/26. 5 | */ 6 | 7 | public interface OnSuperEditLayoutClickListener { 8 | void onSuperEditClick(String id); 9 | } 10 | -------------------------------------------------------------------------------- /app/src/main/res/anim/activity_banner_left_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/anim/activity_banner_left_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/anim/activity_banner_right_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/anim/view_bottom_dialog_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/anim/view_bottom_dialog_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/anim/view_layout_bottom_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/bottom_navigation_color.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu Apr 25 16:15:42 CST 2019 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-5.1.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_sug_text_view_unselected.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/anim/activity_banner_right_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_dialog_button.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/listener/OnSetDataListener.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.listener; 2 | 3 | import android.view.View; 4 | 5 | /** 6 | * Created by SSC on 2018/3/18. 7 | */ 8 | 9 | public interface OnSetDataListener { 10 | void setData(View view,String typeId); 11 | } 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_new_remind_dialog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /logger/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /router/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /auto_track/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /logger/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /router/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /auto_track/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_hot_search.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_sug_text_view_selected.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/listener/InputCompleteListener.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.listener; 2 | 3 | /** 4 | * Created by SSC on 2018/3/19. 5 | */ 6 | 7 | /** 8 | * 输入完成接口 9 | * 用于验证码控件输入完成回调 10 | */ 11 | public interface InputCompleteListener { 12 | void inputComplete(); 13 | 14 | void invalidContent(); 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/listener/OnNetResultListener.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.listener; 2 | 3 | /** 4 | * Created by SSC on 2018/3/3. 5 | */ 6 | 7 | /** 8 | * 网络请求返回接口 9 | */ 10 | public interface OnNetResultListener { 11 | void onSuccessListener(String result); 12 | void onFailureListener(String result); 13 | } 14 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_add_bank_card_unpressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_card_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_image_corners.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/shape_search.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/seletor_btn_general.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_radius_white_btn.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_key_board_number.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_pay_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_button_add_bank_card.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_text_view_pressed.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /router_processor/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java-library' 2 | 3 | dependencies { 4 | implementation fileTree(dir: 'libs', include: ['*.jar']) 5 | 6 | implementation 'com.google.auto.service:auto-service:1.0-rc4' 7 | implementation project(":router_annotations") 8 | implementation 'com.squareup:javapoet:1.11.1' 9 | } 10 | 11 | sourceCompatibility = "7" 12 | targetCompatibility = "7" 13 | -------------------------------------------------------------------------------- /app/src/main/res/anim/activity_login_top_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/anim/activity_login_bottom_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_financial_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 10 | -------------------------------------------------------------------------------- /logger/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /router/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/BannerInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | /** 4 | * Created by SSC on 2018/4/7. 5 | */ 6 | 7 | public class BannerInfo { 8 | private String url; 9 | 10 | public BannerInfo(String url) { 11 | this.url = url; 12 | } 13 | 14 | public String getUrl() { 15 | return url; 16 | } 17 | 18 | public void setUrl(String url) { 19 | this.url = url; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /auto_track/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/listener/OnVerifyCodeResultListener.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.listener; 2 | 3 | /** 4 | * Created by SSC on 2018/3/19. 5 | */ 6 | 7 | /** 8 | * 验证码状态 9 | */ 10 | public interface OnVerifyCodeResultListener { 11 | void sendCodeSuccess(); //发送成功 12 | 13 | void sendCodeFailure(); //发送失败 14 | 15 | void submitCodeSuccess(String phoneNumber, String date); //验证成功 16 | 17 | void submitCodeFailure(); //验证失败 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_welcome_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 11 | 12 | -------------------------------------------------------------------------------- /tinypng_plugin/src/main/groovy/top/omooo/tinypng_plugin/TinyPngPlugin.groovy: -------------------------------------------------------------------------------- 1 | package top.omooo.tinypng_plugin 2 | 3 | import org.gradle.api.Plugin 4 | import org.gradle.api.Project 5 | 6 | class TinyPngPlugin implements Plugin { 7 | @Override 8 | void apply(Project project) { 9 | project.extensions.create("tinyInfo", TinyPngExtension) 10 | 11 | project.afterEvaluate { 12 | project.task("tinyTask", type: TinyPngTask) 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /router_annotations/src/main/java/top/omooo/router_annotations/Router.java: -------------------------------------------------------------------------------- 1 | package top.omooo.router_annotations; 2 | 3 | import java.lang.annotation.ElementType; 4 | import java.lang.annotation.Retention; 5 | import java.lang.annotation.RetentionPolicy; 6 | import java.lang.annotation.Target; 7 | 8 | /** 9 | * Created by Omooo 10 | * Date:2019/4/1 11 | */ 12 | @Target(ElementType.TYPE) 13 | @Retention(RetentionPolicy.CLASS) 14 | public @interface Router { 15 | String value(); 16 | } 17 | -------------------------------------------------------------------------------- /logger/src/test/java/top/omooo/logger/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package top.omooo.logger; 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() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /router/src/test/java/top/omooo/router/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package top.omooo.router; 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() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/view_one_image_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 11 | -------------------------------------------------------------------------------- /tinypng_plugin/src/main/groovy/top/omooo/tinypng_plugin/TinyPngInfo.groovy: -------------------------------------------------------------------------------- 1 | package top.omooo.tinypng_plugin 2 | 3 | class TinyPngInfo { 4 | String path 5 | String preSize 6 | String postSize 7 | String md5 8 | 9 | TinyPngInfo() { 10 | 11 | } 12 | 13 | TinyPngInfo(String path, String preSize, String postSize, String md5) { 14 | this.path = path 15 | this.preSize = preSize 16 | this.postSize = postSize 17 | this.md5 = md5 18 | } 19 | 20 | } -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/event/LoginSuccessEvent.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.event; 2 | 3 | /** 4 | * Created by Omooo 5 | * Date:2019/5/10 6 | */ 7 | public class LoginSuccessEvent { 8 | private String phoneNumber; 9 | 10 | public LoginSuccessEvent() { 11 | } 12 | 13 | public String getPhoneNumber() { 14 | return phoneNumber; 15 | } 16 | 17 | public void setPhoneNumber(String phoneNumber) { 18 | this.phoneNumber = phoneNumber; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /auto_track/src/test/java/top/omooo/auto_track/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package top.omooo.auto_track; 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() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_bill_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 11 | -------------------------------------------------------------------------------- /app/src/test/java/top/omooo/blackfish/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish; 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/layout/fragment_pay_history_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/home_pager_goods_grid_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_picker_item_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/home_pager_banner_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_welcome_splash_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_classify_goods_title_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 14 | -------------------------------------------------------------------------------- /router/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /logger/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /auto_track/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/view/FrescoImage.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.view; 2 | 3 | import android.content.Context; 4 | import android.util.AttributeSet; 5 | 6 | import com.facebook.drawee.view.SimpleDraweeView; 7 | 8 | /** 9 | * Created by Omooo on 2018/2/24. 10 | */ 11 | 12 | public class FrescoImage extends SimpleDraweeView { 13 | 14 | public FrescoImage(Context context) { 15 | super(context); 16 | } 17 | 18 | public FrescoImage(Context context, AttributeSet attrs) { 19 | super(context, attrs); 20 | } 21 | 22 | public FrescoImage(Context context, AttributeSet attrs, int defStyle) { 23 | super(context, attrs, defStyle); 24 | } 25 | 26 | 27 | } 28 | -------------------------------------------------------------------------------- /tinypng_plugin/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'java' 2 | apply plugin: 'groovy' 3 | apply plugin: 'maven' 4 | 5 | dependencies { 6 | implementation fileTree(dir: 'libs', include: ['*.jar']) 7 | 8 | //Gradle Plugin 依赖 9 | implementation gradleApi() 10 | //本地发布 Plugin 11 | implementation localGroovy() 12 | 13 | //TinyPng 14 | implementation 'com.tinify:tinify:1.6.2' 15 | } 16 | 17 | 18 | //Plugin 标示信息 19 | group 'top.omooo.tinypng_plugin' 20 | version '1.0' 21 | 22 | //本地发布,发布到根目录的 /repo 文件夹下 23 | uploadArchives{ 24 | repositories { 25 | mavenDeployer{ 26 | repository(url :uri('../repo')) 27 | } 28 | } 29 | } 30 | 31 | sourceCompatibility = "7" 32 | targetCompatibility = "7" 33 | -------------------------------------------------------------------------------- /app/src/main/res/layout/test_2.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/application/MyApplication.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.application; 2 | 3 | import android.app.Application; 4 | 5 | import com.facebook.drawee.backends.pipeline.Fresco; 6 | import com.mob.MobSDK; 7 | 8 | import top.omooo.auto_track.SensorsDataAPI; 9 | import top.omooo.router.EasyRouter; 10 | 11 | /** 12 | * Created by Omooo on 2018/2/24. 13 | */ 14 | 15 | public class MyApplication extends Application { 16 | @Override 17 | public void onCreate() { 18 | super.onCreate(); 19 | Fresco.initialize(this); 20 | MobSDK.init(this); 21 | // LeakCanary.install(this); 22 | EasyRouter.getInstance().inject(this); 23 | SensorsDataAPI.init(this); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/GridInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | /** 4 | * Created by SSC on 2018/4/7. 5 | */ 6 | 7 | public class GridInfo { 8 | private String title; 9 | private String imageUrl; 10 | 11 | public GridInfo(String title, String imageUrl) { 12 | this.title = title; 13 | this.imageUrl = imageUrl; 14 | } 15 | 16 | public String getTitle() { 17 | return title; 18 | } 19 | 20 | public void setTitle(String title) { 21 | this.title = title; 22 | } 23 | 24 | public String getImageUrl() { 25 | return imageUrl; 26 | } 27 | 28 | public void setImageUrl(String imageUrl) { 29 | this.imageUrl = imageUrl; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /app/src/main/res/layout/mall_pager_hot_classify_grid_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 12 | 17 | -------------------------------------------------------------------------------- /tinypng_plugin/src/main/groovy/top/omooo/tinypng_plugin/TinyPngExtension.groovy: -------------------------------------------------------------------------------- 1 | package top.omooo.tinypng_plugin 2 | 3 | class TinyPngExtension { 4 | 5 | ArrayList resourceDir 6 | ArrayList resourcePattern 7 | ArrayList whiteList 8 | String apiKey 9 | 10 | TinyPngExtension() { 11 | resourceDir = [] 12 | resourcePattern = [] 13 | whiteList = [] 14 | apiKey = null 15 | } 16 | 17 | 18 | @Override 19 | public String toString() { 20 | return "TinyPngExtension.groovy{" + 21 | "resourceDir=" + resourceDir + 22 | ", resourcePattern=" + resourcePattern + 23 | ", whiteList=" + whiteList + 24 | ", apiKey='" + apiKey + '\'' + 25 | '}' 26 | } 27 | } -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/HomeSortItemInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | /** 4 | * Created by SSC on 2018/3/3. 5 | */ 6 | 7 | /** 8 | * 首页分类商品信息 9 | */ 10 | public class HomeSortItemInfo { 11 | private String id; 12 | private String goodsImageUrl; 13 | 14 | public HomeSortItemInfo(String id, String goodsImageUrl) { 15 | this.id = id; 16 | this.goodsImageUrl = goodsImageUrl; 17 | } 18 | 19 | public String getId() { 20 | return id; 21 | } 22 | 23 | public void setId(String id) { 24 | this.id = id; 25 | } 26 | 27 | public String getGoodsImageUrl() { 28 | return goodsImageUrl; 29 | } 30 | 31 | public void setGoodsImageUrl(String goodsImageUrl) { 32 | this.goodsImageUrl = goodsImageUrl; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/fragment/BillFragment.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.fragment; 2 | 3 | import android.view.View; 4 | 5 | import top.omooo.blackfish.R; 6 | 7 | /** 8 | * Created by SSC on 2018/3/29. 9 | */ 10 | 11 | public class BillFragment extends BaseFragment { 12 | 13 | public static BillFragment newInstance() { 14 | return new BillFragment(); 15 | } 16 | @Override 17 | public int getLayoutId() { 18 | return R.layout.fragment_bill_layout; 19 | } 20 | 21 | @Override 22 | public void initViews() { 23 | 24 | } 25 | 26 | @Override 27 | public void initListener() { 28 | 29 | } 30 | 31 | @Override 32 | public void initData() { 33 | 34 | } 35 | 36 | @Override 37 | public void processClick(View view) { 38 | 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /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 | 13 | #org.gradle.jvmargs=-Xmx1536m 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | #android.enableAapt2=false -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /logger/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /router/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /auto_track/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # You can control the set of applied configuration files using the 3 | # proguardFiles setting in build.gradle. 4 | # 5 | # For more details, see 6 | # http://developer.android.com/guide/developing/tools/proguard.html 7 | 8 | # If your project uses WebView with JS, uncomment the following 9 | # and specify the fully qualified class name to the JavaScript interface 10 | # class: 11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 12 | # public *; 13 | #} 14 | 15 | # Uncomment this to preserve the line number information for 16 | # debugging stack traces. 17 | #-keepattributes SourceFile,LineNumberTable 18 | 19 | # If you keep the line number information, uncomment this to 20 | # hide the original source file name. 21 | #-renamesourcefileattribute SourceFile 22 | -------------------------------------------------------------------------------- /tinypng_plugin/src/main/groovy/top/omooo/tinypng_plugin/TinyPngResult.groovy: -------------------------------------------------------------------------------- 1 | package top.omooo.tinypng_plugin 2 | 3 | class TinyPngResult { 4 | 5 | private long beforeSize 6 | private long afterSize 7 | private boolean error 8 | private ArrayList results 9 | 10 | TinyPngResult(long beforeSize, long afterSize, boolean error, ArrayList results) { 11 | this.beforeSize = beforeSize 12 | this.afterSize = afterSize 13 | this.error = error 14 | this.results = results 15 | } 16 | 17 | long getBeforeSize() { 18 | return beforeSize 19 | } 20 | 21 | long getAfterSize() { 22 | return afterSize 23 | } 24 | 25 | boolean getError() { 26 | return error 27 | } 28 | 29 | ArrayList getResults() { 30 | return results 31 | } 32 | } -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/fragment/PayHistoryFragment.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.fragment; 2 | 3 | import android.view.View; 4 | 5 | import top.omooo.blackfish.R; 6 | 7 | /** 8 | * Created by SSC on 2018/3/29. 9 | */ 10 | 11 | public class PayHistoryFragment extends BaseFragment { 12 | 13 | public static PayHistoryFragment newInstance() { 14 | return new PayHistoryFragment(); 15 | } 16 | 17 | @Override 18 | public int getLayoutId() { 19 | return R.layout.fragment_pay_history_layout; 20 | } 21 | 22 | @Override 23 | public void initViews() { 24 | 25 | } 26 | 27 | @Override 28 | public void initListener() { 29 | 30 | } 31 | 32 | @Override 33 | public void initData() { 34 | 35 | } 36 | 37 | @Override 38 | public void processClick(View view) { 39 | 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /logger/src/androidTest/java/top/omooo/logger/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package top.omooo.logger; 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 | * Instrumented 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() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("top.omooo.logger", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /router/src/androidTest/java/top/omooo/router/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package top.omooo.router; 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 | * Instrumented 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() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("top.omooo.router", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/res/layout/mall_pager_two_line_grid.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 15 | 21 | -------------------------------------------------------------------------------- /auto_track/src/androidTest/java/top/omooo/auto_track/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package top.omooo.auto_track; 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 | * Instrumented 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() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("top.omooo.auto_track", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/androidTest/java/top/omooo/blackfish/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish; 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 | * Instrumented 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("top.omooo.blackfish", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/res/layout/home_pager_two_line_grid.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 16 | 22 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/ClassifyGridInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | /** 4 | * Created by SSC on 2018/4/5. 5 | */ 6 | 7 | public class ClassifyGridInfo { 8 | private int id; 9 | private String name; 10 | private String imageUrl; 11 | 12 | public ClassifyGridInfo(int id, String name, String imageUrl) { 13 | this.id = id; 14 | this.name = name; 15 | this.imageUrl = imageUrl; 16 | } 17 | 18 | public int getId() { 19 | return id; 20 | } 21 | 22 | public void setId(int id) { 23 | this.id = id; 24 | } 25 | 26 | public String getName() { 27 | return name; 28 | } 29 | 30 | public void setName(String name) { 31 | this.name = name; 32 | } 33 | 34 | public String getImageUrl() { 35 | return imageUrl; 36 | } 37 | 38 | public void setImageUrl(String imageUrl) { 39 | this.imageUrl = imageUrl; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_bottom_navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 11 | 15 | 19 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/layout/mall_pager_four_goods_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 11 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/layout/home_pager_banner_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/view/GridViewForScroll.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.view; 2 | 3 | import android.content.Context; 4 | import android.util.AttributeSet; 5 | import android.widget.GridView; 6 | 7 | /** 8 | * 解决NestedScrollView嵌套GridView导致其只显示一行的问题 9 | */ 10 | public class GridViewForScroll extends GridView { 11 | 12 | public GridViewForScroll(Context context, AttributeSet attrs) { 13 | super(context, attrs); 14 | } 15 | 16 | public GridViewForScroll(Context context) { 17 | super(context); 18 | } 19 | 20 | public GridViewForScroll(Context context, AttributeSet attrs, int defStyle) { 21 | super(context, attrs, defStyle); 22 | } 23 | 24 | @Override 25 | public void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 26 | int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2, MeasureSpec.AT_MOST); 27 | super.onMeasure(widthMeasureSpec, expandSpec+30); 28 | 29 | } 30 | 31 | 32 | } 33 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_show_image_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 17 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/BankCardsInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | /** 4 | * Created by SSC on 2018/3/24. 5 | */ 6 | 7 | public class BankCardsInfo { 8 | private String logoUrl; //图标Url 9 | private String name; //名字 10 | private String abbr; //简称 11 | 12 | public BankCardsInfo(String logoUrl, String name, String abbr) { 13 | this.logoUrl = logoUrl; 14 | this.name = name; 15 | this.abbr = abbr; 16 | } 17 | 18 | public String getLogoUrl() { 19 | return logoUrl; 20 | } 21 | 22 | public void setLogoUrl(String logoUrl) { 23 | this.logoUrl = logoUrl; 24 | } 25 | 26 | public String getName() { 27 | return name; 28 | } 29 | 30 | public void setName(String name) { 31 | this.name = name; 32 | } 33 | 34 | public String getAbbr() { 35 | return abbr; 36 | } 37 | 38 | public void setAbbr(String abbr) { 39 | this.abbr = abbr; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/MallGoodsInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | import java.util.List; 4 | 5 | /** 6 | * Created by SSC on 2018/4/7. 7 | */ 8 | 9 | public class MallGoodsInfo { 10 | private String headerImageUrl; 11 | private List mMallGoodsItemInfos; 12 | 13 | public MallGoodsInfo(String headerImageUrl, List mallGoodsItemInfos) { 14 | this.headerImageUrl = headerImageUrl; 15 | mMallGoodsItemInfos = mallGoodsItemInfos; 16 | } 17 | 18 | public String getHeaderImageUrl() { 19 | return headerImageUrl; 20 | } 21 | 22 | public void setHeaderImageUrl(String headerImageUrl) { 23 | this.headerImageUrl = headerImageUrl; 24 | } 25 | 26 | public List getMallGoodsItemInfos() { 27 | return mMallGoodsItemInfos; 28 | } 29 | 30 | public void setMallGoodsItemInfos(List mallGoodsItemInfos) { 31 | mMallGoodsItemInfos = mallGoodsItemInfos; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_select_card_item_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 15 | 24 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/broadcast/NetChangedReceiver.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.broadcast; 2 | 3 | import android.content.BroadcastReceiver; 4 | import android.content.Context; 5 | import android.content.Intent; 6 | import android.net.ConnectivityManager; 7 | 8 | import top.omooo.blackfish.listener.OnNetChangeListener; 9 | import top.omooo.blackfish.utils.NetworkUtil; 10 | 11 | public class NetChangedReceiver extends BroadcastReceiver { 12 | private OnNetChangeListener mOnNetChangeListener; 13 | 14 | public void setOnNetChangeListener(OnNetChangeListener onNetChangeListener) { 15 | mOnNetChangeListener = onNetChangeListener; 16 | } 17 | 18 | @Override 19 | public void onReceive(Context context, Intent intent) { 20 | if (intent.getAction().equals(ConnectivityManager.CONNECTIVITY_ACTION)) { 21 | int netState = NetworkUtil.getNetworkState(context); 22 | if (mOnNetChangeListener != null) { 23 | mOnNetChangeListener.onNetChange(netState); 24 | } 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/OptionalTypeInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | /** 4 | * Created by SSC on 2018/4/13. 5 | */ 6 | 7 | public class OptionalTypeInfo { 8 | private String type; 9 | private double totalPrice; 10 | private double singlePrice; 11 | 12 | public OptionalTypeInfo(String type, double totalPrice, double singlePrice) { 13 | this.type = type; 14 | this.totalPrice = totalPrice; 15 | this.singlePrice = singlePrice; 16 | } 17 | 18 | public String getType() { 19 | return type; 20 | } 21 | 22 | public void setType(String type) { 23 | this.type = type; 24 | } 25 | 26 | public double getTotalPrice() { 27 | return totalPrice; 28 | } 29 | 30 | public void setTotalPrice(double totalPrice) { 31 | this.totalPrice = totalPrice; 32 | } 33 | 34 | public double getSinglePrice() { 35 | return singlePrice; 36 | } 37 | 38 | public void setSinglePrice(double singlePrice) { 39 | this.singlePrice = singlePrice; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_mine_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 9 | 10 | 21 | 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/grid_bank_cards_item_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 14 | 24 | -------------------------------------------------------------------------------- /logger/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 28 5 | 6 | 7 | 8 | defaultConfig { 9 | // applicationId "top.omooo.logger" 10 | minSdkVersion 23 11 | targetSdkVersion 28 12 | versionCode 1 13 | versionName "1.0" 14 | 15 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 16 | 17 | } 18 | 19 | buildTypes { 20 | release { 21 | minifyEnabled false 22 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 23 | } 24 | } 25 | 26 | } 27 | 28 | dependencies { 29 | implementation fileTree(dir: 'libs', include: ['*.jar']) 30 | 31 | implementation 'com.android.support:appcompat-v7:28.0.0' 32 | implementation 'com.android.support.constraint:constraint-layout:1.1.3' 33 | testImplementation 'junit:junit:4.12' 34 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 35 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 36 | } 37 | -------------------------------------------------------------------------------- /auto_track/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 28 5 | 6 | 7 | 8 | defaultConfig { 9 | // applicationId "top.omooo.auto_track" 10 | minSdkVersion 23 11 | targetSdkVersion 28 12 | versionCode 1 13 | versionName "1.0" 14 | 15 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 16 | 17 | } 18 | 19 | buildTypes { 20 | release { 21 | minifyEnabled false 22 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 23 | } 24 | } 25 | 26 | } 27 | 28 | dependencies { 29 | implementation fileTree(dir: 'libs', include: ['*.jar']) 30 | 31 | implementation 'com.android.support:appcompat-v7:28.0.0' 32 | implementation 'com.android.support.constraint:constraint-layout:1.1.3' 33 | testImplementation 'junit:junit:4.12' 34 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 35 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 36 | } 37 | -------------------------------------------------------------------------------- /app/src/main/res/layout/mall_pager_banner_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 16 | 17 | 18 | 24 | -------------------------------------------------------------------------------- /app/src/main/res/layout/home_pager_title.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 17 | 26 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_custom_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 16 | 26 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/utils/NetworkUtil.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.utils; 2 | 3 | import android.content.Context; 4 | import android.net.ConnectivityManager; 5 | import android.net.NetworkInfo; 6 | 7 | /** 8 | * 获取当前网络状态 9 | */ 10 | public class NetworkUtil { 11 | public static final int NET_WIFI = 1; 12 | public static final int NET_MOBILE = 0; 13 | public static final int NET_NONE = -1; 14 | public static int getNetworkState(Context context) { 15 | //得到连接管理器对象 16 | ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); 17 | assert connectivityManager != null; 18 | NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo(); 19 | //如果网络连接,判断该网络类型 20 | if (networkInfo != null && networkInfo.isConnected()) { 21 | if (networkInfo.getType() == ConnectivityManager.TYPE_WIFI) { 22 | return NET_WIFI; 23 | } else if (networkInfo.getType() == ConnectivityManager.TYPE_MOBILE) { 24 | return NET_MOBILE; 25 | } 26 | } 27 | return NET_NONE; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /router/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.library' 2 | 3 | android { 4 | compileSdkVersion 28 5 | 6 | 7 | 8 | defaultConfig { 9 | // applicationId "top.omooo.router" 10 | minSdkVersion 23 11 | targetSdkVersion 28 12 | versionCode 1 13 | versionName "1.0" 14 | 15 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 16 | 17 | } 18 | 19 | buildTypes { 20 | release { 21 | minifyEnabled false 22 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 23 | } 24 | } 25 | 26 | } 27 | 28 | dependencies { 29 | implementation fileTree(dir: 'libs', include: ['*.jar']) 30 | 31 | implementation 'com.android.support:appcompat-v7:28.0.0' 32 | implementation 'com.android.support.constraint:constraint-layout:1.1.3' 33 | testImplementation 'junit:junit:4.12' 34 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 35 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 36 | 37 | api project (":router_annotations") 38 | api project (":logger") 39 | } 40 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_select_card_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 11 | 19 | 22 | 23 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/adapter/NavigationViewPagerAdapter.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.adapter; 2 | 3 | import android.support.v4.app.Fragment; 4 | import android.support.v4.app.FragmentManager; 5 | import android.support.v4.app.FragmentPagerAdapter; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | 9 | import java.util.ArrayList; 10 | import java.util.List; 11 | 12 | /** 13 | * Created by Omooo on 2018/2/25. 14 | */ 15 | 16 | public class NavigationViewPagerAdapter extends FragmentPagerAdapter { 17 | 18 | private List mFragmentList = new ArrayList<>(); 19 | public NavigationViewPagerAdapter(FragmentManager fm) { 20 | super(fm); 21 | } 22 | 23 | @Override 24 | public Fragment getItem(int position) { 25 | return mFragmentList.get(position); 26 | } 27 | 28 | @Override 29 | public int getCount() { 30 | return mFragmentList.size(); 31 | } 32 | 33 | @Override 34 | public void destroyItem(ViewGroup container, int position, Object object) { 35 | //去掉回传函数解决滑动ViewPager重复加载布局 36 | } 37 | 38 | public void addFragment(Fragment fragment) { 39 | mFragmentList.add(fragment); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /logger/src/main/java/top/omooo/logger/StackTraceUtil.java: -------------------------------------------------------------------------------- 1 | package top.omooo.logger; 2 | 3 | /** 4 | * Created by Omooo 5 | * Date:2019/4/1 6 | * 栈帧工具类 7 | * 用于输出当前错误日志出错的类名以及行数 8 | */ 9 | public class StackTraceUtil { 10 | private static StackTraceElement getStackTraceElement() { 11 | StackTraceElement result = null; 12 | boolean shouldTrace = false; 13 | StackTraceElement[] elements = Thread.currentThread().getStackTrace(); 14 | for (StackTraceElement element : elements) { 15 | boolean isLogMethod = element.getClassName().equals(StackTraceUtil.class.getName()); 16 | if (shouldTrace && !isLogMethod) { 17 | result = element; 18 | break; 19 | } 20 | shouldTrace = isLogMethod; 21 | } 22 | return result; 23 | } 24 | 25 | public static String getStackTrace() { 26 | StackTraceElement element = getStackTraceElement(); 27 | if (element != null) { 28 | return element.getClassName() + "." + element.getMethodName() + " (" + element.getFileName() + ":" + element.getLineNumber() + ")"; 29 | } else { 30 | return null; 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_classify_common_item_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 17 | 26 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/adapter/DetailCardPageAdapter.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.adapter; 2 | 3 | import android.support.v4.app.Fragment; 4 | import android.support.v4.app.FragmentManager; 5 | import android.support.v4.app.FragmentPagerAdapter; 6 | 7 | import top.omooo.blackfish.fragment.BillFragment; 8 | import top.omooo.blackfish.fragment.PayHistoryFragment; 9 | 10 | /** 11 | * Created by SSC on 2018/3/29. 12 | */ 13 | 14 | public class DetailCardPageAdapter extends FragmentPagerAdapter { 15 | 16 | private String[] titles = new String[]{"账单", "还款记录"}; 17 | 18 | public DetailCardPageAdapter(FragmentManager fm) { 19 | super(fm); 20 | } 21 | 22 | @Override 23 | public CharSequence getPageTitle(int position) { 24 | return titles[position]; 25 | } 26 | 27 | @Override 28 | public Fragment getItem(int position) { 29 | if (position == 0) { 30 | return BillFragment.newInstance(); 31 | } else if (position == 1) { 32 | return PayHistoryFragment.newInstance(); 33 | } else { 34 | return null; 35 | } 36 | } 37 | 38 | @Override 39 | public int getCount() { 40 | return titles.length; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/BannerItemInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | /** 4 | * Created by SSC on 2018/3/2. 5 | */ 6 | 7 | /** 8 | * 首页轮播图(弃用) 9 | */ 10 | public class BannerItemInfo { 11 | private int imageBannerId; //轮播图 12 | private int imagePointId; //选中的点 13 | private int unImagePointId; //未选中的点 14 | 15 | public BannerItemInfo(int imageBannerId, int imagePointId,int unImagePointId) { 16 | this.imageBannerId = imageBannerId; 17 | this.imagePointId = imagePointId; 18 | this.unImagePointId = unImagePointId; 19 | } 20 | 21 | public int getImageBannerId() { 22 | return imageBannerId; 23 | } 24 | 25 | public void setImageBannerId(int imageBannerId) { 26 | this.imageBannerId = imageBannerId; 27 | } 28 | 29 | public int getImagePointId() { 30 | return imagePointId; 31 | } 32 | 33 | public void setImagePointId(int imagePointId) { 34 | this.imagePointId = imagePointId; 35 | } 36 | 37 | public int getUnImagePointId() { 38 | return unImagePointId; 39 | } 40 | 41 | public void setUnImagePointId(int unImagePointId) { 42 | this.unImagePointId = unImagePointId; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/HomeSortInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | /** 4 | * Created by SSC on 2018/3/3. 5 | */ 6 | 7 | import java.io.Serializable; 8 | import java.util.List; 9 | 10 | /** 11 | * 首页下拉三个商品分类信息 12 | */ 13 | public class HomeSortInfo implements Serializable{ 14 | private String title; //标题 15 | private String sortImageUrl; //分类图片Url 16 | private List mItemInfos; //分类商品信息 17 | 18 | public HomeSortInfo(String title, String sortImageUrl, List itemInfos) { 19 | this.title = title; 20 | this.sortImageUrl = sortImageUrl; 21 | mItemInfos = itemInfos; 22 | } 23 | 24 | public String getTitle() { 25 | return title; 26 | } 27 | 28 | public void setTitle(String title) { 29 | this.title = title; 30 | } 31 | 32 | public String getSortImageUrl() { 33 | return sortImageUrl; 34 | } 35 | 36 | public void setSortImageUrl(String sortImageUrl) { 37 | this.sortImageUrl = sortImageUrl; 38 | } 39 | 40 | public List getItemInfos() { 41 | return mItemInfos; 42 | } 43 | 44 | public void setItemInfos(List itemInfos) { 45 | mItemInfos = itemInfos; 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_remind_item_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 21 | 29 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # BlackFish 2 | 3 | 一款实用的商城类App,一图胜千言: 4 | 5 | http://www.z4a.net/images/2018/08/06/fish.gif 6 | 7 | 数据是我模拟的,类似:http://www.wanandroid.com/tools/mockapi/448/mall_goods 8 | 返回Json数据,解析一下就行了。 9 | 10 | 数据库是我的云服务器,连本地数据库改下IP就行。 11 | 接入了[短信验证登录](http://wiki.mob.com/sdk-sms-android-3-0-0/)和[支付宝支付](https://openhome.alipay.com/platform/appDaily.htm?tab=info) 12 | 13 | 一些简单的自定义View比如自定义Dialog、自定义Toast、自定义通用EditText等都是很好实现的,但是一些自定义View还需参考别人的实现: 14 | 15 | 验证码输入框参考自: 16 | https://github.com/jb274585381/VerifyCodeViewDemo 17 | 18 | RecyclerView做轮播图参考自: 19 | https://github.com/loonggg/RecyclerViewBanner 20 | 21 | 标签云:http://www.cnblogs.com/whoislcj/p/5720202.html 22 | 23 | 自定义Behavior:https://www.jianshu.com/p/82d18b0d18f4 24 | 25 | 我的原则是尽可能少使用开源库,但是一些必须的开源库还是要用的,比如网络请求。图片加载库等等。 26 | 27 | #### 其他 28 | 29 | 我很菜,项目写的很简单,现在也在摸索MVP Retrofit2+RxJava2,学好了优化重构项目。 30 | 31 | 差不多一周没写该项目了,就想这么多了。 32 | 33 | #### 感谢以下开源库: 34 | 35 | [Vlayout](https://github.com/alibaba/vlayout) 36 | 37 | [ButterKnife](https://github.com/JakeWharton/butterknife) 38 | 39 | [Okhttp](https://github.com/square/okhttp) 40 | 41 | [Fresco](https://github.com/facebook/fresco) 42 | 43 | [Lottie](https://github.com/airbnb/lottie-android) 44 | 45 | [MaterialDateTimePicker](https://github.com/wdullaer/MaterialDateTimePicker) 46 | 47 | [WheelView](https://github.com/CNCoderX/WheelView) 48 | -------------------------------------------------------------------------------- /app/src/main/res/layout/home_pager_bottom_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 16 | 23 | 31 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/utils/KeyBoardUtil.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.utils; 2 | 3 | import android.content.Context; 4 | import android.view.inputmethod.InputMethodManager; 5 | import android.widget.EditText; 6 | 7 | import java.util.Timer; 8 | import java.util.TimerTask; 9 | 10 | import static android.content.Context.INPUT_METHOD_SERVICE; 11 | 12 | /** 13 | * Created by SSC on 2018/3/27. 14 | */ 15 | 16 | public class KeyBoardUtil { 17 | 18 | public static void showKeyBoard(final EditText editText) { 19 | 20 | new Timer().schedule(new TimerTask() { 21 | @Override 22 | public void run() { 23 | editText.setFocusable(true); 24 | editText.setFocusableInTouchMode(true); 25 | editText.requestFocus(); 26 | InputMethodManager methodManager = (InputMethodManager) editText.getContext().getSystemService(INPUT_METHOD_SERVICE); 27 | methodManager.showSoftInput(editText, 0); 28 | } 29 | },500); 30 | } 31 | 32 | public static void closeKeyBoard(EditText editText) { 33 | editText.clearFocus(); 34 | InputMethodManager imm = (InputMethodManager)editText.getContext().getSystemService(Context.INPUT_METHOD_SERVICE); 35 | imm.hideSoftInputFromWindow(editText.getWindowToken(), 0); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/aliPay/PayResult.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.aliPay; 2 | 3 | import android.text.TextUtils; 4 | 5 | import java.util.Map; 6 | 7 | /** 8 | * Created by SSC on 2018/4/9. 9 | */ 10 | 11 | public class PayResult { 12 | private String resultStatus; 13 | private String result; 14 | private String memo; 15 | 16 | public PayResult(Map rawResult) { 17 | if (rawResult == null) { 18 | return; 19 | } 20 | for (String key : rawResult.keySet()) { 21 | if (TextUtils.equals(key, "resultStatus")) { 22 | resultStatus = rawResult.get(key); 23 | } else if (TextUtils.equals(key, "result")) { 24 | result = rawResult.get(key); 25 | } else if (TextUtils.equals(key, "memo")) { 26 | memo = rawResult.get(key); 27 | } 28 | } 29 | } 30 | 31 | @Override 32 | public String toString() { 33 | return "resultStatus={" + resultStatus + "};memo={" + memo 34 | + "};result={" + result + "}"; 35 | } 36 | 37 | public String getResultStatus() { 38 | return resultStatus; 39 | } 40 | 41 | public String getResult() { 42 | return result; 43 | } 44 | 45 | public String getMemo() { 46 | return memo; 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/view/CustomToast.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.view; 2 | 3 | import android.content.Context; 4 | import android.view.Gravity; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.widget.TextView; 8 | import android.widget.Toast; 9 | 10 | import top.omooo.blackfish.R; 11 | 12 | /** 13 | * Created by SSC on 2018/3/21. 14 | */ 15 | 16 | /** 17 | * 自定义Toast 18 | * 总结起来就是: 19 | * Toast.setView(view) 20 | */ 21 | public class CustomToast { 22 | 23 | private static Toast toast; 24 | 25 | public static void show(Context context,String msg) { 26 | show(context,msg, Toast.LENGTH_SHORT); 27 | } 28 | 29 | private static void show(Context context, String msg, int time) { 30 | View view = LayoutInflater.from(context).inflate(R.layout.view_custom_layout, null); 31 | TextView textView = view.findViewById(R.id.tv_custom_toast_text); 32 | textView.setText(msg); 33 | if (toast == null) { 34 | toast = new Toast(context); 35 | } 36 | toast.setGravity(Gravity.CENTER, 0, 0); 37 | toast.setDuration(time); 38 | toast.setView(view); 39 | toast.show(); 40 | } 41 | 42 | public static void cancelToast() { 43 | if (toast != null) { 44 | toast.cancel(); 45 | } 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/aliPay/SignUtils.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.aliPay; 2 | 3 | import java.security.KeyFactory; 4 | import java.security.PrivateKey; 5 | import java.security.spec.PKCS8EncodedKeySpec; 6 | 7 | public class SignUtils { 8 | 9 | private static final String ALGORITHM = "RSA"; 10 | 11 | private static final String SIGN_ALGORITHMS = "SHA1WithRSA"; 12 | 13 | private static final String SIGN_SHA256RSA_ALGORITHMS = "SHA256WithRSA"; 14 | 15 | private static final String DEFAULT_CHARSET = "UTF-8"; 16 | 17 | private static String getAlgorithms(boolean rsa2) { 18 | return rsa2 ? SIGN_SHA256RSA_ALGORITHMS : SIGN_ALGORITHMS; 19 | } 20 | 21 | public static String sign(String content, String privateKey, boolean rsa2) { 22 | try { 23 | PKCS8EncodedKeySpec priPKCS8 = new PKCS8EncodedKeySpec( 24 | Base64.decode(privateKey)); 25 | KeyFactory keyf = KeyFactory.getInstance(ALGORITHM); 26 | PrivateKey priKey = keyf.generatePrivate(priPKCS8); 27 | 28 | java.security.Signature signature = java.security.Signature 29 | .getInstance(getAlgorithms(rsa2)); 30 | 31 | signature.initSign(priKey); 32 | signature.update(content.getBytes(DEFAULT_CHARSET)); 33 | 34 | byte[] signed = signature.sign(); 35 | 36 | return Base64.encode(signed); 37 | } catch (Exception e) { 38 | e.printStackTrace(); 39 | } 40 | 41 | return null; 42 | } 43 | 44 | } 45 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/utils/DensityUtil.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.utils; 2 | 3 | import android.app.Activity; 4 | import android.content.Context; 5 | import android.content.res.Resources; 6 | import android.graphics.Point; 7 | import android.view.Display; 8 | 9 | /** 10 | * Created by SSC on 2018/3/23. 11 | */ 12 | 13 | public class DensityUtil { 14 | /** 15 | * dp 转 int 16 | * @param context 17 | * @param dpValue 18 | * @return 19 | */ 20 | public static int dip2px(Context context,float dpValue) { 21 | final float scale = context.getResources().getDisplayMetrics().density; 22 | return (int) (dpValue * scale + 0.5f); 23 | } 24 | //获取屏幕的宽 返回 int 型 25 | public static int getScreenWidth(Activity context){ 26 | Display display = context.getWindowManager().getDefaultDisplay(); 27 | Point p = new Point(); 28 | display.getSize(p); 29 | return p.x; 30 | } 31 | /** 32 | * dp转px 33 | * @param dp 34 | */ 35 | public static int dp2px(float dp){ 36 | return (int) (dp * Resources.getSystem().getDisplayMetrics().density + 0.5f); 37 | } 38 | 39 | /** 40 | * sp转px 41 | * @param sp 42 | * @return 43 | */ 44 | public static int sp2px(float sp){ 45 | return (int) (sp * Resources.getSystem().getDisplayMetrics().scaledDensity + 0.5f); 46 | } 47 | } 48 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_bottom_dialog_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 18 | 26 | 34 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_webview_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 9 | 16 | 24 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/utils/SharePerUtil.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.utils; 2 | 3 | import android.content.Context; 4 | import android.content.SharedPreferences; 5 | 6 | /** 7 | * Created by SSC on 2018/5/10. 8 | */ 9 | 10 | public class SharePerUtil { 11 | private SharedPreferences mPreferences; 12 | private SharedPreferences.Editor mEditor; 13 | 14 | public SharePerUtil(Context context) { 15 | init(context); 16 | } 17 | 18 | private void init(Context context) { 19 | mPreferences = context.getSharedPreferences("sp", Context.MODE_PRIVATE); 20 | mEditor = mPreferences.edit(); 21 | } 22 | 23 | public void saveString(String key, String value) { 24 | mEditor.putString(key, value).commit(); 25 | } 26 | 27 | public String getString(String key) { 28 | return mPreferences.getString(key, null); 29 | } 30 | 31 | public void saveBoolean(String key,boolean value) { 32 | mEditor.putBoolean(key, value).commit(); 33 | } 34 | 35 | public boolean getBoolean(String key) { 36 | return mPreferences.getBoolean(key,false); 37 | } 38 | 39 | public void saveInt(String key, int value) { 40 | mEditor.putInt(key, value).commit(); 41 | } 42 | 43 | public int getInt(String key) { 44 | return mPreferences.getInt(key, 0); 45 | } 46 | 47 | public void deleteValue(String key) { 48 | mEditor.remove(key).commit(); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/MallHotClassifyGridInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | /** 4 | * Created by SSC on 2018/4/8. 5 | */ 6 | 7 | public class MallHotClassifyGridInfo { 8 | private String headerImageUrl; 9 | private String goodsDesc; 10 | private String goodsPeriods; 11 | private String goodsPrice; 12 | 13 | public MallHotClassifyGridInfo(String headerImageUrl, String goodsDesc, String goodsPeriods, String goodsPrice) { 14 | this.headerImageUrl = headerImageUrl; 15 | this.goodsDesc = goodsDesc; 16 | this.goodsPeriods = goodsPeriods; 17 | this.goodsPrice = goodsPrice; 18 | } 19 | 20 | public String getHeaderImageUrl() { 21 | return headerImageUrl; 22 | } 23 | 24 | public void setHeaderImageUrl(String headerImageUrl) { 25 | this.headerImageUrl = headerImageUrl; 26 | } 27 | 28 | public String getGoodsDesc() { 29 | return goodsDesc; 30 | } 31 | 32 | public void setGoodsDesc(String goodsDesc) { 33 | this.goodsDesc = goodsDesc; 34 | } 35 | 36 | public String getGoodsPeriods() { 37 | return goodsPeriods; 38 | } 39 | 40 | public void setGoodsPeriods(String goodsPeriods) { 41 | this.goodsPeriods = goodsPeriods; 42 | } 43 | 44 | public String getGoodsPrice() { 45 | return goodsPrice; 46 | } 47 | 48 | public void setGoodsPrice(String goodsPrice) { 49 | this.goodsPrice = goodsPrice; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /app/src/main/res/values/atts.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /app/src/main/res/xml/keyboard_only_number.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 12 | 15 | 18 | 19 | 20 | 21 | 24 | 27 | 30 | 31 | 32 | 33 | 36 | 39 | 42 | 43 | 44 | 45 | 48 | 51 | 53 | 54 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/utils/CountDownUtil.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.utils; 2 | 3 | import android.graphics.Color; 4 | import android.os.CountDownTimer; 5 | import android.text.Spannable; 6 | import android.text.SpannableString; 7 | import android.text.style.ForegroundColorSpan; 8 | import android.widget.TextView; 9 | 10 | /** 11 | * Created by SSC on 2018/3/19. 12 | */ 13 | 14 | /** 15 | * View 倒计时 16 | */ 17 | public class CountDownUtil extends CountDownTimer { 18 | 19 | private TextView mTextView; 20 | 21 | public CountDownUtil(long millisInFuture, long countDownInterval, TextView textView) { 22 | super(millisInFuture, countDownInterval); 23 | mTextView = textView; 24 | } 25 | 26 | //倒计时期间被调用 27 | @Override 28 | public void onTick(long millisUntilFinished) { 29 | mTextView.setClickable(false); 30 | mTextView.setText(millisUntilFinished / 1000 + " s后可重新获取"); 31 | SpannableString spannableString = new SpannableString(mTextView.getText().toString()); 32 | ForegroundColorSpan span = new ForegroundColorSpan(Color.parseColor("#FF6666")); 33 | spannableString.setSpan(span, 0, 2, Spannable.SPAN_INCLUSIVE_EXCLUSIVE); 34 | mTextView.setText(spannableString); 35 | } 36 | 37 | //倒计时完成之后调用 38 | @Override 39 | public void onFinish() { 40 | mTextView.setText("点击重新获取验证码"); 41 | mTextView.setClickable(true); 42 | mTextView.setTextColor(Color.parseColor("#66CCFF")); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/TestActivity.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish; 2 | 3 | import android.content.Context; 4 | import android.graphics.Color; 5 | import android.view.ViewGroup; 6 | import android.widget.TextView; 7 | 8 | import butterknife.BindView; 9 | import top.omooo.blackfish.view.TagsLayout; 10 | 11 | /** 12 | * Created by SSC on 2018/3/26. 13 | */ 14 | 15 | public class TestActivity extends NewBaseActivity { 16 | 17 | private static final String TAG = "TestActivity"; 18 | @BindView(R.id.tags_layout) 19 | TagsLayout mTagsLayout; 20 | 21 | private Context mContext; 22 | 23 | @Override 24 | public int getLayoutId() { 25 | 26 | return R.layout.test_2; 27 | } 28 | 29 | @Override 30 | public void initViews() { 31 | mContext = TestActivity.this; 32 | 33 | ViewGroup.MarginLayoutParams lp = new ViewGroup.MarginLayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT); 34 | String[] string={"从我写代码那天起,我就没有打算写代码","从我写代码那天起","我就没有打算写代码","没打算","写代码"}; 35 | for (int i = 0; i < string.length; i++) { 36 | TextView textView = new TextView(this); 37 | textView.setText(string[i]); 38 | textView.setTextColor(Color.WHITE); 39 | textView.setBackgroundColor(getResources().getColor(R.color.colorQQEmailText)); 40 | mTagsLayout.addView(textView, lp); 41 | } 42 | } 43 | 44 | @Override 45 | protected void initData() { 46 | 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_amount_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 17 | 29 | 37 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 26 | 27 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/utils/BottomNavigationViewHelper.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.utils; 2 | 3 | import android.annotation.SuppressLint; 4 | import android.support.design.internal.BottomNavigationItemView; 5 | import android.support.design.internal.BottomNavigationMenuView; 6 | import android.support.design.widget.BottomNavigationView; 7 | 8 | import java.lang.reflect.Field; 9 | 10 | /** 11 | * Created by Omooo on 2018/2/25. 12 | */ 13 | 14 | /** 15 | * 解决BottomNavigation当Item大于3时和ViewPager的切换问题 16 | * 参考自:https://www.jianshu.com/p/0ba25cc65889 17 | */ 18 | public class BottomNavigationViewHelper { 19 | 20 | @SuppressLint("RestrictedApi") 21 | public static void disableShiftMode(BottomNavigationView navigationView) { 22 | BottomNavigationMenuView menuView = (BottomNavigationMenuView) navigationView.getChildAt(0); 23 | try { 24 | Field shiftingMode = menuView.getClass().getDeclaredField("mShiftingMode"); 25 | shiftingMode.setAccessible(true); 26 | shiftingMode.setBoolean(menuView, false); 27 | shiftingMode.setAccessible(false); 28 | for (int i = 0; i < menuView.getChildCount(); i++) { 29 | BottomNavigationItemView itemView = (BottomNavigationItemView) menuView.getChildAt(i); 30 | itemView.setShiftingMode(false); 31 | itemView.setChecked(itemView.getItemData().isChecked()); 32 | } 33 | } catch (NoSuchFieldException | IllegalAccessException e) { 34 | e.printStackTrace(); 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/fragment/FinancialFragment.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.fragment; 2 | 3 | import android.content.Context; 4 | import android.view.KeyEvent; 5 | import android.view.View; 6 | import android.webkit.WebView; 7 | 8 | import butterknife.BindView; 9 | import top.omooo.blackfish.R; 10 | import top.omooo.blackfish.utils.WebSettingsUtil; 11 | 12 | /** 13 | * Created by Omooo on 2018/2/25. 14 | */ 15 | 16 | public class FinancialFragment extends NewBaseFragment { 17 | 18 | @BindView(R.id.webview) 19 | WebView mWebview; 20 | private Context mContext; 21 | 22 | public static FinancialFragment newInstance() { 23 | return new FinancialFragment(); 24 | } 25 | 26 | @Override 27 | public int getLayoutId() { 28 | return R.layout.fragment_financial_layout; 29 | } 30 | 31 | @Override 32 | public void initView() { 33 | mContext = getActivity(); 34 | WebSettingsUtil.setSettings(mWebview); 35 | // TODO: 2018/4/12 无法加载该网页 36 | mWebview.loadUrl("http://omooo.top/"); 37 | 38 | mWebview.setOnKeyListener(new View.OnKeyListener() { 39 | @Override 40 | public boolean onKey(View v, int keyCode, KeyEvent event) { 41 | if (keyCode == KeyEvent.KEYCODE_BACK&&mWebview.canGoBack()) { 42 | mWebview.goBack(); 43 | return true; 44 | } 45 | return false; 46 | } 47 | }); 48 | } 49 | 50 | @Override 51 | public void initData() { 52 | 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_custom_picker_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 18 | 29 | 36 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/MallGoodsItemInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | /** 4 | * Created by SSC on 2018/4/7. 5 | */ 6 | 7 | public class MallGoodsItemInfo { 8 | private String imageUrl; //图片地址 9 | private String desc; //描述信息 10 | private double singlePrice; //分期单价 11 | private int periods; //期数 12 | private double price; //总价 13 | 14 | public MallGoodsItemInfo(String imageUrl, String desc, double singlePrice, int periods, double price) { 15 | this.imageUrl = imageUrl; 16 | this.desc = desc; 17 | this.singlePrice = singlePrice; 18 | this.periods = periods; 19 | this.price = price; 20 | } 21 | 22 | public String getImageUrl() { 23 | return imageUrl; 24 | } 25 | 26 | public void setImageUrl(String imageUrl) { 27 | this.imageUrl = imageUrl; 28 | } 29 | 30 | public String getDesc() { 31 | return desc; 32 | } 33 | 34 | public void setDesc(String desc) { 35 | this.desc = desc; 36 | } 37 | 38 | public double getSinglePrice() { 39 | return singlePrice; 40 | } 41 | 42 | public void setSinglePrice(double singlePrice) { 43 | this.singlePrice = singlePrice; 44 | } 45 | 46 | public int getPeriods() { 47 | return periods; 48 | } 49 | 50 | public void setPeriods(int periods) { 51 | this.periods = periods; 52 | } 53 | 54 | public double getPrice() { 55 | return price; 56 | } 57 | 58 | public void setPrice(double price) { 59 | this.price = price; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/SimilarRecoInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | /** 4 | * Created by SSC on 2018/4/13. 5 | */ 6 | 7 | public class SimilarRecoInfo { 8 | private String imageUrl; 9 | private String desc; 10 | private double totalPrice; 11 | private double singlePrice; 12 | private int periods; 13 | 14 | public SimilarRecoInfo(String imageUrl, String desc, double totalPrice, double singlePrice, int periods) { 15 | this.imageUrl = imageUrl; 16 | this.desc = desc; 17 | this.totalPrice = totalPrice; 18 | this.singlePrice = singlePrice; 19 | this.periods = periods; 20 | } 21 | 22 | public String getImageUrl() { 23 | return imageUrl; 24 | } 25 | 26 | public void setImageUrl(String imageUrl) { 27 | this.imageUrl = imageUrl; 28 | } 29 | 30 | public String getDesc() { 31 | return desc; 32 | } 33 | 34 | public void setDesc(String desc) { 35 | this.desc = desc; 36 | } 37 | 38 | public double getTotalPrice() { 39 | return totalPrice; 40 | } 41 | 42 | public void setTotalPrice(double totalPrice) { 43 | this.totalPrice = totalPrice; 44 | } 45 | 46 | public double getSinglePrice() { 47 | return singlePrice; 48 | } 49 | 50 | public void setSinglePrice(double singlePrice) { 51 | this.singlePrice = singlePrice; 52 | } 53 | 54 | public int getPeriods() { 55 | return periods; 56 | } 57 | 58 | public void setPeriods(int periods) { 59 | this.periods = periods; 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_remind_bottom_dialog_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 17 | 24 | 25 | 26 | 38 | -------------------------------------------------------------------------------- /app/src/main/res/values/array.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 测试 5 | 测试 6 | 测试 7 | 测试 8 | 测试 9 | 测试 10 | 测试 11 | 12 | 13 | 提前 1 天 14 | 提前 2 天 15 | 提前 3 天 16 | 提前 4 天 17 | 提前 5 天 18 | 提前 6 天 19 | 提前 7 天 20 | 21 | 22 | 信用卡 23 | 24 | 25 | 1 日 26 | 2 日 27 | 3 日 28 | 4 日 29 | 5 日 30 | 6 日 31 | 7 日 32 | 8 日 33 | 9 日 34 | 10 日 35 | 11 日 36 | 12 日 37 | 13 日 38 | 14 日 39 | 15 日 40 | 16 日 41 | 17 日 42 | 18 日 43 | 19 日 44 | 20 日 45 | 21 日 46 | 22 日 47 | 23 日 48 | 24 日 49 | 25 日 50 | 26 日 51 | 27 日 52 | 28 日 53 | 54 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/adapter/HomeBannerAdapter.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.adapter; 2 | 3 | import android.content.Context; 4 | import android.support.v7.widget.RecyclerView; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | 9 | import com.facebook.drawee.view.SimpleDraweeView; 10 | 11 | import top.omooo.blackfish.R; 12 | 13 | /** 14 | * Created by SSC on 2018/3/16. 15 | */ 16 | 17 | public class HomeBannerAdapter extends RecyclerView.Adapter { 18 | 19 | private Context mContext; 20 | private String[] imageUrl = new String[4]; 21 | 22 | public HomeBannerAdapter(Context context, String[] imageUrl) { 23 | mContext = context; 24 | this.imageUrl = imageUrl; 25 | } 26 | 27 | @Override 28 | public BannerViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 29 | View view = LayoutInflater.from(mContext).inflate(R.layout.home_pager_banner_item, parent, false); 30 | return new BannerViewHolder(view); 31 | } 32 | 33 | @Override 34 | public void onBindViewHolder(BannerViewHolder holder, int position) { 35 | holder.mBannerView.setImageURI(imageUrl[position]); 36 | } 37 | 38 | @Override 39 | public int getItemCount() { 40 | return imageUrl.length; 41 | } 42 | 43 | class BannerViewHolder extends RecyclerView.ViewHolder { 44 | public SimpleDraweeView mBannerView; 45 | public BannerViewHolder(View itemView) { 46 | super(itemView); 47 | mBannerView = itemView.findViewById(R.id.iv_home_banner); 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/view/CodeEditText.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.view; 2 | 3 | import android.content.Context; 4 | import android.support.v7.widget.AppCompatEditText; 5 | import android.util.AttributeSet; 6 | import android.view.MotionEvent; 7 | 8 | /** 9 | * Created by SSC on 2018/3/19. 10 | */ 11 | 12 | /** 13 | * 验证码控件,自定义EditText 14 | * 以去掉传统EditText长按或者双击会选中EditText的内容 15 | * 和去掉光标位置会随点击而改变 16 | */ 17 | public class CodeEditText extends AppCompatEditText { 18 | 19 | private long lastTime = 0; 20 | 21 | public CodeEditText(Context context) { 22 | super(context); 23 | } 24 | 25 | public CodeEditText(Context context, AttributeSet attrs) { 26 | super(context, attrs); 27 | } 28 | 29 | public CodeEditText(Context context, AttributeSet attrs, int defStyleAttr) { 30 | super(context, attrs, defStyleAttr); 31 | } 32 | 33 | @Override 34 | protected void onSelectionChanged(int selStart, int selEnd) { 35 | super.onSelectionChanged(selStart, selEnd); 36 | this.setSelection(this.getText().length()); 37 | } 38 | 39 | @Override 40 | public boolean onTouchEvent(MotionEvent event) { 41 | switch (event.getAction()) { 42 | case MotionEvent.ACTION_DOWN: 43 | long currentTime = System.currentTimeMillis(); 44 | if (currentTime - lastTime < 500) { 45 | lastTime = currentTime; 46 | return true; 47 | } else { 48 | lastTime = currentTime; 49 | } 50 | break; 51 | } 52 | return super.onTouchEvent(event); 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /app/src/main/res/layout/goods_details_similar_reco.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 15 | 27 | 33 | 40 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/utils/SqlOpenHelperUtil.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.utils; 2 | 3 | import java.sql.Connection; 4 | import java.sql.DriverManager; 5 | import java.sql.ResultSet; 6 | import java.sql.SQLException; 7 | import java.sql.Statement; 8 | 9 | /** 10 | * Created by SSC on 2018/3/20. 11 | */ 12 | 13 | public class SqlOpenHelperUtil { 14 | 15 | private static final String url = "jdbc:mysql://101.132.40.184:3306/bfdatabase"; 16 | public Connection connDB() { 17 | Connection connection; 18 | try { 19 | Class.forName("com.mysql.jdbc.Driver"); 20 | try { 21 | connection = DriverManager.getConnection(url, "root", "sspu"); 22 | return connection; 23 | } catch (SQLException e) { 24 | e.printStackTrace(); 25 | } 26 | } catch (ClassNotFoundException e) { 27 | e.printStackTrace(); 28 | } 29 | return null; 30 | } 31 | 32 | public ResultSet executeSql(Connection conn, String sql) { 33 | if (conn != null) { 34 | try { 35 | Statement statement = conn.createStatement(); 36 | 37 | return statement.executeQuery(sql); 38 | } catch (SQLException e) { 39 | e.printStackTrace(); 40 | } 41 | } 42 | return null; 43 | } 44 | 45 | public boolean updateDB(Connection conn, String sql) { 46 | if (conn != null) { 47 | try { 48 | Statement statement = conn.createStatement(); 49 | statement.executeUpdate(sql); 50 | return true; 51 | } catch (SQLException e) { 52 | e.printStackTrace(); 53 | } 54 | } 55 | return false; 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /app/src/main/res/layout/mall_pager_hot_classify_grid_item_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 16 | 28 | 34 | 41 | -------------------------------------------------------------------------------- /.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 15 | 16 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_web_view_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 12 | 13 | 22 | 23 | 31 | 32 | 41 | 42 | 43 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /app/src/main/java/top/omooo/blackfish/bean/RecommendGoodsInfo.java: -------------------------------------------------------------------------------- 1 | package top.omooo.blackfish.bean; 2 | 3 | /** 4 | * Created by SSC on 2018/4/11. 5 | */ 6 | 7 | public class RecommendGoodsInfo { 8 | private String imageUrl; 9 | private String desc; 10 | private double singlePrice; 11 | private int periods; 12 | private double totalPrice; 13 | private String evaluation; 14 | 15 | public RecommendGoodsInfo(String imageUrl, String desc, double singlePrice, int periods, double totalPrice, String evaluation) { 16 | this.imageUrl = imageUrl; 17 | this.desc = desc; 18 | this.singlePrice = singlePrice; 19 | this.periods = periods; 20 | this.totalPrice = totalPrice; 21 | this.evaluation = evaluation; 22 | } 23 | 24 | public String getImageUrl() { 25 | return imageUrl; 26 | } 27 | 28 | public void setImageUrl(String imageUrl) { 29 | this.imageUrl = imageUrl; 30 | } 31 | 32 | public String getDesc() { 33 | return desc; 34 | } 35 | 36 | public void setDesc(String desc) { 37 | this.desc = desc; 38 | } 39 | 40 | public double getSinglePrice() { 41 | return singlePrice; 42 | } 43 | 44 | public void setSinglePrice(double singlePrice) { 45 | this.singlePrice = singlePrice; 46 | } 47 | 48 | public int getPeriods() { 49 | return periods; 50 | } 51 | 52 | public void setPeriods(int periods) { 53 | this.periods = periods; 54 | } 55 | 56 | public double getTotalPrice() { 57 | return totalPrice; 58 | } 59 | 60 | public void setTotalPrice(double totalPrice) { 61 | this.totalPrice = totalPrice; 62 | } 63 | 64 | public String getEvaluation() { 65 | return evaluation; 66 | } 67 | 68 | public void setEvaluation(String evaluation) { 69 | this.evaluation = evaluation; 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /app/src/main/res/layout/view_picker_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 16 | 26 | 32 | 33 | 34 | 40 | 45 | -------------------------------------------------------------------------------- /app/src/main/res/layout/mine_pager_header_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 15 | 24 | 33 | 42 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_mine_setting_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 13 | 21 | 24 | 25 | 26 | 31 | 32 | 36 | 37 | 41 | 42 | 52 | --------------------------------------------------------------------------------