├── app
├── .gitignore
├── release
│ ├── app-release.apk
│ └── output.json
├── src
│ ├── main
│ │ ├── assets
│ │ │ └── fonts
│ │ │ │ └── dnmbhs.ttf
│ │ ├── res
│ │ │ ├── drawable-hdpi
│ │ │ │ ├── cheetah.png
│ │ │ │ ├── icon_close.png
│ │ │ │ ├── collect_icon.png
│ │ │ │ ├── img_no_avatar.png
│ │ │ │ ├── pic_shoucang1.png
│ │ │ │ ├── pic_shoucang2.png
│ │ │ │ ├── pic_shoucang3.png
│ │ │ │ ├── pic_shoucang4.png
│ │ │ │ ├── pic_shoucang5.png
│ │ │ │ ├── icon_shouchang.png
│ │ │ │ ├── superscript_new.png
│ │ │ │ ├── white_back_icon.png
│ │ │ │ ├── item_get_code_icon.png
│ │ │ │ ├── lantian_reward_icon.jpg
│ │ │ │ ├── xingqiu_qrcode_icon.jpg
│ │ │ │ └── superscript_collection.png
│ │ │ ├── drawable-xhdpi
│ │ │ │ ├── to_down.png
│ │ │ │ ├── icon_mode.png
│ │ │ │ ├── gougou_icon.png
│ │ │ │ ├── item_reward_icon.png
│ │ │ │ ├── item_check_update_icon.png
│ │ │ │ └── item_business_cooperation_icon.png
│ │ │ ├── drawable-xxhdpi
│ │ │ │ ├── jt_up.png
│ │ │ │ ├── jt_known.png
│ │ │ │ ├── info_text.png
│ │ │ │ ├── white_back_icon.png
│ │ │ │ └── scan_icon_scanline.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── app_icon.png
│ │ │ │ ├── ic_launcher.png
│ │ │ │ ├── app_oklib_icon.png
│ │ │ │ ├── ic_launcher_round.png
│ │ │ │ ├── oklib_rv_refresh_component_no_data_icon.png
│ │ │ │ └── oklib_rv_refresh_component_no_net_icon.png
│ │ │ ├── drawable
│ │ │ │ ├── gif_robot_walk.gif
│ │ │ │ ├── bg_scrollbar.xml
│ │ │ │ ├── drawable_gray_line.xml
│ │ │ │ ├── drawable_blue_side_line.xml
│ │ │ │ ├── drawable_gray_right_angle_line.xml
│ │ │ │ ├── oklib_selector_gray_white_bg.xml
│ │ │ │ ├── drawable_dialog_bg.xml
│ │ │ │ ├── side_nav_bar.xml
│ │ │ │ ├── shape_spannable_block_high.xml
│ │ │ │ ├── shape_spannable_block_low.xml
│ │ │ │ ├── round_white_alpha.xml
│ │ │ │ ├── round_blood_pressure.xml
│ │ │ │ └── selector_btn_orange.xml
│ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ │ ├── 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
│ │ │ ├── layout
│ │ │ │ ├── activity_fragmenttest.xml
│ │ │ │ ├── fragment_rv_main.xml
│ │ │ │ ├── fragment_tablayout.xml
│ │ │ │ ├── activity_toolbar.xml
│ │ │ │ ├── fragment_vp_hss_page.xml
│ │ │ │ ├── activity_clockview.xml
│ │ │ │ ├── activity_permission.xml
│ │ │ │ ├── activity_refresh.xml
│ │ │ │ ├── activity_collect.xml
│ │ │ │ ├── activity_detail.xml
│ │ │ │ ├── info_up.xml
│ │ │ │ ├── activity_vp_horizontal_sliding_scale.xml
│ │ │ │ ├── info_gravity_right_up.xml
│ │ │ │ ├── activity_glide_imageview_list.xml
│ │ │ │ ├── fragment_test.xml
│ │ │ │ ├── dialog_more.xml
│ │ │ │ ├── info_gravity_left_down.xml
│ │ │ │ └── activity_temp_control_view.xml
│ │ │ ├── values-v21
│ │ │ │ └── styles.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── ic_launcher.xml
│ │ │ │ └── ic_launcher_round.xml
│ │ │ ├── drawable-v21
│ │ │ │ ├── ic_menu_send.xml
│ │ │ │ ├── ic_menu_slideshow.xml
│ │ │ │ ├── ic_menu_gallery.xml
│ │ │ │ ├── ic_menu_manage.xml
│ │ │ │ ├── ic_menu_camera.xml
│ │ │ │ └── ic_menu_share.xml
│ │ │ ├── menu
│ │ │ │ ├── main.xml
│ │ │ │ └── activity_main_drawer.xml
│ │ │ ├── values
│ │ │ │ ├── dimens.xml
│ │ │ │ └── drawables.xml
│ │ │ └── xml
│ │ │ │ └── provider_paths.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── oklib
│ │ │ ├── view_lib
│ │ │ ├── drag_item
│ │ │ │ ├── SyncCallback.java
│ │ │ │ ├── IRecipeFavorView.java
│ │ │ │ └── IRecipeFavorPresenter.java
│ │ │ ├── ClockViewActivity.java
│ │ │ ├── LabelViewActivity.java
│ │ │ ├── DragLayoutActivity.java
│ │ │ ├── MiClockViewActivity.java
│ │ │ ├── TextViewMarqueeActivity.java
│ │ │ ├── AVLoadingIndicatorViewActivity.java
│ │ │ ├── RubblerViewActivity.java
│ │ │ ├── vp_hss
│ │ │ │ └── PageFragment.java
│ │ │ ├── tablayout
│ │ │ │ └── TabLayoutFragment.java
│ │ │ └── pickerview
│ │ │ │ └── bean
│ │ │ │ └── CardBean.java
│ │ │ └── mix_lib
│ │ │ └── http
│ │ │ ├── HttpEntry.java
│ │ │ └── UrlConfig.java
│ └── test
│ │ └── java
│ │ └── com
│ │ └── example
│ │ └── huangweicai
│ │ └── oklib
│ │ └── ExampleUnitTest.java
└── proguard-rules.pro
├── camera
├── .gitignore
├── src
│ ├── main
│ │ ├── res
│ │ │ ├── drawable-xxhdpi
│ │ │ │ ├── oklib_asy.png
│ │ │ │ ├── oklib_default_check.png
│ │ │ │ ├── oklib_default_error.png
│ │ │ │ └── oklib_text_indicator.png
│ │ │ ├── drawable-xhdpi
│ │ │ │ ├── oklib_btn_back.png
│ │ │ │ ├── oklib_btn_selected.png
│ │ │ │ └── oklib_btn_unselected.png
│ │ │ ├── xml
│ │ │ │ └── file_paths.xml
│ │ │ ├── color
│ │ │ │ ├── oklib_default_text_color.xml
│ │ │ │ └── oklib_folder_text_color.xml
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ └── dimens.xml
│ │ │ └── layout
│ │ │ │ ├── oklib_activity_default.xml
│ │ │ │ └── oklib_list_item_camera.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── oklib
│ │ │ └── camera
│ │ │ ├── CameraEntry.java
│ │ │ ├── bean
│ │ │ ├── Folder.java
│ │ │ └── Image.java
│ │ │ └── view
│ │ │ ├── SquaredImageView.java
│ │ │ └── SquareFrameLayout.java
│ └── test
│ │ └── java
│ │ └── com
│ │ └── oklib
│ │ └── camera
│ │ └── ExampleUnitTest.java
└── proguard-rules.pro
├── http
├── .gitignore
├── src
│ ├── main
│ │ ├── res
│ │ │ └── values
│ │ │ │ └── strings.xml
│ │ ├── AndroidManifest.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── oklib
│ │ │ └── http
│ │ │ ├── adapter
│ │ │ ├── CallAdapter.java
│ │ │ ├── DefaultCallAdapter.java
│ │ │ └── Call.java
│ │ │ ├── cache
│ │ │ └── CacheMode.java
│ │ │ ├── convert
│ │ │ ├── Converter.java
│ │ │ ├── StringConvert.java
│ │ │ └── BitmapConvert.java
│ │ │ ├── z_help
│ │ │ ├── HttpEntry.java
│ │ │ └── UrlConfig.java
│ │ │ ├── callback
│ │ │ ├── AbsCallbackWrapper.java
│ │ │ ├── StringCallback.java
│ │ │ └── BitmapCallback.java
│ │ │ ├── exception
│ │ │ └── OklibHttpException.java
│ │ │ ├── cookie
│ │ │ └── store
│ │ │ │ └── CookieStore.java
│ │ │ └── request
│ │ │ ├── HeadRequest.java
│ │ │ └── GetRequest.java
│ ├── test
│ │ └── java
│ │ │ └── com
│ │ │ └── oklib
│ │ │ └── http
│ │ │ └── ExampleUnitTest.java
│ └── androidTest
│ │ └── java
│ │ └── com
│ │ └── oklib
│ │ └── http
│ │ └── ExampleInstrumentedTest.java
└── proguard-rules.pro
├── util
├── .gitignore
├── src
│ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── res
│ │ │ ├── drawable
│ │ │ │ └── oklib_toast_frame.9.png
│ │ │ ├── values
│ │ │ │ └── strings.xml
│ │ │ └── drawable-xhdpi
│ │ │ │ ├── oklib_ic_check_white_48dp.png
│ │ │ │ ├── oklib_ic_clear_white_48dp.png
│ │ │ │ ├── oklib_ic_error_outline_white_48dp.png
│ │ │ │ └── oklib_ic_info_outline_white_48dp.png
│ │ └── java
│ │ │ └── com
│ │ │ └── oklib
│ │ │ └── util
│ │ │ ├── UtilEntry.java
│ │ │ ├── active_permission
│ │ │ ├── AllowPermissions.java
│ │ │ ├── PermissionFail.java
│ │ │ └── PermissionSuccess.java
│ │ │ └── ErrorMessageUtil.java
│ ├── test
│ │ └── java
│ │ │ └── com
│ │ │ └── oklib
│ │ │ └── util
│ │ │ └── ExampleUnitTest.java
│ └── androidTest
│ │ └── java
│ │ └── com
│ │ └── oklib
│ │ └── util
│ │ └── ExampleInstrumentedTest.java
└── proguard-rules.pro
├── view
├── .gitignore
├── src
│ ├── main
│ │ ├── res
│ │ │ ├── drawable
│ │ │ │ ├── up.png
│ │ │ │ ├── close.png
│ │ │ │ ├── empty.png
│ │ │ │ ├── filled.png
│ │ │ │ ├── resize.png
│ │ │ │ ├── oklib_keyboard_backspace.png
│ │ │ │ ├── oklib_null_drawable.xml
│ │ │ │ ├── rounded_frame.xml
│ │ │ │ ├── oklib_letters_nav_dialog.xml
│ │ │ │ ├── oklib_letters_nav_side_bar_bg.xml
│ │ │ │ ├── rounded_button_dark.xml
│ │ │ │ ├── rounded_button_light.xml
│ │ │ │ ├── oklib_addressbook_letters_nav_side_bar_bg.xml
│ │ │ │ ├── oklib_addressbook_letters_nav_dialog.xml
│ │ │ │ ├── oklib_selector_gray_white_bg.xml
│ │ │ │ ├── oklib_addressbook_selector_gray_white_bg.xml
│ │ │ │ ├── oklib_selector_pickerview_btn.xml
│ │ │ │ ├── oklib_background_option_button.xml
│ │ │ │ ├── oklib_shape_circle_blue.xml
│ │ │ │ ├── oklib_shape_circle_red.xml
│ │ │ │ ├── oklib_shape_circle_purple.xml
│ │ │ │ ├── oklib_shape_circle_yellow.xml
│ │ │ │ ├── oklib_option_button_shape.xml
│ │ │ │ ├── oklib_option_button_shape_press.xml
│ │ │ │ ├── oklib_addressbook_search_search_shape_common_white_bg.xml
│ │ │ │ └── oklib_a_template.xml
│ │ │ ├── drawable-hdpi
│ │ │ │ ├── oklib_one.png
│ │ │ │ ├── oklib_six.png
│ │ │ │ ├── oklib_two.png
│ │ │ │ ├── btn_rotate.png
│ │ │ │ ├── oklib_eight.png
│ │ │ │ ├── oklib_five.png
│ │ │ │ ├── oklib_four.png
│ │ │ │ ├── oklib_logo.png
│ │ │ │ ├── oklib_seven.png
│ │ │ │ ├── oklib_slogan.png
│ │ │ │ ├── oklib_three.png
│ │ │ │ ├── oklib_zero.png
│ │ │ │ ├── oklib_setting.png
│ │ │ │ ├── btn_rotate_shadow.png
│ │ │ │ ├── oklib_toast_frame.9.png
│ │ │ │ ├── oklib_ic_pets_white_48dp.png
│ │ │ │ ├── oklib_ic_check_white_48dp.png
│ │ │ │ ├── oklib_ic_clear_white_48dp.png
│ │ │ │ ├── oklib_ic_info_outline_white_48dp.png
│ │ │ │ └── oklib_ic_error_outline_white_48dp.png
│ │ │ ├── drawable-xxhdpi
│ │ │ │ ├── oklib_asv.png
│ │ │ │ ├── oklib_btn_selected.png
│ │ │ │ ├── oklib_btn_unselected.png
│ │ │ │ ├── oklib_default_error.png
│ │ │ │ ├── oklib_text_indicator.png
│ │ │ │ ├── oklib_toast_frame.9.png
│ │ │ │ ├── oklib_ic_check_white_48dp.png
│ │ │ │ ├── oklib_ic_clear_white_48dp.png
│ │ │ │ ├── oklib_ic_info_outline_white_48dp.png
│ │ │ │ ├── oklib_search_common_delete_icon.png
│ │ │ │ ├── oklib_ic_error_outline_white_48dp.png
│ │ │ │ ├── oklib_addressbook_search_delete_icon.png
│ │ │ │ ├── oklib_addressbook_search_search_icon.png
│ │ │ │ ├── oklib_addressbook_search_common_delete_icon.png
│ │ │ │ └── oklib_multi_select_list_pop_check_mark_purple.png
│ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── oklib_icon_back.png
│ │ │ │ ├── oklib_icon_right.png
│ │ │ │ ├── oklib_back_white_icon.png
│ │ │ │ ├── oklib_empty_back_icon.png
│ │ │ │ ├── oklib_rv_refresh_component_no_net_icon.png
│ │ │ │ └── oklib_rv_refresh_component_no_data_icon.png
│ │ │ ├── drawable-xhdpi
│ │ │ │ ├── oklib_battery_10.png
│ │ │ │ ├── oklib_battery_20.png
│ │ │ │ ├── oklib_battery_50.png
│ │ │ │ ├── oklib_battery_80.png
│ │ │ │ ├── oklib_btn_back.png
│ │ │ │ ├── oklib_loading00.png
│ │ │ │ ├── oklib_loading01.png
│ │ │ │ ├── oklib_loading02.png
│ │ │ │ ├── oklib_loading03.png
│ │ │ │ ├── oklib_loading04.png
│ │ │ │ ├── oklib_loading05.png
│ │ │ │ ├── oklib_loading06.png
│ │ │ │ ├── oklib_loading07.png
│ │ │ │ ├── oklib_loading08.png
│ │ │ │ ├── oklib_loading09.png
│ │ │ │ ├── oklib_loading10.png
│ │ │ │ ├── oklib_loading11.png
│ │ │ │ ├── oklib_loading12.png
│ │ │ │ ├── oklib_loading13.png
│ │ │ │ ├── oklib_loading14.png
│ │ │ │ ├── oklib_loading15.png
│ │ │ │ ├── oklib_loading16.png
│ │ │ │ ├── oklib_loading17.png
│ │ │ │ ├── oklib_loading18.png
│ │ │ │ ├── oklib_loading19.png
│ │ │ │ ├── oklib_loading20.png
│ │ │ │ ├── oklib_loading21.png
│ │ │ │ ├── oklib_loading22.png
│ │ │ │ ├── oklib_loading23.png
│ │ │ │ ├── oklib_loading24.png
│ │ │ │ ├── oklib_loading25.png
│ │ │ │ ├── oklib_loading26.png
│ │ │ │ ├── oklib_loading27.png
│ │ │ │ ├── oklib_loading28.png
│ │ │ │ ├── oklib_loading29.png
│ │ │ │ ├── oklib_battery_100.png
│ │ │ │ ├── oklib_battery_full.png
│ │ │ │ ├── oklib_ic_menu_back.png
│ │ │ │ ├── oklib_img_default.png
│ │ │ │ ├── oklib_photo_empty.png
│ │ │ │ ├── oklib_photo_error.png
│ │ │ │ ├── oklib_default_check_s.png
│ │ │ │ ├── oklib_ic_palyer_share.png
│ │ │ │ ├── oklib_ic_player_back.png
│ │ │ │ ├── oklib_ic_player_pause.png
│ │ │ │ ├── oklib_ic_player_start.png
│ │ │ │ ├── oklib_player_mask_top.png
│ │ │ │ ├── oklib_battery_charging.png
│ │ │ │ ├── oklib_ic_palyer_volume.png
│ │ │ │ ├── oklib_ic_player_enlarge.png
│ │ │ │ ├── oklib_ic_player_replay.png
│ │ │ │ ├── oklib_ic_player_shrink.png
│ │ │ │ ├── oklib_ic_palyer_brightness.png
│ │ │ │ ├── oklib_player_mask_bottom.png
│ │ │ │ ├── oklib_selector_indicator.png
│ │ │ │ ├── oklib_addressbook_email_icon.png
│ │ │ │ ├── oklib_addressbook_head_icon.png
│ │ │ │ ├── oklib_addressbook_phone_icon.png
│ │ │ │ ├── oklib_ic_player_center_start.png
│ │ │ │ ├── oklib_ic_warning_white_48dp.png
│ │ │ │ ├── oklib_addressbook_address_icon.png
│ │ │ │ ├── oklib_addressbook_message_icon.png
│ │ │ │ ├── oklib_ic_warning_outline_white.png
│ │ │ │ ├── oklib_search_common_delete_icon.png
│ │ │ │ ├── oklib_addressbook_search_delete_icon.png
│ │ │ │ ├── oklib_addressbook_search_search_icon.png
│ │ │ │ └── oklib_addressbook_search_common_delete_icon.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ │ └── oklib_icon_right.png
│ │ │ ├── drawable-ldpi
│ │ │ │ └── oklib_toast_frame.9.png
│ │ │ ├── drawable-mdpi
│ │ │ │ ├── oklib_toast_frame.9.png
│ │ │ │ ├── oklib_ic_check_white_48dp.png
│ │ │ │ ├── oklib_ic_clear_white_48dp.png
│ │ │ │ ├── oklib_ic_info_outline_white_48dp.png
│ │ │ │ └── oklib_ic_error_outline_white_48dp.png
│ │ │ ├── mipmap-hdpi
│ │ │ │ ├── oklib_maotouying_icon.png
│ │ │ │ └── oklib_test_scan_icon.jpg
│ │ │ ├── values
│ │ │ │ ├── integers.xml
│ │ │ │ └── ids.xml
│ │ │ ├── drawable-xxxhdpi
│ │ │ │ ├── oklib_ic_check_white_48dp.png
│ │ │ │ ├── oklib_ic_clear_white_48dp.png
│ │ │ │ ├── oklib_ic_error_outline_white_48dp.png
│ │ │ │ └── oklib_ic_info_outline_white_48dp.png
│ │ │ ├── anim
│ │ │ │ ├── oklib_anim_null.xml
│ │ │ │ ├── oklib_dialog_exits.xml
│ │ │ │ ├── oklib_dialog_enters.xml
│ │ │ │ ├── oklib_rotate_close.xml
│ │ │ │ ├── oklib_rotate_open.xml
│ │ │ │ ├── oklib_fadein.xml
│ │ │ │ ├── oklib_fadeout.xml
│ │ │ │ ├── oklib_pickerview_slide_in_bottom.xml
│ │ │ │ ├── oklib_pickerview_slide_out_bottom.xml
│ │ │ │ ├── rotation.xml
│ │ │ │ ├── scale_up.xml
│ │ │ │ ├── scale_down.xml
│ │ │ │ ├── oklib_pickerview_dialog_scale_out.xml
│ │ │ │ └── oklib_pickerview_dialog_scale_in.xml
│ │ │ ├── values-sw360dp
│ │ │ │ └── dimens.xml
│ │ │ ├── values-sw480dp
│ │ │ │ └── dimens.xml
│ │ │ ├── values-sw720dp
│ │ │ │ └── dimens.xml
│ │ │ ├── layout
│ │ │ │ ├── debugkit_function_button_light.xml
│ │ │ │ ├── debugkit_function_button_dark.xml
│ │ │ │ ├── oklib_list_item_icon_text.xml
│ │ │ │ ├── oklib_layout_basepickerview.xml
│ │ │ │ ├── oklib_item_rv_refresh_component.xml
│ │ │ │ ├── oklib_activity_refresh.xml
│ │ │ │ └── oklib_addressbook_search_region_selection_item.xml
│ │ │ ├── color
│ │ │ │ └── oklib_folder_text_color.xml
│ │ │ └── values-zh
│ │ │ │ └── strings.xml
│ │ ├── java
│ │ │ └── com
│ │ │ │ └── oklib
│ │ │ │ └── view
│ │ │ │ ├── pickerview
│ │ │ │ ├── listener
│ │ │ │ │ ├── OnItemSelectedListener.java
│ │ │ │ │ ├── OnDismissListener.java
│ │ │ │ │ └── CustomListener.java
│ │ │ │ ├── model
│ │ │ │ │ └── IPickerViewData.java
│ │ │ │ ├── lib
│ │ │ │ │ ├── OnItemSelectedRunnable.java
│ │ │ │ │ └── LoopViewGestureListener.java
│ │ │ │ └── adapter
│ │ │ │ │ └── WheelAdapter.java
│ │ │ │ ├── letters_nav
│ │ │ │ ├── OnLetterTouchListener.java
│ │ │ │ ├── adapter
│ │ │ │ │ ├── BaseViewHolder.java
│ │ │ │ │ └── BaseRecyclerViewHolder.java
│ │ │ │ ├── bean
│ │ │ │ │ └── SortModel.java
│ │ │ │ ├── Letter.java
│ │ │ │ └── utils
│ │ │ │ │ └── PinyinComparator.java
│ │ │ │ ├── shoot_refresh
│ │ │ │ └── DensityUtil.java
│ │ │ │ ├── progress
│ │ │ │ └── Utils.java
│ │ │ │ ├── high_light
│ │ │ │ └── position
│ │ │ │ │ ├── OnRightPosCallback.java
│ │ │ │ │ ├── OnLeftPosCallback.java
│ │ │ │ │ ├── OnBottomPosCallback.java
│ │ │ │ │ └── OnTopPosCallback.java
│ │ │ │ └── ratingbar
│ │ │ │ └── SimpleRatingBar.java
│ │ └── AndroidManifest.xml
│ ├── test
│ │ └── java
│ │ │ └── com
│ │ │ └── oklib
│ │ │ └── view
│ │ │ └── ExampleUnitTest.java
│ └── androidTest
│ │ └── java
│ │ └── com
│ │ └── oklib
│ │ └── view
│ │ └── ExampleInstrumentedTest.java
└── proguard-rules.pro
├── window
├── .gitignore
├── src
│ ├── main
│ │ ├── res
│ │ │ ├── values
│ │ │ │ ├── strings.xml
│ │ │ │ ├── dimens.xml
│ │ │ │ └── attrs.xml
│ │ │ ├── drawable-xhdpi
│ │ │ │ ├── btn_eye.png
│ │ │ │ ├── btn_eye_p.png
│ │ │ │ ├── oklib_icon_loading.png
│ │ │ │ ├── default_multiple_choice_icon.png
│ │ │ │ ├── select_multiple_choice_icon.png
│ │ │ │ └── oklib_multi_select_list_pop_check_mark_purple.png
│ │ │ ├── drawable-xxhdpi
│ │ │ │ ├── btn_eye.png
│ │ │ │ └── btn_eye_p.png
│ │ │ ├── drawable
│ │ │ │ ├── oklib_loading_large.gif
│ │ │ │ ├── oklib_loading_small.gif
│ │ │ │ ├── oklib_bg_toast.xml
│ │ │ │ ├── oklib_bg_toast_loading.xml
│ │ │ │ ├── oklib_et_cursor.xml
│ │ │ │ ├── oklib_selector_grey1.xml
│ │ │ │ ├── oklib_selector_trangle.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner_progress.xml
│ │ │ │ ├── oklib_selector_grey_blbr.xml
│ │ │ │ ├── oklib_selector_grey_tltr.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner_gray.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner.xml
│ │ │ │ ├── oklib_selector_btn_press_no_corner.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner_top.xml
│ │ │ │ ├── oklib_edittext_nomal.xml
│ │ │ │ ├── oklib_selector_white_bl.xml
│ │ │ │ ├── oklib_selector_white_br.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner_bottom.xml
│ │ │ │ ├── oklib_selector_btn_press_all.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner_left_bottom_gray.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner_left_bottom_white.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner_right_bottom_gray.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner_right_bottom_white.xml
│ │ │ │ ├── oklib_selector_btn_press_all_top.xml
│ │ │ │ ├── oklib_selector_btn_press_all_bottom.xml
│ │ │ │ ├── oklib_selector_btn_press_left_bottom.xml
│ │ │ │ ├── oklib_selector_btn_press_right_bottom.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner_all_top_gray.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner_all_top_white.xml
│ │ │ │ ├── oklib_round_gray_blbr.xml
│ │ │ │ ├── oklib_round_gray_blbr_p.xml
│ │ │ │ ├── oklib_round_gray_tltr.xml
│ │ │ │ ├── oklib_round_gray_tltr_p.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner_all_bottom_gray.xml
│ │ │ │ ├── oklib_bg_ios_roundcorner_all_bottom_white.xml
│ │ │ │ ├── oklib_round_dialog.xml
│ │ │ │ ├── oklib_round_white_br.xml
│ │ │ │ ├── oklib_round_white_br_p.xml
│ │ │ │ ├── oklib_round_white_bl.xml
│ │ │ │ ├── oklib_round_white_bl_p.xml
│ │ │ │ ├── oklib_date_time_dialog_selector_background_underline.xml
│ │ │ │ ├── round_white_line.xml
│ │ │ │ ├── oklib_round_white_line.xml
│ │ │ │ ├── oklib_date_time_dialog_background_radiobutton_underline_gray.xml
│ │ │ │ ├── oklib_triangle_gray.xml
│ │ │ │ ├── oklib_triangle_gray_p.xml
│ │ │ │ ├── oklib_pb_loading.xml
│ │ │ │ ├── oklib_progressstyleshape.xml
│ │ │ │ ├── oklib_dialog_ios_center_item.xml
│ │ │ │ └── oklib_date_time_dialog_background_radiobutton_underline_blue.xml
│ │ │ ├── anim
│ │ │ │ ├── oklib_dialog_exit.xml
│ │ │ │ ├── oklib_dialog_enter.xml
│ │ │ │ ├── oklib_dialog_enter_center.xml
│ │ │ │ └── oklib_dialog_exit_center.xml
│ │ │ └── layout
│ │ │ │ ├── oklib_item_common_dialog_list.xml
│ │ │ │ ├── oklib_view_date_time_dialog_time_picker_layout.xml
│ │ │ │ ├── oklib_view_date_time_dialog_date_picker_layout.xml
│ │ │ │ ├── oklib_pop_multi_select_list_layout.xml
│ │ │ │ ├── oklib_region_selection_item.xml
│ │ │ │ └── oklib_dialog_ios_center_item.xml
│ │ ├── AndroidManifest.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── oklib
│ │ │ └── window
│ │ │ └── WindowEntry.java
│ └── test
│ │ └── java
│ │ └── com
│ │ └── oklib
│ │ └── window
│ │ └── ExampleUnitTest.java
└── proguard-rules.pro
├── zxing
├── .gitignore
├── src
│ ├── main
│ │ ├── res
│ │ │ ├── values
│ │ │ │ └── strings.xml
│ │ │ └── drawable-xxhdpi
│ │ │ │ ├── oklib_qrcode_default_scan_line.png
│ │ │ │ └── oklib_qrcode_default_grid_scan_line.png
│ │ └── AndroidManifest.xml
│ ├── test
│ │ └── java
│ │ │ └── com
│ │ │ └── oklib
│ │ │ └── zxing
│ │ │ └── ExampleUnitTest.java
│ └── androidTest
│ │ └── java
│ │ └── com
│ │ └── oklib
│ │ └── zxing
│ │ └── ExampleInstrumentedTest.java
└── proguard-rules.pro
├── glideview
├── .gitignore
├── src
│ ├── main
│ │ ├── res
│ │ │ ├── strings.xml
│ │ │ └── values
│ │ │ │ └── strings.xml
│ │ ├── AndroidManifest.xml
│ │ └── java
│ │ │ └── com
│ │ │ └── oklib
│ │ │ └── glideview
│ │ │ └── progress
│ │ │ ├── OnGlideImageViewListener.java
│ │ │ ├── OnProgressListener.java
│ │ │ └── ProgressAppGlideModule.java
│ └── test
│ │ └── java
│ │ └── com
│ │ └── oklib
│ │ └── glideview
│ │ └── ExampleUnitTest.java
└── proguard-rules.pro
├── oklib.jks
├── settings.gradle
├── gradle
└── wrapper
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── .idea
├── caches
│ └── build_file_checksums.ser
├── vcs.xml
└── runConfigurations.xml
├── .gitignore
└── gradle.properties
/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/camera/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/http/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/util/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/view/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/window/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/zxing/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/glideview/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/oklib.jks:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/oklib.jks
--------------------------------------------------------------------------------
/app/release/app-release.apk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/release/app-release.apk
--------------------------------------------------------------------------------
/http/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Http
3 |
4 |
--------------------------------------------------------------------------------
/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app', ':util', ':util', ':http', ':view', ':zxing', ':camera', ':window', ':glideview'
2 |
--------------------------------------------------------------------------------
/zxing/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zxing
3 |
4 |
--------------------------------------------------------------------------------
/glideview/src/main/res/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | ImageLoaderLib
3 |
4 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/view/src/main/res/drawable/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable/up.png
--------------------------------------------------------------------------------
/window/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | WindowLib
3 |
4 |
--------------------------------------------------------------------------------
/.idea/caches/build_file_checksums.ser:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/.idea/caches/build_file_checksums.ser
--------------------------------------------------------------------------------
/app/src/main/assets/fonts/dnmbhs.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/assets/fonts/dnmbhs.ttf
--------------------------------------------------------------------------------
/glideview/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | ImageLoaderLib
3 |
4 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable/close.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable/empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable/empty.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable/filled.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable/filled.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable/resize.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable/resize.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/cheetah.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/cheetah.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/to_down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-xhdpi/to_down.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/jt_up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-xxhdpi/jt_up.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/app_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/mipmap-xhdpi/app_icon.png
--------------------------------------------------------------------------------
/http/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/util/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/icon_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/icon_close.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/icon_mode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-xhdpi/icon_mode.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/jt_known.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-xxhdpi/jt_known.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable/gif_robot_walk.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable/gif_robot_walk.gif
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_one.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_one.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_six.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_six.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_two.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_two.png
--------------------------------------------------------------------------------
/window/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/zxing/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/collect_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/collect_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/img_no_avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/img_no_avatar.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/pic_shoucang1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/pic_shoucang1.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/pic_shoucang2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/pic_shoucang2.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/pic_shoucang3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/pic_shoucang3.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/pic_shoucang4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/pic_shoucang4.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/pic_shoucang5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/pic_shoucang5.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/gougou_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-xhdpi/gougou_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/info_text.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-xxhdpi/info_text.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/app_oklib_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/mipmap-xhdpi/app_oklib_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/glideview/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/btn_rotate.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/btn_rotate.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_eight.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_eight.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_five.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_five.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_four.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_four.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_logo.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_seven.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_seven.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_slogan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_slogan.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_three.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_three.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_zero.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_zero.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_asv.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_asv.png
--------------------------------------------------------------------------------
/window/src/main/res/drawable-xhdpi/btn_eye.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/window/src/main/res/drawable-xhdpi/btn_eye.png
--------------------------------------------------------------------------------
/window/src/main/res/drawable-xhdpi/btn_eye_p.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/window/src/main/res/drawable-xhdpi/btn_eye_p.png
--------------------------------------------------------------------------------
/window/src/main/res/drawable-xxhdpi/btn_eye.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/window/src/main/res/drawable-xxhdpi/btn_eye.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/icon_shouchang.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/icon_shouchang.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/superscript_new.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/superscript_new.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/white_back_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/white_back_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/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/huangweicai/OkLibDemo/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/camera/src/main/res/drawable-xxhdpi/oklib_asy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/camera/src/main/res/drawable-xxhdpi/oklib_asy.png
--------------------------------------------------------------------------------
/util/src/main/res/drawable/oklib_toast_frame.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/util/src/main/res/drawable/oklib_toast_frame.9.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_setting.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_setting.png
--------------------------------------------------------------------------------
/view/src/main/res/mipmap-xhdpi/oklib_icon_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/mipmap-xhdpi/oklib_icon_back.png
--------------------------------------------------------------------------------
/window/src/main/res/drawable-xxhdpi/btn_eye_p.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/window/src/main/res/drawable-xxhdpi/btn_eye_p.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/item_get_code_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/item_get_code_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/item_reward_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-xhdpi/item_reward_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/white_back_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-xxhdpi/white_back_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/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/huangweicai/OkLibDemo/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/camera/src/main/res/drawable-xhdpi/oklib_btn_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/camera/src/main/res/drawable-xhdpi/oklib_btn_back.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/btn_rotate_shadow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/btn_rotate_shadow.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_battery_10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_battery_10.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_battery_20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_battery_20.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_battery_50.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_battery_50.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_battery_80.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_battery_80.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_btn_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_btn_back.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading00.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading01.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading02.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading03.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading04.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading05.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading05.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading06.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading06.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading07.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading07.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading08.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading08.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading09.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading09.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading10.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading11.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading12.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading12.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading13.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading14.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading14.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading15.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading16.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading17.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading17.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading18.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading18.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading19.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading19.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading20.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading20.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading21.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading21.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading22.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading22.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading23.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading23.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading24.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading24.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading25.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading25.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading26.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading26.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading27.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading27.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading28.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading28.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_loading29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_loading29.png
--------------------------------------------------------------------------------
/view/src/main/res/mipmap-xhdpi/oklib_icon_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/mipmap-xhdpi/oklib_icon_right.png
--------------------------------------------------------------------------------
/view/src/main/res/mipmap-xxhdpi/oklib_icon_right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/mipmap-xxhdpi/oklib_icon_right.png
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_loading_large.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/window/src/main/res/drawable/oklib_loading_large.gif
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_loading_small.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/window/src/main/res/drawable/oklib_loading_small.gif
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/lantian_reward_icon.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/lantian_reward_icon.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/xingqiu_qrcode_icon.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/xingqiu_qrcode_icon.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xxhdpi/scan_icon_scanline.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-xxhdpi/scan_icon_scanline.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_toast_frame.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_toast_frame.9.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-ldpi/oklib_toast_frame.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-ldpi/oklib_toast_frame.9.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-mdpi/oklib_toast_frame.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-mdpi/oklib_toast_frame.9.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_battery_100.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_battery_100.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_battery_full.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_battery_full.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_menu_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_menu_back.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_img_default.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_img_default.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_photo_empty.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_photo_empty.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_photo_error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_photo_error.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_keyboard_backspace.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable/oklib_keyboard_backspace.png
--------------------------------------------------------------------------------
/view/src/main/res/mipmap-hdpi/oklib_maotouying_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/mipmap-hdpi/oklib_maotouying_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/mipmap-hdpi/oklib_test_scan_icon.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/mipmap-hdpi/oklib_test_scan_icon.jpg
--------------------------------------------------------------------------------
/app/src/main/res/drawable-hdpi/superscript_collection.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-hdpi/superscript_collection.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/item_check_update_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-xhdpi/item_check_update_icon.png
--------------------------------------------------------------------------------
/camera/src/main/res/drawable-xhdpi/oklib_btn_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/camera/src/main/res/drawable-xhdpi/oklib_btn_selected.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_default_check_s.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_default_check_s.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_palyer_share.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_palyer_share.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_player_back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_player_back.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_player_pause.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_player_pause.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_player_start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_player_start.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_player_mask_top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_player_mask_top.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_btn_selected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_btn_selected.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_btn_unselected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_btn_unselected.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_default_error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_default_error.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_text_indicator.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_text_indicator.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_toast_frame.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_toast_frame.9.png
--------------------------------------------------------------------------------
/view/src/main/res/mipmap-xhdpi/oklib_back_white_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/mipmap-xhdpi/oklib_back_white_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/mipmap-xhdpi/oklib_empty_back_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/mipmap-xhdpi/oklib_empty_back_icon.png
--------------------------------------------------------------------------------
/window/src/main/res/drawable-xhdpi/oklib_icon_loading.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/window/src/main/res/drawable-xhdpi/oklib_icon_loading.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 |
--------------------------------------------------------------------------------
/camera/src/main/res/drawable-xhdpi/oklib_btn_unselected.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/camera/src/main/res/drawable-xhdpi/oklib_btn_unselected.png
--------------------------------------------------------------------------------
/camera/src/main/res/drawable-xxhdpi/oklib_default_check.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/camera/src/main/res/drawable-xxhdpi/oklib_default_check.png
--------------------------------------------------------------------------------
/camera/src/main/res/drawable-xxhdpi/oklib_default_error.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/camera/src/main/res/drawable-xxhdpi/oklib_default_error.png
--------------------------------------------------------------------------------
/camera/src/main/res/drawable-xxhdpi/oklib_text_indicator.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/camera/src/main/res/drawable-xxhdpi/oklib_text_indicator.png
--------------------------------------------------------------------------------
/util/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | UtilLib
3 | Toast message
4 |
5 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_ic_pets_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_ic_pets_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_battery_charging.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_battery_charging.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_palyer_volume.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_palyer_volume.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_player_enlarge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_player_enlarge.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_player_replay.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_player_replay.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_player_shrink.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_player_shrink.png
--------------------------------------------------------------------------------
/view/src/main/res/values/integers.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 300
4 |
--------------------------------------------------------------------------------
/util/src/main/res/drawable-xhdpi/oklib_ic_check_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/util/src/main/res/drawable-xhdpi/oklib_ic_check_white_48dp.png
--------------------------------------------------------------------------------
/util/src/main/res/drawable-xhdpi/oklib_ic_clear_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/util/src/main/res/drawable-xhdpi/oklib_ic_clear_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_ic_check_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_ic_check_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_ic_clear_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_ic_clear_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-mdpi/oklib_ic_check_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-mdpi/oklib_ic_check_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-mdpi/oklib_ic_clear_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-mdpi/oklib_ic_clear_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_palyer_brightness.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_palyer_brightness.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_player_mask_bottom.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_player_mask_bottom.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_selector_indicator.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_selector_indicator.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_ic_check_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_ic_check_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_ic_clear_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_ic_clear_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_null_drawable.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_addressbook_email_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_addressbook_email_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_addressbook_head_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_addressbook_head_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_addressbook_phone_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_addressbook_phone_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_player_center_start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_player_center_start.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_warning_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_warning_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxxhdpi/oklib_ic_check_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxxhdpi/oklib_ic_check_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxxhdpi/oklib_ic_clear_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxxhdpi/oklib_ic_clear_white_48dp.png
--------------------------------------------------------------------------------
/app/src/main/res/drawable-xhdpi/item_business_cooperation_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/drawable-xhdpi/item_business_cooperation_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_ic_info_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_ic_info_outline_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-mdpi/oklib_ic_info_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-mdpi/oklib_ic_info_outline_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_addressbook_address_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_addressbook_address_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_addressbook_message_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_addressbook_message_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_ic_warning_outline_white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_ic_warning_outline_white.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_search_common_delete_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_search_common_delete_icon.png
--------------------------------------------------------------------------------
/window/src/main/res/drawable-xhdpi/default_multiple_choice_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/window/src/main/res/drawable-xhdpi/default_multiple_choice_icon.png
--------------------------------------------------------------------------------
/window/src/main/res/drawable-xhdpi/select_multiple_choice_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/window/src/main/res/drawable-xhdpi/select_multiple_choice_icon.png
--------------------------------------------------------------------------------
/util/src/main/res/drawable-xhdpi/oklib_ic_error_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/util/src/main/res/drawable-xhdpi/oklib_ic_error_outline_white_48dp.png
--------------------------------------------------------------------------------
/util/src/main/res/drawable-xhdpi/oklib_ic_info_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/util/src/main/res/drawable-xhdpi/oklib_ic_info_outline_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-hdpi/oklib_ic_error_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-hdpi/oklib_ic_error_outline_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-mdpi/oklib_ic_error_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-mdpi/oklib_ic_error_outline_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_ic_info_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_ic_info_outline_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_search_common_delete_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_search_common_delete_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/values/ids.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/zxing/src/main/res/drawable-xxhdpi/oklib_qrcode_default_scan_line.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/zxing/src/main/res/drawable-xxhdpi/oklib_qrcode_default_scan_line.png
--------------------------------------------------------------------------------
/.idea/vcs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/oklib_rv_refresh_component_no_data_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/mipmap-xhdpi/oklib_rv_refresh_component_no_data_icon.png
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-xhdpi/oklib_rv_refresh_component_no_net_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/app/src/main/res/mipmap-xhdpi/oklib_rv_refresh_component_no_net_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_addressbook_search_delete_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_addressbook_search_delete_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_addressbook_search_search_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_addressbook_search_search_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_ic_error_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_ic_error_outline_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxxhdpi/oklib_ic_error_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxxhdpi/oklib_ic_error_outline_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxxhdpi/oklib_ic_info_outline_white_48dp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxxhdpi/oklib_ic_info_outline_white_48dp.png
--------------------------------------------------------------------------------
/view/src/main/res/mipmap-xhdpi/oklib_rv_refresh_component_no_net_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/mipmap-xhdpi/oklib_rv_refresh_component_no_net_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_addressbook_search_delete_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_addressbook_search_delete_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_addressbook_search_search_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_addressbook_search_search_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/mipmap-xhdpi/oklib_rv_refresh_component_no_data_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/mipmap-xhdpi/oklib_rv_refresh_component_no_data_icon.png
--------------------------------------------------------------------------------
/zxing/src/main/res/drawable-xxhdpi/oklib_qrcode_default_grid_scan_line.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/zxing/src/main/res/drawable-xxhdpi/oklib_qrcode_default_grid_scan_line.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xhdpi/oklib_addressbook_search_common_delete_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xhdpi/oklib_addressbook_search_common_delete_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_addressbook_search_common_delete_icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_addressbook_search_common_delete_icon.png
--------------------------------------------------------------------------------
/view/src/main/res/drawable-xxhdpi/oklib_multi_select_list_pop_check_mark_purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/view/src/main/res/drawable-xxhdpi/oklib_multi_select_list_pop_check_mark_purple.png
--------------------------------------------------------------------------------
/window/src/main/res/drawable-xhdpi/oklib_multi_select_list_pop_check_mark_purple.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/huangweicai/OkLibDemo/HEAD/window/src/main/res/drawable-xhdpi/oklib_multi_select_list_pop_check_mark_purple.png
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/pickerview/listener/OnItemSelectedListener.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.pickerview.listener;
2 |
3 |
4 | public interface OnItemSelectedListener {
5 | void onItemSelected(int index);
6 | }
7 |
--------------------------------------------------------------------------------
/window/src/main/res/anim/oklib_dialog_exit.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/oklib_anim_null.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/bg_scrollbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/window/src/main/res/anim/oklib_dialog_enter.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/letters_nav/OnLetterTouchListener.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.letters_nav;
2 |
3 | public interface OnLetterTouchListener {
4 | void onLetterTouch(String letter, int position);
5 |
6 | void onActionUp();
7 | }
8 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/pickerview/model/IPickerViewData.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.pickerview.model;
2 |
3 | /**
4 | * Created by Sai on 2016/7/13.
5 | */
6 | public interface IPickerViewData {
7 | String getPickerViewText();
8 | }
9 |
--------------------------------------------------------------------------------
/app/release/output.json:
--------------------------------------------------------------------------------
1 | [{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"1.0.1","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
--------------------------------------------------------------------------------
/camera/src/main/res/xml/file_paths.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
7 |
8 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/oklib_dialog_exits.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/pickerview/listener/OnDismissListener.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.pickerview.listener;
2 |
3 | /**
4 | * Created by Sai on 15/8/9.
5 | */
6 | public interface OnDismissListener {
7 | public void onDismiss(Object o);
8 | }
9 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/oklib_dialog_enters.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
--------------------------------------------------------------------------------
/view/src/main/res/values-sw360dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 96dp
4 | 2dp
5 | 72dp
6 |
--------------------------------------------------------------------------------
/view/src/main/res/values-sw480dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 100dp
4 | 2dp
5 | 72dp
6 |
--------------------------------------------------------------------------------
/view/src/main/res/values-sw720dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 120dp
4 | 3dp
5 | 82dp
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/drawable_gray_line.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/drawable_blue_side_line.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/drawable_gray_right_angle_line.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Jul 05 10:19:04 CST 2018
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
7 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/rounded_frame.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/window/src/main/res/anim/oklib_dialog_enter_center.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
--------------------------------------------------------------------------------
/window/src/main/res/anim/oklib_dialog_exit_center.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
8 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_toast.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/adapter/CallAdapter.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.adapter;
2 |
3 |
4 | /**
5 | * 返回值的适配器
6 | *
7 | * @param
8 | */
9 | public interface CallAdapter {
10 |
11 | /**
12 | * call执行的代理方法
13 | */
14 | T adapt(Call call);
15 | }
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/letters_nav/adapter/BaseViewHolder.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.letters_nav.adapter;
2 |
3 | import android.widget.TextView;
4 |
5 | /**
6 | * Created by zz on 2016/8/15.
7 | */
8 | public class BaseViewHolder {
9 | public TextView tvLetter;
10 | }
11 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_toast_loading.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_et_cursor.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_selector_grey1.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_selector_trangle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/oklib_rotate_close.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/oklib_rotate_open.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_letters_nav_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_letters_nav_side_bar_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/rounded_button_dark.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/rounded_button_light.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner_progress.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_addressbook_letters_nav_side_bar_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/view_lib/drag_item/SyncCallback.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib.drag_item;
2 |
3 | /**
4 | * @author Storm
5 | */
6 | public abstract class SyncCallback {
7 |
8 | public abstract void onSuccess(T data);
9 |
10 | public void onFailure(Exception e) {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_fragmenttest.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/values-v21/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_addressbook_letters_nav_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_selector_grey_blbr.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_selector_grey_tltr.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/oklib_selector_gray_white_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner_gray.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_selector_gray_white_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/window/src/main/java/com/oklib/window/WindowEntry.java:
--------------------------------------------------------------------------------
1 | package com.oklib.window;
2 |
3 | import android.app.Application;
4 |
5 |
6 | /**
7 | * 时间:2017/11/9
8 | * 作者:蓝天
9 | * 描述:窗体入口
10 | */
11 |
12 | public class WindowEntry {
13 |
14 | public static void init(Application _application) {
15 | }
16 |
17 | }
18 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_selector_btn_press_no_corner.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/drawable_dialog_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/pickerview/listener/CustomListener.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.pickerview.listener;
2 |
3 | import android.view.View;
4 |
5 | /**
6 | * Created by KyuYi on 2017/3/2.
7 | * E-Mail:kyu_yi@sina.com
8 | * 功能:
9 | */
10 |
11 | public interface CustomListener {
12 | void customLayout(View v);
13 | }
14 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_addressbook_selector_gray_white_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/view_lib/drag_item/IRecipeFavorView.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib.drag_item;
2 |
3 | import java.util.List;
4 |
5 | /**
6 | * @author Storm
7 | */
8 | public interface IRecipeFavorView {
9 |
10 | void setPresenter(IRecipeFavorPresenter presenter);
11 |
12 | void setRecipes(List list);
13 | }
14 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner_top.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_edittext_nomal.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
8 |
9 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_selector_white_bl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_selector_white_br.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_selector_pickerview_btn.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/window/src/main/res/layout/oklib_item_common_dialog_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/side_nav_bar.xml:
--------------------------------------------------------------------------------
1 |
3 |
9 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_selector_btn_press_all.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner_left_bottom_gray.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner_left_bottom_white.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner_right_bottom_gray.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner_right_bottom_white.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/oklib_fadein.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/window/src/main/res/layout/oklib_view_date_time_dialog_time_picker_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/oklib_fadeout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
--------------------------------------------------------------------------------
/view/src/main/res/layout/debugkit_function_button_light.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/view_lib/drag_item/IRecipeFavorPresenter.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib.drag_item;
2 |
3 |
4 | import java.util.List;
5 |
6 | /**
7 | * @author Storm
8 | */
9 | public interface IRecipeFavorPresenter {
10 |
11 | void loadFavorites();
12 |
13 | void saveFavorites(List list);
14 |
15 | void removeFavorite(Recipe item);
16 | }
17 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/shoot_refresh/DensityUtil.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.shoot_refresh;
2 |
3 | import android.content.Context;
4 |
5 | public class DensityUtil {
6 |
7 | public static float dp2px(Context context, float dpValue) {
8 | float scale = context.getResources().getDisplayMetrics().density;
9 | return dpValue * scale;
10 | }
11 | }
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_background_option_button.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_shape_circle_blue.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
8 |
10 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_shape_circle_red.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
8 |
10 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_shape_circle_purple.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
8 |
10 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_shape_circle_yellow.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
8 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v21/ic_menu_send.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_selector_btn_press_all_top.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_selector_btn_press_all_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/main.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
--------------------------------------------------------------------------------
/view/src/main/res/layout/debugkit_function_button_dark.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_selector_btn_press_left_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_selector_btn_press_right_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 | 16dp
6 | 160dp
7 | 16dp
8 |
9 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner_all_top_gray.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner_all_top_white.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/shape_spannable_block_high.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/shape_spannable_block_low.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
8 |
11 |
12 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_round_gray_blbr.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/glideview/src/main/java/com/oklib/glideview/progress/OnGlideImageViewListener.java:
--------------------------------------------------------------------------------
1 | //package com.oklib.glideview.progress;
2 | //
3 | //
4 | //import com.bumptech.glide.load.engine.GlideException;
5 | //
6 | ///**
7 | // * 时间:2017/8/2
8 | // * 作者:蓝天
9 | // * 描述:
10 | // */
11 | //public interface OnGlideImageViewListener {
12 | //
13 | // void onProgress(int percent, boolean isDone, GlideException exception);
14 | //}
15 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_option_button_shape.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
8 |
9 |
12 |
13 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_round_gray_blbr_p.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_round_gray_tltr.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_round_gray_tltr_p.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/letters_nav/bean/SortModel.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.letters_nav.bean;
2 |
3 | public class SortModel {
4 |
5 | private String sortLetters;//the first letter of pinyin
6 |
7 | public String getSortLetters() {
8 | return sortLetters;
9 | }
10 |
11 | public void setSortLetters(String sortLetters) {
12 | this.sortLetters = sortLetters;
13 | }
14 |
15 | }
16 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_option_button_shape_press.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
8 |
9 |
12 |
13 |
--------------------------------------------------------------------------------
/app/src/main/res/xml/provider_paths.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/oklib_pickerview_slide_in_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
11 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/oklib_pickerview_slide_out_bottom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
11 |
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_addressbook_search_search_shape_common_white_bg.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner_all_bottom_gray.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_bg_ios_roundcorner_all_bottom_white.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/glideview/src/main/java/com/oklib/glideview/progress/OnProgressListener.java:
--------------------------------------------------------------------------------
1 | //package com.oklib.glideview.progress;
2 | //
3 | //
4 | //import com.bumptech.glide.load.engine.GlideException;
5 | //
6 | ///**
7 | // * 时间:2017/8/2
8 | // * 作者:蓝天
9 | // * 描述:
10 | // */
11 | //public interface OnProgressListener {
12 | //
13 | // void onProgress(String imageUrl, long bytesRead, long totalBytes, boolean isDone, GlideException exception);
14 | //}
15 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/cache/CacheMode.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.cache;
2 |
3 | public enum CacheMode {
4 | /** 按照HTTP协议的默认缓存规则,例如有304响应头时缓存 */
5 | DEFAULT,
6 |
7 | /** 不使用缓存 */
8 | NO_CACHE,
9 |
10 | /** 请求网络失败后,读取缓存 */
11 | REQUEST_FAILED_READ_CACHE,
12 |
13 | /** 如果缓存不存在才请求网络,否则使用缓存 */
14 | IF_NONE_CACHE_REQUEST,
15 |
16 | /** 先使用缓存,不管是否存在,仍然请求网络 */
17 | FIRST_CACHE_THEN_REQUEST,
18 | }
19 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/round_white_alpha.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_round_dialog.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_round_white_br.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_round_white_br_p.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
13 |
14 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_round_white_bl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
14 |
15 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_round_white_bl_p.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
14 |
15 |
--------------------------------------------------------------------------------
/window/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 5dp
4 | 1px
5 | 14sp
6 | 17sp
7 | 14sp
8 | 14sp
9 | 14sp
10 |
11 |
12 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/convert/Converter.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.convert;
2 |
3 |
4 | import okhttp3.Response;
5 |
6 | /**
7 | * 网络数据的转换接口
8 | * @param
9 | */
10 | public interface Converter {
11 |
12 | /**
13 | * 拿到响应后,将数据转换成需要的格式,子线程中执行,可以是耗时操作
14 | *
15 | * @param response 需要转换的对象
16 | * @return 转换后的结果
17 | * @throws Exception 转换过程发生的异常
18 | */
19 | T convertSuccess(Response response) throws Exception;
20 | }
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/letters_nav/Letter.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.letters_nav;
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 zz on 2016/8/16.
10 | */
11 | @Target(ElementType.FIELD)
12 | @Retention(RetentionPolicy.RUNTIME)
13 | public @interface Letter {
14 | boolean isSortField();
15 | }
16 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_date_time_dialog_selector_background_underline.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/round_blood_pressure.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_rv_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
10 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/pickerview/lib/OnItemSelectedRunnable.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.pickerview.lib;
2 |
3 | final class OnItemSelectedRunnable implements Runnable {
4 | final WheelView loopView;
5 |
6 | OnItemSelectedRunnable(WheelView loopview) {
7 | loopView = loopview;
8 | }
9 |
10 | @Override
11 | public final void run() {
12 | loopView.onItemSelectedListener.onItemSelected(loopView.getCurrentItem());
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/rotation.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/window/src/main/res/values/attrs.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/camera/src/main/java/com/oklib/camera/CameraEntry.java:
--------------------------------------------------------------------------------
1 | package com.oklib.camera;
2 |
3 | import android.app.Application;
4 |
5 | /**
6 | * 时间:2017/11/9
7 | * 作者:蓝天
8 | * 描述:
9 | */
10 |
11 | public class CameraEntry {
12 |
13 | public static String packageName = "";
14 |
15 | public static void init(Application application, String _packageName) {
16 | packageName = _packageName;
17 | AppPaths.getInstance().initAppDir(application);
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/view/src/main/res/color/oklib_folder_text_color.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/camera/src/main/res/color/oklib_default_text_color.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/camera/src/main/res/color/oklib_folder_text_color.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/scale_up.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_tablayout.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/adapter/DefaultCallAdapter.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.adapter;
2 |
3 |
4 | /**
5 | * 默认的工厂处理,不对返回值做任何操作
6 | *
7 | * @param
8 | */
9 | public class DefaultCallAdapter implements CallAdapter> {
10 |
11 | public static DefaultCallAdapter create() {
12 | return new DefaultCallAdapter<>();
13 | }
14 |
15 | @Override
16 | public Call adapt(Call call) {
17 | return (Call) call;
18 | }
19 | }
--------------------------------------------------------------------------------
/http/src/test/java/com/oklib/http/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http;
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 | }
--------------------------------------------------------------------------------
/util/src/test/java/com/oklib/util/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.util;
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 | }
--------------------------------------------------------------------------------
/view/src/main/res/anim/scale_down.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
--------------------------------------------------------------------------------
/view/src/main/res/layout/oklib_list_item_icon_text.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
10 |
--------------------------------------------------------------------------------
/view/src/test/java/com/oklib/view/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view;
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 | }
--------------------------------------------------------------------------------
/zxing/src/test/java/com/oklib/zxing/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.zxing;
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 | }
--------------------------------------------------------------------------------
/camera/src/test/java/com/oklib/camera/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.camera;
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 | }
--------------------------------------------------------------------------------
/util/src/main/java/com/oklib/util/UtilEntry.java:
--------------------------------------------------------------------------------
1 | package com.oklib.util;
2 |
3 | import android.app.Application;
4 |
5 |
6 | /**
7 | * 时间:2017/11/9
8 | * 作者:蓝天
9 | * 描述:工具类入口
10 | */
11 |
12 | public class UtilEntry {
13 |
14 | public static Application application;
15 | public static boolean isDebug = true;
16 |
17 | public static void init(Application _application, boolean _isDebug) {
18 | application = _application;
19 | isDebug = _isDebug;
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/window/src/test/java/com/oklib/window/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.window;
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/java/com/oklib/view_lib/ClockViewActivity.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib;
2 |
3 | import com.oklib.R;
4 | import com.oklib.base.BaseAppActivity;
5 |
6 |
7 | /**
8 | * 时间:2018/2/7
9 | * 作者:蓝天
10 | * 描述:时钟view
11 | */
12 |
13 | public class ClockViewActivity extends BaseAppActivity {
14 | @Override
15 | protected int initLayoutId() {
16 | return R.layout.activity_clockview;
17 | }
18 |
19 | @Override
20 | protected void initView() {
21 |
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/util/src/main/java/com/oklib/util/active_permission/AllowPermissions.java:
--------------------------------------------------------------------------------
1 | package com.oklib.util.active_permission;
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 namee on 2015. 11. 17..
10 | */
11 | @Target(ElementType.TYPE)
12 | @Retention(RetentionPolicy.RUNTIME)
13 | public @interface AllowPermissions {
14 | String[] value();
15 | }
16 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/mix_lib/http/HttpEntry.java:
--------------------------------------------------------------------------------
1 | package com.oklib.mix_lib.http;
2 |
3 | import android.app.Application;
4 |
5 | import com.oklib.http.OklibHttpUtil;
6 |
7 | /**
8 | * 时间:2017/11/9
9 | * 作者:蓝天
10 | * 描述:
11 | */
12 |
13 | public class HttpEntry {
14 |
15 | public static void init(Application _application) {
16 | OklibHttpUtil.getInstance().init(_application);
17 | //日志框架打印
18 | // Logger.addLogAdapter(new AndroidLogAdapter());
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v21/ic_menu_slideshow.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/glideview/src/test/java/com/oklib/glideview/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.glideview;
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 | }
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/z_help/HttpEntry.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.z_help;
2 |
3 | import android.app.Application;
4 |
5 | import com.oklib.http.OklibHttpUtil;
6 |
7 | /**
8 | * 时间:2017/11/9
9 | * 作者:蓝天
10 | * 描述:
11 | */
12 |
13 | public class HttpEntry {
14 |
15 | public static void init(Application _application) {
16 | OklibHttpUtil.getInstance().init(_application);
17 | //日志框架打印
18 | // Logger.addLogAdapter(new AndroidLogAdapter());
19 | }
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/view_lib/LabelViewActivity.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib;
2 |
3 | import com.oklib.R;
4 | import com.oklib.base.BaseAppActivity;
5 |
6 |
7 | /**
8 | * 时间:2017/11/28
9 | * 作者:蓝天
10 | * 描述:标签view
11 | */
12 |
13 | public class LabelViewActivity extends BaseAppActivity {
14 | @Override
15 | protected int initLayoutId() {
16 | return R.layout.activity_label_view;
17 | }
18 |
19 | @Override
20 | protected void initView() {
21 |
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v21/ic_menu_gallery.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/view_lib/DragLayoutActivity.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib;
2 |
3 | import com.oklib.R;
4 | import com.oklib.base.BaseAppActivity;
5 |
6 |
7 | /**
8 | * 时间:2017/8/28
9 | * 作者:蓝天
10 | * 描述:拖拽布局使用演示
11 | */
12 |
13 | public class DragLayoutActivity extends BaseAppActivity {
14 | @Override
15 | protected int initLayoutId() {
16 | return R.layout.activity_dray_layout;
17 | }
18 |
19 | @Override
20 | protected void initView() {
21 |
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/view_lib/MiClockViewActivity.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib;
2 |
3 | import com.oklib.R;
4 | import com.oklib.base.BaseAppActivity;
5 |
6 |
7 | /**
8 | * 时间:2017/8/27
9 | * 作者:蓝天
10 | * 描述:仿小米时钟使用样例
11 | */
12 |
13 | public class MiClockViewActivity extends BaseAppActivity {
14 | @Override
15 | protected int initLayoutId() {
16 | return R.layout.activity_miclock_view;
17 | }
18 |
19 | @Override
20 | protected void initView() {
21 |
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/view/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/round_white_line.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v21/ic_menu_manage.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
--------------------------------------------------------------------------------
/view/src/main/res/values-zh/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | 所有照片
3 | 预览
4 | 没有系统相机
5 | 已经达到最高选择数量
6 | 完成
7 | 张
8 | 拍摄照片
9 |
10 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_round_white_line.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_toolbar.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
--------------------------------------------------------------------------------
/app/src/test/java/com/example/huangweicai/oklib/ExampleUnitTest.java:
--------------------------------------------------------------------------------
1 | package com.example.huangweicai.oklib;
2 |
3 | import org.junit.Test;
4 |
5 | import static org.junit.Assert.*;
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * @see Testing documentation
11 | */
12 | public class ExampleUnitTest {
13 | @Test
14 | public void addition_isCorrect() throws Exception {
15 | assertEquals(4, 2 + 2);
16 | }
17 | }
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/view_lib/TextViewMarqueeActivity.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib;
2 |
3 | import com.oklib.R;
4 | import com.oklib.base.BaseAppActivity;
5 |
6 |
7 | /**
8 | * 时间:2017/9/8
9 | * 作者:蓝天
10 | * 描述:跑马灯(支持同时多个跑马灯)使用样例
11 | */
12 |
13 | public class TextViewMarqueeActivity extends BaseAppActivity {
14 | @Override
15 | protected int initLayoutId() {
16 | return R.layout.activity_textview_marquee;
17 | }
18 |
19 | @Override
20 | protected void initView() {
21 |
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_vp_hss_page.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
13 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/callback/AbsCallbackWrapper.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.callback;
2 |
3 | import okhttp3.Call;
4 | import okhttp3.Response;
5 |
6 |
7 | /**
8 | * 所有回调的包装类,空实现
9 | *
10 | * @param
11 | */
12 | public class AbsCallbackWrapper extends AbsCallback {
13 | @Override
14 | public T convertSuccess(Response value) throws Exception {
15 | value.close();
16 | return (T) value;
17 | }
18 |
19 | @Override
20 | public void onSuccess(T t, Call call, Response response) {
21 | }
22 | }
--------------------------------------------------------------------------------
/window/src/main/res/layout/oklib_view_date_time_dialog_date_picker_layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/view_lib/AVLoadingIndicatorViewActivity.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib;
2 |
3 | import com.oklib.R;
4 | import com.oklib.base.BaseAppActivity;
5 |
6 |
7 | /**
8 | * 时间:2017/9/10
9 | * 作者:蓝天
10 | * 描述:加载view大全使用样例
11 | */
12 |
13 | public class AVLoadingIndicatorViewActivity extends BaseAppActivity {
14 | @Override
15 | protected int initLayoutId() {
16 | return R.layout.activity_avloading_indicator_view;
17 | }
18 |
19 | @Override
20 | protected void initView() {
21 |
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_date_time_dialog_background_radiobutton_underline_gray.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 | -
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/window/src/main/res/layout/oklib_pop_multi_select_list_layout.xml:
--------------------------------------------------------------------------------
1 |
5 |
6 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/camera/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | CameraLib
3 |
4 | All Images
5 | Preview
6 | No system camera found
7 | Select images amount is limit
8 | Done
9 | Shot
10 | Take photo
11 |
12 |
13 |
--------------------------------------------------------------------------------
/util/src/main/java/com/oklib/util/active_permission/PermissionFail.java:
--------------------------------------------------------------------------------
1 | package com.oklib.util.active_permission;
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 namee on 2015. 11. 18..
10 | * Register a method invoked when permission requests are denied.
11 | */
12 | @Target(ElementType.METHOD)
13 | @Retention(RetentionPolicy.RUNTIME)
14 | public @interface PermissionFail {
15 | int requestCode();
16 | }
17 |
--------------------------------------------------------------------------------
/util/src/main/java/com/oklib/util/active_permission/PermissionSuccess.java:
--------------------------------------------------------------------------------
1 | package com.oklib.util.active_permission;
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 namee on 2015. 11. 17..
10 | * Register a method invoked when permission requests are succeeded.
11 | */
12 | @Retention(RetentionPolicy.RUNTIME)
13 | @Target(ElementType.METHOD)
14 | public @interface PermissionSuccess {
15 | int requestCode();
16 | }
17 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/pickerview/lib/LoopViewGestureListener.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.pickerview.lib;
2 |
3 | import android.view.MotionEvent;
4 |
5 | final class LoopViewGestureListener extends android.view.GestureDetector.SimpleOnGestureListener {
6 |
7 | final WheelView loopView;
8 |
9 | LoopViewGestureListener(WheelView loopview) {
10 | loopView = loopview;
11 | }
12 |
13 | @Override
14 | public final boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
15 | loopView.scrollBy(velocityY);
16 | return true;
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/.idea/runConfigurations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
12 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/convert/StringConvert.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.convert;
2 |
3 |
4 | import okhttp3.Response;
5 |
6 | /**
7 | * 字符串的转换器
8 | */
9 | public class StringConvert implements Converter {
10 |
11 | public static StringConvert create() {
12 | return ConvertHolder.convert;
13 | }
14 |
15 | private static class ConvertHolder {
16 | private static StringConvert convert = new StringConvert();
17 | }
18 |
19 | @Override
20 | public String convertSuccess(Response value) throws Exception {
21 | return value.body().string();
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/oklib_pickerview_dialog_scale_out.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 |
10 |
18 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_triangle_gray.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
9 |
10 |
11 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_triangle_gray_p.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
9 |
10 |
11 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/view/src/main/res/anim/oklib_pickerview_dialog_scale_in.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
9 |
10 |
18 |
19 |
--------------------------------------------------------------------------------
/view/src/main/res/layout/oklib_layout_basepickerview.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable/selector_btn_orange.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | -
4 |
5 |
6 |
7 |
8 |
9 | -
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/callback/StringCallback.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.callback;
2 |
3 | import com.oklib.http.convert.StringConvert;
4 |
5 | import okhttp3.Response;
6 |
7 |
8 | /**
9 | * 返回字符串类型的数据
10 | */
11 | public abstract class StringCallback extends AbsCallback {
12 |
13 | @Override
14 | public String convertSuccess(Response response) throws Exception {
15 | String s = StringConvert.create().convertSuccess(response);
16 | try {
17 | response.close();
18 | } catch (Exception e) {
19 | e.printStackTrace();
20 | }
21 | return s;
22 | }
23 | }
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/progress/Utils.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.progress;
2 |
3 | import android.content.res.Resources;
4 |
5 | /**
6 | * 时间:2017/8/28
7 | * 作者:蓝天
8 | * 描述:
9 | */
10 |
11 | public class Utils {
12 | private Utils() {
13 | }
14 |
15 | public static float dp2px(Resources resources, float dp) {
16 | float scale = resources.getDisplayMetrics().density;
17 | return dp * scale + 0.5F;
18 | }
19 |
20 | public static float sp2px(Resources resources, float sp) {
21 | float scale = resources.getDisplayMetrics().scaledDensity;
22 | return sp * scale;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_pb_loading.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/app/src/main/res/values/drawables.xml:
--------------------------------------------------------------------------------
1 |
2 | - @android:drawable/ic_menu_camera
3 | - @android:drawable/ic_menu_gallery
4 | - @android:drawable/ic_menu_slideshow
5 | - @android:drawable/ic_menu_manage
6 | - @android:drawable/ic_menu_share
7 | - @android:drawable/ic_menu_send
8 |
9 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v21/ic_menu_camera.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
12 |
13 |
--------------------------------------------------------------------------------
/camera/src/main/java/com/oklib/camera/bean/Folder.java:
--------------------------------------------------------------------------------
1 | package com.oklib.camera.bean;
2 |
3 | import android.text.TextUtils;
4 |
5 | import java.util.List;
6 |
7 | /**
8 | * 文件夹
9 | */
10 | public class Folder {
11 | public String name;
12 | public String path;
13 | public Image cover;
14 | public List images;
15 |
16 | @Override
17 | public boolean equals(Object o) {
18 | try {
19 | Folder other = (Folder) o;
20 | return TextUtils.equals(other.path, path);
21 | }catch (ClassCastException e){
22 | e.printStackTrace();
23 | }
24 | return super.equals(o);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_clockview.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
16 |
--------------------------------------------------------------------------------
/camera/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 | 120dp
3 | 2dp
4 | 72dp
5 |
6 |
7 |
8 | 44dp
9 |
10 | 20dp
11 |
12 | 17sp
13 | 18sp
14 |
15 | 20sp
16 |
17 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/pickerview/adapter/WheelAdapter.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.pickerview.adapter;
2 |
3 | public interface WheelAdapter {
4 | /**
5 | * Gets items count
6 | * @return the count of wheel items
7 | */
8 | int getItemsCount();
9 |
10 | /**
11 | * Gets a wheel item by index.
12 | * @param index the item index
13 | * @return the wheel item text or null
14 | */
15 | T getItem(int index);
16 |
17 | /**
18 | * Gets maximum item length. It is used to determine the wheel width.
19 | * If -1 is returned there will be used the default wheel width.
20 | * @param o
21 | * @return the maximum item length or -1
22 | */
23 | int indexOf(T o);
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/view_lib/RubblerViewActivity.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib;
2 |
3 | import com.oklib.R;
4 | import com.oklib.base.BaseAppActivity;
5 | import com.oklib.view.RubblerView;
6 |
7 |
8 | /**
9 | * 时间:2017/9/8
10 | * 作者:蓝天
11 | * 描述:刮刮乐使用演示
12 | */
13 |
14 | public class RubblerViewActivity extends BaseAppActivity {
15 | @Override
16 | protected int initLayoutId() {
17 | return R.layout.activity_rubbler_view;
18 | }
19 |
20 | @Override
21 | protected void initView() {
22 | RubblerView mRubblerView = (RubblerView) findViewById(R.id.rubbler);
23 | mRubblerView.beginRubbler(40,
24 | 1f, "一等奖");
25 | }
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/letters_nav/adapter/BaseRecyclerViewHolder.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.letters_nav.adapter;
2 |
3 | import android.support.v7.widget.RecyclerView;
4 | import android.view.View;
5 | import android.widget.TextView;
6 |
7 | import com.oklib.view.R;
8 |
9 |
10 | /**
11 | * Created by zz on 2016/8/17.
12 | */
13 | public class BaseRecyclerViewHolder extends RecyclerView.ViewHolder {
14 |
15 | public TextView tvLetter;
16 | public View rootView;
17 |
18 | public BaseRecyclerViewHolder(View itemView) {
19 | super(itemView);
20 | rootView = itemView;
21 | tvLetter = (TextView) itemView.findViewById(R.id.tv_letter);
22 | }
23 |
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/view_lib/vp_hss/PageFragment.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib.vp_hss;
2 |
3 | import android.view.View;
4 |
5 | import com.oklib.R;
6 | import com.oklib.view.base.BaseFragment;
7 |
8 |
9 | /**
10 | * 时间:2017/8/28
11 | * 作者:蓝天
12 | * 描述:VP滑动碎片
13 | */
14 |
15 | public class PageFragment extends BaseFragment {
16 | @Override
17 | protected int initLayoutId() {
18 | return R.layout.fragment_vp_hss_page;
19 | }
20 |
21 | @Override
22 | protected void initVariable() {
23 |
24 | }
25 |
26 | @Override
27 | protected void initView(View view) {
28 |
29 | }
30 |
31 | @Override
32 | protected void initNet() {
33 |
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/camera/src/main/res/layout/oklib_activity_default.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
11 |
12 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/exception/OklibHttpException.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.exception;
2 |
3 | public class OklibHttpException extends Exception {
4 |
5 | public static OklibHttpException INSTANCE(String msg) {
6 | return new OklibHttpException(msg);
7 | }
8 |
9 | public OklibHttpException() {
10 | super();
11 | }
12 |
13 | public OklibHttpException(String detailMessage) {
14 | super(detailMessage);
15 | }
16 |
17 | public OklibHttpException(String detailMessage, Throwable throwable) {
18 | super(detailMessage, throwable);
19 | }
20 |
21 | public OklibHttpException(Throwable throwable) {
22 | super(throwable);
23 | }
24 | }
--------------------------------------------------------------------------------
/view/src/main/res/drawable/oklib_a_template.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/view_lib/tablayout/TabLayoutFragment.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib.tablayout;
2 |
3 | import android.view.View;
4 |
5 | import com.oklib.R;
6 | import com.oklib.view.base.BaseFragment;
7 |
8 |
9 | /**
10 | * 时间:2017/9/11
11 | * 作者:蓝天
12 | * 描述:
13 | */
14 |
15 | public class TabLayoutFragment extends BaseFragment {
16 | @Override
17 | protected int initLayoutId() {
18 | return R.layout.fragment_tablayout;
19 | }
20 |
21 | @Override
22 | protected void initVariable() {
23 |
24 | }
25 |
26 | @Override
27 | protected void initView(View view) {
28 |
29 | }
30 |
31 | @Override
32 | protected void initNet() {
33 |
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_permission.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_refresh.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_collect.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_detail.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
17 |
18 |
--------------------------------------------------------------------------------
/camera/src/main/java/com/oklib/camera/bean/Image.java:
--------------------------------------------------------------------------------
1 | package com.oklib.camera.bean;
2 |
3 | /**
4 | * 图片实体
5 | */
6 | public class Image {
7 | public String path;
8 | public String name;
9 | public long time;
10 |
11 | public Image(String path, String name, long time){
12 | this.path = path;
13 | this.name = name;
14 | this.time = time;
15 | }
16 |
17 | @Override
18 | public boolean equals(Object o) {
19 | try {
20 | Image other = (Image) o;
21 | return this.path.equalsIgnoreCase(other.path);
22 | }catch (ClassCastException e){
23 | e.printStackTrace();
24 | }
25 | return super.equals(o);
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/info_up.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
14 |
19 |
20 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/convert/BitmapConvert.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.convert;
2 |
3 | import android.graphics.Bitmap;
4 | import android.graphics.BitmapFactory;
5 |
6 | import okhttp3.Response;
7 |
8 |
9 | /**
10 | * 字符串的转换器
11 | */
12 | public class BitmapConvert implements Converter {
13 |
14 | public static BitmapConvert create() {
15 | return ConvertHolder.convert;
16 | }
17 |
18 | private static class ConvertHolder {
19 | private static BitmapConvert convert = new BitmapConvert();
20 | }
21 |
22 | @Override
23 | public Bitmap convertSuccess(Response value) throws Exception {
24 | return BitmapFactory.decodeStream(value.body().byteStream());
25 | }
26 | }
--------------------------------------------------------------------------------
/view/src/main/res/layout/oklib_item_rv_refresh_component.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
14 |
15 |
19 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_vp_horizontal_sliding_scale.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
17 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/info_gravity_right_up.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
13 |
14 |
15 |
19 |
20 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/mix_lib/http/UrlConfig.java:
--------------------------------------------------------------------------------
1 | package com.oklib.mix_lib.http;
2 |
3 | /**
4 | * 创建时间:2017/6/30
5 | * 编写者:蓝天
6 | * 功能描述:接口地址
7 | */
8 |
9 | public class UrlConfig {
10 | //公用端口地址
11 | private static final String BASE_DOMAIN_PORT = "https://xxx";//域名
12 | private static final String BASE_IP_PORT = "http://0.0.0.0";//测试地址
13 |
14 | private static String port;
15 | public static boolean isDomain = true;//是否是域名地址
16 |
17 | static {
18 | if (isDomain) {
19 | port = BASE_DOMAIN_PORT;
20 | } else {
21 | port = BASE_IP_PORT;
22 | }
23 | }
24 |
25 | //判断用户是否存在
26 | public static final String USER_IS_EXIST = port + "/user/exists";
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_glide_imageview_list.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
17 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/z_help/UrlConfig.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.z_help;
2 |
3 | /**
4 | * 创建时间:2017/6/30
5 | * 编写者:蓝天
6 | * 功能描述:接口地址
7 | */
8 |
9 | public class UrlConfig {
10 | //公用端口地址
11 | private static final String BASE_DOMAIN_PORT = "https://xxx";//域名
12 | private static final String BASE_IP_PORT = "http://0.0.0.0";//测试地址
13 |
14 | private static String port;
15 | public static boolean isDomain = true;//是否是域名地址
16 |
17 | static {
18 | if (isDomain) {
19 | port = BASE_DOMAIN_PORT;
20 | } else {
21 | port = BASE_IP_PORT;
22 | }
23 | }
24 |
25 | //判断用户是否存在
26 | public static final String USER_IS_EXIST = port + "/user/exists";
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/high_light/position/OnRightPosCallback.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.high_light.position;
2 |
3 | import android.graphics.RectF;
4 |
5 | import com.oklib.view.high_light.HighLight;
6 |
7 |
8 | /**
9 | * Created by caizepeng on 16/8/20.
10 | */
11 | public class OnRightPosCallback extends OnBaseCallback {
12 | public OnRightPosCallback() {
13 | }
14 |
15 | public OnRightPosCallback(float offset) {
16 | super(offset);
17 | }
18 |
19 | @Override
20 | public void getPosition(float rightMargin, float bottomMargin, RectF rectF, HighLight.MarginInfo marginInfo) {
21 | marginInfo.leftMargin = rectF.right + offset;
22 | marginInfo.topMargin = rectF.top;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/util/src/main/java/com/oklib/util/ErrorMessageUtil.java:
--------------------------------------------------------------------------------
1 | package com.oklib.util;
2 |
3 | import android.content.Context;
4 |
5 | /**
6 | * 时间:2017/9/14
7 | * 作者:蓝天
8 | * 描述:错误信息反馈工具类
9 | */
10 |
11 | public class ErrorMessageUtil {
12 | public static String printErrorMessage(Context context, String methodName, String errorMessage) {
13 | return "\n############################errorMessage start ##############################\n"
14 | + MobileUtil.printMobileInfo(context) + MobileUtil.printSystemInfo() + "\n错误信息:" + errorMessage + "\n方法名:" + methodName + "\n当前app版本号:" + VersionUtil.getVersion(context)
15 | + "\n############################errorMessage end##############################";
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/high_light/position/OnLeftPosCallback.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.high_light.position;
2 |
3 | import android.graphics.RectF;
4 |
5 | import com.oklib.view.high_light.HighLight;
6 |
7 |
8 | /**
9 | * Created by caizepeng on 16/8/20.
10 | */
11 | public class OnLeftPosCallback extends OnBaseCallback {
12 | public OnLeftPosCallback() {
13 | }
14 |
15 | public OnLeftPosCallback(float offset) {
16 | super(offset);
17 | }
18 |
19 | @Override
20 | public void getPosition(float rightMargin, float bottomMargin, RectF rectF, HighLight.MarginInfo marginInfo) {
21 | marginInfo.rightMargin = rightMargin+rectF.width()+offset;
22 | marginInfo.topMargin = rectF.top;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/fragment_test.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
14 |
15 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/view/src/main/res/layout/oklib_activity_refresh.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
13 |
14 |
18 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/dialog_more.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
14 |
15 |
19 |
20 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/high_light/position/OnBottomPosCallback.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.high_light.position;
2 |
3 | import android.graphics.RectF;
4 |
5 | import com.oklib.view.high_light.HighLight;
6 |
7 |
8 | /**
9 | * Created by caizepeng on 16/8/20.
10 | */
11 | public class OnBottomPosCallback extends OnBaseCallback{
12 | public OnBottomPosCallback() {
13 | }
14 |
15 | public OnBottomPosCallback(float offset) {
16 | super(offset);
17 | }
18 |
19 | @Override
20 | public void getPosition(float rightMargin, float bottomMargin, RectF rectF, HighLight.MarginInfo marginInfo) {
21 | marginInfo.rightMargin = rightMargin;
22 | marginInfo.topMargin = rectF.top + rectF.height()+offset;
23 | }
24 |
25 | }
26 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_progressstyleshape.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
14 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/app/src/main/res/drawable-v21/ic_menu_share.xml:
--------------------------------------------------------------------------------
1 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/app/src/main/res/layout/info_gravity_left_down.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/high_light/position/OnTopPosCallback.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.high_light.position;
2 |
3 | import android.graphics.RectF;
4 |
5 | import com.oklib.view.high_light.HighLight;
6 |
7 |
8 | /**
9 | * Created by caizepeng on 16/8/20.
10 | */
11 | public class OnTopPosCallback extends OnBaseCallback {
12 | public OnTopPosCallback() {
13 | }
14 |
15 | public OnTopPosCallback(float offset) {
16 | super(offset);
17 | }
18 |
19 | @Override
20 | public void getPosition(float rightMargin, float bottomMargin, RectF rectF, HighLight.MarginInfo marginInfo) {
21 | marginInfo.leftMargin = rectF.right - rectF.width() / 2;
22 | marginInfo.bottomMargin = bottomMargin+rectF.height()+offset;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/camera/src/main/java/com/oklib/camera/view/SquaredImageView.java:
--------------------------------------------------------------------------------
1 | package com.oklib.camera.view;
2 |
3 | import android.content.Context;
4 | import android.util.AttributeSet;
5 | import android.widget.ImageView;
6 |
7 | /** An image view which always remains square with respect to its width. */
8 | public class SquaredImageView extends ImageView {
9 | public SquaredImageView(Context context) {
10 | super(context);
11 | }
12 |
13 | public SquaredImageView(Context context, AttributeSet attrs) {
14 | super(context, attrs);
15 | }
16 |
17 | @Override protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
18 | super.onMeasure(widthMeasureSpec, heightMeasureSpec);
19 | setMeasuredDimension(getMeasuredWidth(), getMeasuredWidth());
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/letters_nav/utils/PinyinComparator.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.letters_nav.utils;
2 |
3 |
4 | import com.oklib.view.letters_nav.bean.SortModel;
5 |
6 | import java.util.Comparator;
7 |
8 | public class PinyinComparator implements Comparator {
9 |
10 | @Override
11 | public int compare(SortModel lhs, SortModel rhs) {
12 | if (lhs.getSortLetters().equals("@")
13 | || rhs.getSortLetters().equals("#")) {
14 | return -1;
15 | } else if (lhs.getSortLetters().equals("#")
16 | || rhs.getSortLetters().equals("@")) {
17 | return 1;
18 | } else {
19 | return lhs.getSortLetters().compareTo(rhs.getSortLetters());
20 | }
21 | }
22 |
23 | }
24 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/callback/BitmapCallback.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.callback;
2 |
3 | import android.graphics.Bitmap;
4 |
5 | import com.oklib.http.convert.BitmapConvert;
6 |
7 | import okhttp3.Response;
8 |
9 | /**
10 | * ================================================
11 | * 作 者:廖子尧
12 | * 版 本:1.0
13 | * 创建日期:2016/1/12
14 | * 描 述:返回图片的Bitmap,这里没有进行图片的缩放,可能会发生 OOM
15 | * 修订历史:
16 | * ================================================
17 | */
18 | public abstract class BitmapCallback extends AbsCallback {
19 |
20 | @Override
21 | public Bitmap convertSuccess(Response response) throws Exception {
22 | Bitmap bitmap = BitmapConvert.create().convertSuccess(response);
23 | response.close();
24 | return bitmap;
25 | }
26 | }
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/cookie/store/CookieStore.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.cookie.store;
2 |
3 | import okhttp3.Cookie;
4 | import okhttp3.HttpUrl;
5 |
6 | import java.util.List;
7 |
8 |
9 | /**
10 | * CookieStore 的公共接口
11 | */
12 | public interface CookieStore {
13 |
14 | /** 保存url对应所有cookie */
15 | void saveCookies(HttpUrl url, List cookie);
16 |
17 | /** 加载url所有的cookie */
18 | List loadCookies(HttpUrl url);
19 |
20 | /** 获取当前所有保存的cookie */
21 | List getAllCookie();
22 |
23 | /** 根据url和cookie移除对应的cookie */
24 | boolean removeCookie(HttpUrl url, Cookie cookie);
25 |
26 | /** 根据url移除所有的cookie */
27 | boolean removeCookies(HttpUrl url);
28 |
29 | /** 移除所有的cookie */
30 | boolean removeAllCookie();
31 | }
32 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/request/HeadRequest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.request;
2 |
3 |
4 | import com.oklib.http.utils.HttpUtils;
5 |
6 | import okhttp3.Request;
7 | import okhttp3.RequestBody;
8 |
9 | public class HeadRequest extends BaseRequest {
10 |
11 | public HeadRequest(String url) {
12 | super(url);
13 | }
14 |
15 | @Override
16 | public RequestBody generateRequestBody() {
17 | return null;
18 | }
19 |
20 | @Override
21 | public Request generateRequest(RequestBody requestBody) {
22 | Request.Builder requestBuilder = HttpUtils.appendHeaders(headers);
23 | url = HttpUtils.createUrlFromParams(baseUrl, params.urlParamsMap);
24 | return requestBuilder.head().url(url).tag(tag).build();
25 | }
26 | }
--------------------------------------------------------------------------------
/camera/src/main/java/com/oklib/camera/view/SquareFrameLayout.java:
--------------------------------------------------------------------------------
1 | package com.oklib.camera.view;
2 |
3 | import android.content.Context;
4 | import android.util.AttributeSet;
5 | import android.widget.FrameLayout;
6 |
7 | /**
8 | * Created by nereo on 15/11/10.
9 | */
10 | public class SquareFrameLayout extends FrameLayout{
11 | public SquareFrameLayout(Context context) {
12 | super(context);
13 | }
14 |
15 | public SquareFrameLayout(Context context, AttributeSet attrs) {
16 | super(context, attrs);
17 | }
18 |
19 | @Override
20 | protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
21 | super.onMeasure(widthMeasureSpec, heightMeasureSpec);
22 | setMeasuredDimension(getMeasuredWidth(), getMeasuredWidth());
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/view/src/main/java/com/oklib/view/ratingbar/SimpleRatingBar.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view.ratingbar;
2 |
3 | import android.graphics.drawable.Drawable;
4 | import android.support.annotation.DrawableRes;
5 |
6 | /**
7 | * Created by willy on 2017/5/10.
8 | */
9 | interface SimpleRatingBar {
10 |
11 | void setNumStars(int numStars);
12 |
13 | int getNumStars();
14 |
15 | void setRating(float rating);
16 |
17 | float getRating();
18 |
19 | void setStarPadding(int ratingPadding);
20 |
21 | int getStarPadding();
22 |
23 |
24 | void setEmptyDrawable(Drawable drawable);
25 |
26 | void setEmptyDrawableRes(@DrawableRes int res);
27 |
28 | void setFilledDrawable(Drawable drawable);
29 |
30 | void setFilledDrawableRes(@DrawableRes int res);
31 |
32 |
33 | }
34 |
--------------------------------------------------------------------------------
/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 |
3 | # IDE (e.g. Android Studio) users:
4 | # Gradle settings configured through the IDE *will override*
5 | # any settings specified in this file.
6 |
7 | # For more details on how to configure your build environment visit
8 | # http://www.gradle.org/docs/current/userguide/build_environment.html
9 |
10 | # Specifies the JVM arguments used for the daemon process.
11 | # The setting is particularly useful for tweaking memory settings.
12 | org.gradle.jvmargs=-Xmx1536m
13 |
14 | # When configured, Gradle will run in incubating parallel mode.
15 | # This option should only be used with decoupled projects. More details, visit
16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17 | # org.gradle.parallel=true
18 |
--------------------------------------------------------------------------------
/camera/src/main/res/layout/oklib_list_item_camera.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
17 |
18 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/adapter/Call.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.adapter;
2 |
3 |
4 | import com.oklib.http.callback.AbsCallback;
5 | import com.oklib.http.model.Response;
6 | import com.oklib.http.request.BaseRequest;
7 |
8 | /**
9 | * 请求的包装类
10 | *
11 | * @param
12 | */
13 | public interface Call {
14 | /**
15 | * 同步执行
16 | */
17 | Response execute() throws Exception;
18 |
19 | /**
20 | * 异步回调执行
21 | */
22 | void execute(AbsCallback callback);
23 |
24 | /**
25 | * 是否已经执行
26 | */
27 | boolean isExecuted();
28 |
29 | /**
30 | * 取消
31 | */
32 | void cancel();
33 |
34 | /**
35 | * 是否取消
36 | */
37 | boolean isCanceled();
38 |
39 | Call clone();
40 |
41 | BaseRequest getBaseRequest();
42 | }
--------------------------------------------------------------------------------
/app/src/main/res/layout/activity_temp_control_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
12 |
13 |
19 |
--------------------------------------------------------------------------------
/window/src/main/res/layout/oklib_region_selection_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
16 |
17 |
21 |
--------------------------------------------------------------------------------
/http/src/main/java/com/oklib/http/request/GetRequest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http.request;
2 |
3 | import com.oklib.http.utils.HttpUtils;
4 |
5 | import okhttp3.Request;
6 | import okhttp3.RequestBody;
7 |
8 | /**
9 | * Get请求的实现类,注意需要传入本类的泛型
10 | */
11 | public class GetRequest extends BaseRequest {
12 |
13 | public GetRequest(String url) {
14 | super(url);
15 | }
16 |
17 | @Override
18 | public RequestBody generateRequestBody() {
19 | return null;
20 | }
21 |
22 | @Override
23 | public Request generateRequest(RequestBody requestBody) {
24 | Request.Builder requestBuilder = HttpUtils.appendHeaders(headers);
25 | url = HttpUtils.createUrlFromParams(baseUrl, params.urlParamsMap);
26 | return requestBuilder.get().url(url).tag(tag).build();
27 | }
28 | }
--------------------------------------------------------------------------------
/window/src/main/res/layout/oklib_dialog_ios_center_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
18 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_dialog_ios_center_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
18 |
--------------------------------------------------------------------------------
/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 |
--------------------------------------------------------------------------------
/app/src/main/java/com/oklib/view_lib/pickerview/bean/CardBean.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view_lib.pickerview.bean;
2 |
3 |
4 | import com.oklib.view.pickerview.model.IPickerViewData;
5 |
6 | public class CardBean implements IPickerViewData {
7 | int id;
8 | String cardNo;
9 |
10 | public CardBean(int id, String cardNo) {
11 | this.id = id;
12 | this.cardNo = cardNo;
13 | }
14 |
15 | public int getId() {
16 | return id;
17 | }
18 |
19 | public void setId(int id) {
20 | this.id = id;
21 | }
22 |
23 | public String getCardNo() {
24 | return cardNo;
25 | }
26 |
27 | public void setCardNo(String cardNo) {
28 | this.cardNo = cardNo;
29 | }
30 |
31 | @Override
32 | public String getPickerViewText() {
33 | return cardNo;
34 | }
35 |
36 | }
37 |
38 |
--------------------------------------------------------------------------------
/camera/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 |
--------------------------------------------------------------------------------
/http/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 |
--------------------------------------------------------------------------------
/util/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 |
--------------------------------------------------------------------------------
/view/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 |
--------------------------------------------------------------------------------
/window/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 |
--------------------------------------------------------------------------------
/zxing/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 |
--------------------------------------------------------------------------------
/glideview/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 |
--------------------------------------------------------------------------------
/view/src/main/res/layout/oklib_addressbook_search_region_selection_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
17 |
18 |
22 |
--------------------------------------------------------------------------------
/window/src/main/res/drawable/oklib_date_time_dialog_background_radiobutton_underline_blue.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | -
5 |
6 |
7 |
8 |
9 |
10 | -
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | -
21 |
22 |
23 |
24 |
25 |
26 | -
28 |
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/http/src/androidTest/java/com/oklib/http/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.http;
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("com.oklib.http.test", appContext.getPackageName());
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/util/src/androidTest/java/com/oklib/util/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.util;
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("com.oklib.util.test", appContext.getPackageName());
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/view/src/androidTest/java/com/oklib/view/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.view;
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("com.oklib.view.test", appContext.getPackageName());
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/app/src/main/res/menu/activity_main_drawer.xml:
--------------------------------------------------------------------------------
1 |
2 |
25 |
--------------------------------------------------------------------------------
/glideview/src/main/java/com/oklib/glideview/progress/ProgressAppGlideModule.java:
--------------------------------------------------------------------------------
1 | //package com.oklib.glideview.progress;
2 | //
3 | //import android.content.Context;
4 | //
5 | //import com.bumptech.glide.Registry;
6 | //import com.bumptech.glide.annotation.GlideModule;
7 | //import com.bumptech.glide.load.model.GlideUrl;
8 | //import com.bumptech.glide.module.AppGlideModule;
9 | //import com.bumptech.glide.okhttp3.OkHttpUrlLoader;
10 | //
11 | //import java.io.InputStream;
12 | //
13 | ///**
14 | // * 时间:2017/8/2
15 | // * 作者:蓝天
16 | // * 描述:
17 | // */
18 | //@GlideModule
19 | //public class ProgressAppGlideModule extends AppGlideModule {
20 | //
21 | // @Override
22 | // public void registerComponents(Context context, Registry registry) {
23 | // registry.replace(GlideUrl.class, InputStream.class, new OkHttpUrlLoader.Factory(ProgressManager.getOkHttpClient()));
24 | // }
25 | //}
--------------------------------------------------------------------------------
/zxing/src/androidTest/java/com/oklib/zxing/ExampleInstrumentedTest.java:
--------------------------------------------------------------------------------
1 | package com.oklib.zxing;
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("com.oklib.zxing.test", appContext.getPackageName());
25 | }
26 | }
27 |
--------------------------------------------------------------------------------