├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── NOTICE ├── README.md ├── RELEASE-NOTES.md ├── build.gradle ├── common ├── android-maven-publish.gradle └── android-signing-utils.gradle ├── doclava ├── LICENSE ├── NOTICE ├── README.md ├── doclava-1.0.6.jar └── template │ ├── assets │ ├── customizations.css │ ├── customizations.js │ ├── doclava-developer-core.css │ ├── doclava-developer-docs.css │ ├── doclava-developer-docs.js │ ├── doclava-developer-reference.js │ ├── images │ │ ├── bg_fade.jpg │ │ ├── bg_logo.png │ │ ├── body-gradient-tab.png │ │ ├── body-gradient.png │ │ ├── grad-rule-qv.png │ │ ├── hr_gray_main.jpg │ │ ├── hr_gray_side.jpg │ │ ├── left_off.jpg │ │ ├── left_on.jpg │ │ ├── preliminary.png │ │ ├── resizable-e.gif │ │ ├── resizable-e2.gif │ │ ├── resizable-eg.gif │ │ ├── resizable-s.gif │ │ ├── resizable-s2.gif │ │ ├── resizable-sg.gif │ │ ├── right_off.jpg │ │ ├── right_on.jpg │ │ ├── sidenav-rule.png │ │ ├── spacer.gif │ │ ├── triangle-closed-small.png │ │ ├── triangle-closed.png │ │ ├── triangle-opened-small.png │ │ └── triangle-opened.png │ ├── jquery-history.js │ ├── jquery-resizable.min.js │ ├── prettify.js │ ├── search_autocomplete.js │ ├── style.css │ └── triangle-none.gif │ ├── class.cs │ ├── classes.cs │ ├── components.cs │ ├── components │ ├── api_filter.cs │ ├── left_nav.cs │ ├── masthead.cs │ └── search_box.cs │ ├── customizations.cs │ ├── data.hdf │ ├── diff.cs │ ├── docpage.cs │ ├── doctype.cs │ ├── footer.cs │ ├── head_tag.cs │ ├── header.cs │ ├── hierarchy.cs │ ├── index.cs │ ├── keywords.cs │ ├── lists.cs │ ├── macros.cs │ ├── navtree_data.cs │ ├── nosidenavpage.cs │ ├── package-descr.cs │ ├── package-list.cs │ ├── package.cs │ ├── packages.cs │ ├── sample.cs │ ├── sampleindex.cs │ ├── source.cs │ ├── todo.cs │ ├── trailer.cs │ └── yaml_navtree.cs ├── example ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── assets │ └── oss │ │ ├── 0_advanced_recyclerview │ │ ├── LINK │ │ ├── NAME │ │ └── NOTICE │ │ ├── 1_material_design_icons │ │ ├── LINK │ │ ├── NAME │ │ └── NOTICE │ │ └── 2_tablayouthelper │ │ ├── LINK │ │ ├── NAME │ │ └── NOTICE │ ├── java │ └── com │ │ └── h6ah4i │ │ └── android │ │ └── example │ │ └── advrecyclerview │ │ ├── about │ │ ├── AboutActivity.java │ │ └── AssetFileLibraryLicenseDataCollector.java │ │ ├── common │ │ ├── adapter │ │ │ ├── DemoHeaderFooterAdapter.java │ │ │ ├── OnListItemClickMessageListener.java │ │ │ ├── SimpleDemoExpandableItemAdapter.java │ │ │ └── SimpleDemoItemAdapter.java │ │ ├── data │ │ │ ├── AbstractAddRemoveExpandableDataProvider.java │ │ │ ├── AbstractDataProvider.java │ │ │ ├── AbstractExpandableDataProvider.java │ │ │ ├── ExampleAddRemoveExpandableDataProvider.java │ │ │ ├── ExampleDataProvider.java │ │ │ ├── ExampleExpandableDataProvider.java │ │ │ ├── ExampleSectionDataProvider.java │ │ │ └── ExampleSectionExpandableDataProvider.java │ │ ├── fragment │ │ │ ├── ExampleAddRemoveExpandableDataProviderFragment.java │ │ │ ├── ExampleDataProviderFragment.java │ │ │ ├── ExampleExpandableDataProviderFragment.java │ │ │ ├── ExampleSectionDataProviderFragment.java │ │ │ ├── ExampleSectionExpandableDataProviderFragment.java │ │ │ ├── ExpandableItemPinnedMessageDialogFragment.java │ │ │ └── ItemPinnedMessageDialogFragment.java │ │ ├── utils │ │ │ ├── DrawableUtils.java │ │ │ └── ViewUtils.java │ │ └── widget │ │ │ ├── ExpandableItemIndicator.java │ │ │ ├── ExpandableItemIndicatorImplAnim.java │ │ │ └── ExpandableItemIndicatorImplNoAnim.java │ │ ├── demo_composition_all │ │ ├── CompositionAllExampleActivity.java │ │ ├── MyDraggableAdapter.java │ │ ├── MyExpandableAdapter.java │ │ ├── MySectionHeaderAdapter.java │ │ └── MySwipeableAdapter.java │ │ ├── demo_d_basic │ │ ├── DraggableExampleActivity.java │ │ ├── DraggableExampleFragment.java │ │ └── DraggableExampleItemAdapter.java │ │ ├── demo_d_check_can_drop │ │ ├── DraggableCheckCanDropExampleActivity.java │ │ ├── DraggableCheckCanDropExampleFragment.java │ │ └── DraggableCheckCanDropExampleItemAdapter.java │ │ ├── demo_d_grid │ │ ├── DraggableGridExampleActivity.java │ │ ├── DraggableGridExampleAdapter.java │ │ └── DraggableGridExampleFragment.java │ │ ├── demo_d_minimal │ │ └── MinimalDraggableExampleActivity.java │ │ ├── demo_d_on_longpress │ │ ├── DragOnLongPressExampleActivity.java │ │ ├── DragOnLongPressExampleAdapter.java │ │ └── DragOnLongPressExampleFragment.java │ │ ├── demo_d_staggered_grid │ │ ├── DraggableStaggeredGridExampleActivity.java │ │ ├── DraggableStaggeredGridExampleAdapter.java │ │ └── DraggableStaggeredGridExampleFragment.java │ │ ├── demo_d_with_section │ │ ├── DraggableWithSectionExampleActivity.java │ │ ├── DraggableWithSectionExampleAdapter.java │ │ └── DraggableWithSectionExampleFragment.java │ │ ├── demo_ds │ │ ├── DraggableSwipeableExampleActivity.java │ │ ├── DraggableSwipeableExampleAdapter.java │ │ └── DraggableSwipeableExampleFragment.java │ │ ├── demo_e_add_remove │ │ ├── AddRemoveExpandableExampleActivity.java │ │ ├── AddRemoveExpandableExampleAdapter.java │ │ └── AddRemoveExpandableExampleFragment.java │ │ ├── demo_e_already_expanded │ │ ├── AlreadyExpandedGroupsExpandableExampleActivity.java │ │ ├── AlreadyExpandedGroupsExpandableExampleAdapter.java │ │ └── AlreadyExpandedGroupsExpandableExampleFragment.java │ │ ├── demo_e_basic │ │ ├── ExpandableExampleActivity.java │ │ ├── ExpandableExampleAdapter.java │ │ └── ExpandableExampleFragment.java │ │ ├── demo_e_minimal │ │ └── MinimalExpandableExampleActivity.java │ │ ├── demo_ed_with_section │ │ ├── ExpandableDraggableWithSectionExampleActivity.java │ │ ├── ExpandableDraggableWithSectionExampleAdapter.java │ │ └── ExpandableDraggableWithSectionExampleFragment.java │ │ ├── demo_eds │ │ ├── ExpandableDraggableSwipeableExampleActivity.java │ │ ├── ExpandableDraggableSwipeableExampleAdapter.java │ │ └── ExpandableDraggableSwipeableExampleFragment.java │ │ ├── demo_hf_add_remove │ │ ├── AddRemoveHeaderFooterExampleActivity.java │ │ └── MyHeaderFooterAdapter.java │ │ ├── demo_hf_e │ │ └── ExpandableWithHeaderFooterExampleActivity.java │ │ ├── demo_hf_minimal │ │ └── MinimalHeaderFooterExampleActivity.java │ │ ├── demo_s_basic │ │ ├── SwipeableExampleActivity.java │ │ ├── SwipeableExampleAdapter.java │ │ └── SwipeableExampleFragment.java │ │ ├── demo_s_button │ │ ├── SwipeableWithButtonExampleActivity.java │ │ ├── SwipeableWithButtonExampleAdapter.java │ │ └── SwipeableWithButtonExampleFragment.java │ │ ├── demo_s_longpress │ │ ├── SwipeOnLongPressExampleActivity.java │ │ ├── SwipeOnLongPressExampleAdapter.java │ │ └── SwipeOnLongPressExampleFragment.java │ │ ├── demo_s_minimal │ │ └── MinimalSwipeableExampleActivity.java │ │ ├── demo_s_vertical │ │ ├── VerticalSwipeableExampleActivity.java │ │ ├── VerticalSwipeableExampleAdapter.java │ │ └── VerticalSwipeableExampleFragment.java │ │ ├── demo_s_viewpager │ │ ├── PagerSwipeItemFrameLayout.java │ │ ├── ViewPagerSwipeableExampleActivity.java │ │ ├── ViewPagerSwipeableExampleAdapter.java │ │ ├── ViewPagerSwipeableExampleFragment.java │ │ └── ViewPagerSwipeableExamplePagerAdapter.java │ │ ├── demo_wa_filtering │ │ ├── CustomFilteringWrapperAdapterExampleActivity.java │ │ └── MyItemFilteringAdapter.java │ │ ├── demo_wa_insertion │ │ ├── CustomInsertionWrapperAdapterExampleActivity.java │ │ └── MyItemInsertionAdapter.java │ │ └── launcher │ │ ├── LauncherButtonsAdapter.java │ │ ├── LauncherPageFragment.java │ │ ├── LauncherPagerAdapter.java │ │ ├── MainActivity.java │ │ └── OptionsMenuFragment.java │ └── res │ ├── animator │ ├── expand_less_to_expand_more_rotation.xml │ └── expand_more_to_expand_less_rotation.xml │ ├── drawable-hdpi │ ├── ic_item_swipe_dismiss.png │ ├── ic_item_swipe_pinned.png │ ├── ic_launcher.png │ ├── material_shadow_z1.xml │ └── material_shadow_z3.xml │ ├── drawable-ldpi │ ├── ic_item_swipe_dismiss.png │ ├── ic_item_swipe_pinned.png │ ├── ic_launcher.png │ ├── material_shadow_z1.xml │ └── material_shadow_z3.xml │ ├── drawable-mdpi │ ├── ic_item_swipe_dismiss.png │ ├── ic_item_swipe_pinned.png │ ├── ic_launcher.png │ ├── material_shadow_z1.xml │ └── material_shadow_z3.xml │ ├── drawable-nodpi │ ├── ic_expand_less.xml │ ├── ic_expand_less_to_expand_more.xml │ ├── ic_expand_more.xml │ ├── ic_expand_more_to_expand_less.xml │ ├── material_shadow_z1_mdpi.9.png │ ├── material_shadow_z1_xhdpi.9.png │ ├── material_shadow_z1_xxhdpi.9.png │ ├── material_shadow_z1_xxxhdpi.9.png │ ├── material_shadow_z3_mdpi.9.png │ ├── material_shadow_z3_xhdpi.9.png │ ├── material_shadow_z3_xxhdpi.9.png │ └── material_shadow_z3_xxxhdpi.9.png │ ├── drawable-tvdpi │ ├── material_shadow_z1.xml │ └── material_shadow_z3.xml │ ├── drawable-xhdpi │ ├── ic_item_swipe_dismiss.png │ ├── ic_item_swipe_pinned.png │ ├── ic_launcher.png │ ├── material_shadow_z1.xml │ └── material_shadow_z3.xml │ ├── drawable-xxhdpi │ ├── ic_item_swipe_dismiss.png │ ├── ic_item_swipe_pinned.png │ ├── ic_launcher.png │ ├── material_shadow_z1.xml │ └── material_shadow_z3.xml │ ├── drawable-xxxhdpi │ ├── ic_item_swipe_dismiss.png │ ├── ic_item_swipe_pinned.png │ ├── ic_launcher.png │ ├── material_shadow_z1.xml │ └── material_shadow_z3.xml │ ├── drawable │ ├── bg_group_item_dragging_active_state.xml │ ├── bg_group_item_dragging_state.xml │ ├── bg_group_item_expanded_state.xml │ ├── bg_group_item_normal_state.xml │ ├── bg_group_item_swiping_active_state.xml │ ├── bg_group_item_swiping_state.xml │ ├── bg_item_dragging_active_state.xml │ ├── bg_item_dragging_state.xml │ ├── bg_item_normal_state.xml │ ├── bg_item_swiping_active_state.xml │ ├── bg_item_swiping_state.xml │ ├── bg_swipe_group_item_left.xml │ ├── bg_swipe_group_item_right.xml │ ├── bg_swipe_item_down.xml │ ├── bg_swipe_item_left.xml │ ├── bg_swipe_item_neutral.xml │ ├── bg_swipe_item_right.xml │ ├── bg_swipe_item_up.xml │ ├── list_divider_h.xml │ └── list_divider_v.xml │ ├── layout │ ├── activity_about.xml │ ├── activity_demo.xml │ ├── activity_demo_minimal.xml │ ├── activity_demo_viewpager.xml │ ├── activity_main.xml │ ├── dummy_header_item.xml │ ├── footer_item.xml │ ├── fragment_oss_license_info.xml │ ├── fragment_recycler_list_view.xml │ ├── header_item.xml │ ├── license_info_item.xml │ ├── list_child_item_for_expandable_minimal.xml │ ├── list_grid_item.xml │ ├── list_group_item.xml │ ├── list_group_item_draggable.xml │ ├── list_group_item_for_expandable_minimal.xml │ ├── list_group_item_with_add_remove_buttons.xml │ ├── list_item.xml │ ├── list_item2.xml │ ├── list_item2_draggable.xml │ ├── list_item_draggable.xml │ ├── list_item_for_swipe_minimal.xml │ ├── list_item_minimal.xml │ ├── list_item_v.xml │ ├── list_item_view_pager.xml │ ├── list_item_with_add_remove_buttons.xml │ ├── list_item_with_leave_behind_button.xml │ ├── list_section_header.xml │ ├── menu_appbar_mode_switch.xml │ ├── menu_appbar_on_off_switch.xml │ ├── recycler_view_item_launcher_button.xml │ └── widget_expandable_item_indicator.xml │ ├── menu │ ├── menu_drag_grid.xml │ ├── menu_e_add_remove.xml │ ├── menu_e_already_expanded.xml │ ├── menu_hf_add_remove.xml │ ├── menu_main.xml │ └── menu_wa_on_off_toggle.xml │ ├── values-v21 │ └── styles.xml │ ├── values-w820dp │ └── dimens.xml │ └── values │ ├── colors.xml │ ├── dimens.xml │ ├── integers.xml │ ├── strings.xml │ └── styles.xml ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── images ├── contributing_pull_request.png └── other_example_ios_mail.png ├── library ├── .gitignore ├── build.gradle ├── library-data.properties ├── proguard-rules.pro └── src │ ├── androidTest │ ├── AndroidManifest.xml │ └── java │ │ └── com │ │ └── h6ah4i │ │ └── android │ │ └── widget │ │ └── advrecyclerview │ │ ├── GeneralItemAnimatorTest.java │ │ ├── RefactoredDefaultItemAnimatorTest.java │ │ ├── SwipeDismissItemAnimatorTest.java │ │ └── TestActivity.java │ ├── main │ ├── AndroidManifest.xml │ └── java │ │ └── com │ │ └── h6ah4i │ │ └── android │ │ └── widget │ │ └── advrecyclerview │ │ ├── adapter │ │ ├── AdapterPath.java │ │ ├── AdapterPathSegment.java │ │ ├── BridgeAdapterDataObserver.java │ │ ├── ItemIdComposer.java │ │ ├── ItemViewTypeComposer.java │ │ ├── SimpleWrapperAdapter.java │ │ ├── UnwrapPositionResult.java │ │ ├── WrappedAdapter.java │ │ └── WrapperAdapter.java │ │ ├── animator │ │ ├── BaseItemAnimator.java │ │ ├── DraggableItemAnimator.java │ │ ├── GeneralItemAnimator.java │ │ ├── RefactoredDefaultItemAnimator.java │ │ ├── SwipeDismissItemAnimator.java │ │ └── impl │ │ │ ├── AddAnimationInfo.java │ │ │ ├── BaseItemAnimationManager.java │ │ │ ├── ChangeAnimationInfo.java │ │ │ ├── ItemAddAnimationManager.java │ │ │ ├── ItemAnimationInfo.java │ │ │ ├── ItemChangeAnimationManager.java │ │ │ ├── ItemMoveAnimationManager.java │ │ │ ├── ItemRemoveAnimationManager.java │ │ │ ├── MoveAnimationInfo.java │ │ │ └── RemoveAnimationInfo.java │ │ ├── composedadapter │ │ ├── AdaptersSet.java │ │ ├── ComposedAdapter.java │ │ ├── ComposedChildAdapterDataObserver.java │ │ ├── ComposedChildAdapterTag.java │ │ ├── SegmentedPositionTranslator.java │ │ └── SegmentedViewTypeTranslator.java │ │ ├── decoration │ │ ├── ItemShadowDecorator.java │ │ └── SimpleListDividerDecorator.java │ │ ├── draggable │ │ ├── BaseDraggableItemDecorator.java │ │ ├── BaseEdgeEffectDecorator.java │ │ ├── BasicSwapTargetTranslationInterpolator.java │ │ ├── DraggableItemAdapter.java │ │ ├── DraggableItemConstants.java │ │ ├── DraggableItemState.java │ │ ├── DraggableItemViewHolder.java │ │ ├── DraggableItemWrapperAdapter.java │ │ ├── DraggingItemDecorator.java │ │ ├── DraggingItemEffectsInfo.java │ │ ├── DraggingItemInfo.java │ │ ├── ItemDraggableRange.java │ │ ├── LeftRightEdgeEffectDecorator.java │ │ ├── RecyclerViewDragDropManager.java │ │ ├── SwapTargetItemOperator.java │ │ ├── TopBottomEdgeEffectDecorator.java │ │ └── annotation │ │ │ └── DraggableItemStateFlags.java │ │ ├── event │ │ ├── BaseRecyclerViewEventDistributor.java │ │ ├── RecyclerViewEventDistributorListener.java │ │ └── RecyclerViewRecyclerEventDistributor.java │ │ ├── expandable │ │ ├── BaseExpandableSwipeableItemAdapter.java │ │ ├── ChildPositionItemDraggableRange.java │ │ ├── ExpandableAdapterHelper.java │ │ ├── ExpandableDraggableItemAdapter.java │ │ ├── ExpandableItemAdapter.java │ │ ├── ExpandableItemConstants.java │ │ ├── ExpandableItemState.java │ │ ├── ExpandableItemViewHolder.java │ │ ├── ExpandablePositionTranslator.java │ │ ├── ExpandableRecyclerViewWrapperAdapter.java │ │ ├── ExpandableSwipeableItemAdapter.java │ │ ├── ExpandableSwipeableItemInternalUtils.java │ │ ├── GroupPositionItemDraggableRange.java │ │ ├── RecyclerViewExpandableItemManager.java │ │ └── annotation │ │ │ └── ExpandableItemStateFlags.java │ │ ├── headerfooter │ │ └── AbstractHeaderFooterWrapperAdapter.java │ │ ├── swipeable │ │ ├── InternalConstants.java │ │ ├── InternalHelperKK.java │ │ ├── ItemSlidingAnimator.java │ │ ├── RecyclerViewSwipeManager.java │ │ ├── RemovingItemDecorator.java │ │ ├── RubberBandInterpolator.java │ │ ├── SwipeReactionUtils.java │ │ ├── SwipeableItemAdapter.java │ │ ├── SwipeableItemConstants.java │ │ ├── SwipeableItemState.java │ │ ├── SwipeableItemViewHolder.java │ │ ├── SwipeableItemWrapperAdapter.java │ │ ├── SwipeableViewHolderUtils.java │ │ ├── SwipingItemOperator.java │ │ ├── action │ │ │ ├── SwipeResultAction.java │ │ │ ├── SwipeResultActionDefault.java │ │ │ ├── SwipeResultActionDoNothing.java │ │ │ ├── SwipeResultActionMoveToOrigin.java │ │ │ ├── SwipeResultActionMoveToSwipedDirection.java │ │ │ └── SwipeResultActionRemoveItem.java │ │ └── annotation │ │ │ ├── SwipeableItemAfterReactions.java │ │ │ ├── SwipeableItemDrawableTypes.java │ │ │ ├── SwipeableItemReactions.java │ │ │ ├── SwipeableItemResults.java │ │ │ └── SwipeableItemStateFlags.java │ │ ├── touchguard │ │ └── RecyclerViewTouchActionGuardManager.java │ │ └── utils │ │ ├── AbstractDraggableItemViewHolder.java │ │ ├── AbstractDraggableSwipeableItemViewHolder.java │ │ ├── AbstractExpandableItemAdapter.java │ │ ├── AbstractExpandableItemViewHolder.java │ │ ├── AbstractSwipeableItemViewHolder.java │ │ ├── CustomRecyclerViewUtils.java │ │ ├── DebugWrapperAdapter.java │ │ ├── RecyclerViewAdapterUtils.java │ │ ├── WrappedAdapterUtils.java │ │ ├── WrapperAdapterUtils.java │ │ └── annotation │ │ └── DebugWrapperAdapterSettingFlags.java │ └── test │ ├── AndroidManifest.xml │ └── java │ └── com │ └── h6ah4i │ └── android │ └── widget │ └── advrecyclerview │ ├── adapter │ ├── ItemIdComposerTest.java │ └── ItemViewTypeComposerTest.java │ └── utils │ └── DebugWrapperAdapterTest.java ├── resources ├── appicon.svg ├── icons.svg └── shadow.svg ├── settings.gradle └── signing ├── .gitignore ├── README ├── example-signing.properties.template └── library-maven-publish-signing.properties.template /.gitignore: -------------------------------------------------------------------------------- 1 | /.gradle 2 | /.idea 3 | 4 | /build 5 | /repository 6 | 7 | /local.properties 8 | 9 | *.iml 10 | 11 | .DS_Store 12 | *~ 13 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to Contribute 2 | 3 | ## [IMPORTANT] When opening a Pull Request 4 | 5 | This project is actively developed on the [`develop`](/h6ah4i/android-advancedrecyclerview/tree/develop) branch. **Please change the base branch to `develop`**. 6 | 7 | 8 | 9 | ## Issue reports 10 | 11 | When creating an issue report, please provide sufficient information of the issue; 12 | 13 | - Version of the Advanced RecyclerView library 14 | - What happens? 15 | - What is the expected behavior? 16 | - How to reproduce? 17 | - *If the issue is hard to reproduce or only occurs in the specific condition, please upload minimal project which can reproduce the same issue.* 18 | 19 | These information are optional but recommended because it also helps me to determine what is wrong. 20 | 21 | - Dump of the call stack (if crash occurs) 22 | - Version of the Support libraries 23 | - Android OS version 24 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | 2 | ====================================================================== 3 | This library ("Advanced RecyclerView") 4 | ---------------------------------------------------------------------- 5 | 6 | Copyright (C) 2015 Haruki Hasegawa 7 | 8 | Licensed under the Apache License, Version 2.0 (the "License"); 9 | you may not use this file except in compliance with the License. 10 | You may obtain a copy of the License at 11 | 12 | http://www.apache.org/licenses/LICENSE-2.0 13 | 14 | Unless required by applicable law or agreed to in writing, software 15 | distributed under the License is distributed on an "AS IS" BASIS, 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 17 | See the License for the specific language governing permissions and 18 | limitations under the License. 19 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | google() 7 | } 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:3.2.1' 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | allprojects { 17 | repositories { 18 | jcenter() 19 | google() 20 | } 21 | } 22 | 23 | project.ext { 24 | compileSdkVersion = 28 25 | buildToolsVersion = '28.0.3' 26 | minSdkVersion = 14 27 | targetSdkVersion = 28 28 | 29 | recyclerViewVersion = '1.0.0' 30 | } -------------------------------------------------------------------------------- /common/android-signing-utils.gradle: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Haruki Hasegawa 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | static def loadSigningConfigFromPropertiesFile(project, signingConfig, propFileName) { 18 | def props = new Properties() 19 | def propFile = project.file(propFileName) 20 | 21 | if (!propFile.exists()) { 22 | return false 23 | } 24 | 25 | props.load(propFile.newDataInputStream()) 26 | 27 | if ((props.storeFile != null) && 28 | (props.storePassword != null) && 29 | (props.keyAlias != null) && 30 | (props.keyPassword != null)) { 31 | 32 | signingConfig.storeFile = project.file(props.storeFile) 33 | signingConfig.storePassword = props.storePassword 34 | signingConfig.keyAlias = props.keyAlias 35 | signingConfig.keyPassword = props.keyPassword 36 | 37 | return true 38 | } else { 39 | return false 40 | } 41 | } 42 | 43 | // Export methods by turning them into closures 44 | ext { 45 | loadSigningConfigFromPropertiesFile = this.&loadSigningConfigFromPropertiesFile 46 | } 47 | -------------------------------------------------------------------------------- /doclava/README.md: -------------------------------------------------------------------------------- 1 | Doclava template for Advanced RecyclerView project 2 | =============== 3 | 4 | This project is a part of the product of [Advanced RecyclerView](https://github.com/h6ah4i/android-advancedrecyclerview) project. 5 | -------------------------------------------------------------------------------- /doclava/doclava-1.0.6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/doclava-1.0.6.jar -------------------------------------------------------------------------------- /doclava/template/assets/customizations.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #ffffff; 3 | } 4 | 5 | #header { 6 | background: #009688; 7 | border-bottom: 0px; 8 | } 9 | 10 | #headerLeft { 11 | bottom: 0; 12 | top: 0; 13 | left: 10px; 14 | } 15 | 16 | #headerRight { 17 | top: 0; 18 | bottom: 0; 19 | right: 10px; 20 | display: table; 21 | height: 100%; 22 | } 23 | 24 | #masthead-title { 25 | color: #ffffff; 26 | font-size: 1.5em; 27 | } 28 | 29 | #search { 30 | display: table-cell; 31 | vertical-align: middle 32 | } 33 | 34 | #searchForm { 35 | margin: 0 auto; 36 | } 37 | 38 | #search-button { 39 | padding: 5px; 40 | } 41 | 42 | #searchForm td.gsc-input { 43 | padding-right: 10px; 44 | } 45 | 46 | #searchForm input.gsc-input { 47 | padding: 5px; 48 | } 49 | 50 | #search_filtered_div { 51 | margin-top: 5px; 52 | position: absolute; 53 | } 54 | 55 | #search_filtered td { 56 | line-height: 2.0em; 57 | } 58 | 59 | #header .gsc-search-box { 60 | margin: 0; 61 | } 62 | 63 | #search_filtered .jd-selected { 64 | background-color: #0767a4; 65 | } 66 | 67 | #nav-panels { 68 | background: #f9f9f9; 69 | } 70 | 71 | .ui-resizable-s { 72 | background: #cccccc; 73 | } 74 | 75 | .ui-resizable-e { 76 | background: #cccccc; 77 | } 78 | 79 | tr.alt-color { 80 | background: #f0f0f0; 81 | } 82 | 83 | .jd-tagtable td, .jd-tagtable th { 84 | background: transparent; 85 | } 86 | 87 | #index-links .selected { 88 | background: transparent; 89 | font-weight: bold; 90 | } 91 | 92 | th { 93 | background: #9cacbe; 94 | } 95 | 96 | h4.jd-details-title { 97 | padding: 4px 8px; 98 | } 99 | 100 | 101 | a, a:visited { 102 | color: #437dbe; 103 | } 104 | 105 | a:hover, a:active { 106 | color: #f08000; 107 | } -------------------------------------------------------------------------------- /doclava/template/assets/customizations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/customizations.js -------------------------------------------------------------------------------- /doclava/template/assets/images/bg_fade.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/bg_fade.jpg -------------------------------------------------------------------------------- /doclava/template/assets/images/bg_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/bg_logo.png -------------------------------------------------------------------------------- /doclava/template/assets/images/body-gradient-tab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/body-gradient-tab.png -------------------------------------------------------------------------------- /doclava/template/assets/images/body-gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/body-gradient.png -------------------------------------------------------------------------------- /doclava/template/assets/images/grad-rule-qv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/grad-rule-qv.png -------------------------------------------------------------------------------- /doclava/template/assets/images/hr_gray_main.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/hr_gray_main.jpg -------------------------------------------------------------------------------- /doclava/template/assets/images/hr_gray_side.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/hr_gray_side.jpg -------------------------------------------------------------------------------- /doclava/template/assets/images/left_off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/left_off.jpg -------------------------------------------------------------------------------- /doclava/template/assets/images/left_on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/left_on.jpg -------------------------------------------------------------------------------- /doclava/template/assets/images/preliminary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/preliminary.png -------------------------------------------------------------------------------- /doclava/template/assets/images/resizable-e.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/resizable-e.gif -------------------------------------------------------------------------------- /doclava/template/assets/images/resizable-e2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/resizable-e2.gif -------------------------------------------------------------------------------- /doclava/template/assets/images/resizable-eg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/resizable-eg.gif -------------------------------------------------------------------------------- /doclava/template/assets/images/resizable-s.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/resizable-s.gif -------------------------------------------------------------------------------- /doclava/template/assets/images/resizable-s2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/resizable-s2.gif -------------------------------------------------------------------------------- /doclava/template/assets/images/resizable-sg.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/resizable-sg.gif -------------------------------------------------------------------------------- /doclava/template/assets/images/right_off.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/right_off.jpg -------------------------------------------------------------------------------- /doclava/template/assets/images/right_on.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/right_on.jpg -------------------------------------------------------------------------------- /doclava/template/assets/images/sidenav-rule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/sidenav-rule.png -------------------------------------------------------------------------------- /doclava/template/assets/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/spacer.gif -------------------------------------------------------------------------------- /doclava/template/assets/images/triangle-closed-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/triangle-closed-small.png -------------------------------------------------------------------------------- /doclava/template/assets/images/triangle-closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/triangle-closed.png -------------------------------------------------------------------------------- /doclava/template/assets/images/triangle-opened-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/triangle-opened-small.png -------------------------------------------------------------------------------- /doclava/template/assets/images/triangle-opened.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/images/triangle-opened.png -------------------------------------------------------------------------------- /doclava/template/assets/triangle-none.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/doclava/template/assets/triangle-none.gif -------------------------------------------------------------------------------- /doclava/template/classes.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 |
10 |

11 |
12 | 13 |
14 | 15 |
16 | 17 |
18 | 19 | 20 | 21 |

22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
 
32 | 33 | 34 | 35 |
36 |
37 | 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /doclava/template/components.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /doclava/template/components/api_filter.cs: -------------------------------------------------------------------------------- 1 | 4 |
5 | 6 | 7 | 10 |
11 | 28 | 29 | -------------------------------------------------------------------------------- /doclava/template/components/masthead.cs: -------------------------------------------------------------------------------- 1 | 2 | 15 | -------------------------------------------------------------------------------- /doclava/template/components/search_box.cs: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /doclava/template/customizations.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /doclava/template/data.hdf: -------------------------------------------------------------------------------- 1 | template { 2 | which = normal 3 | } 4 | 5 | -------------------------------------------------------------------------------- /doclava/template/docpage.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 |
11 | 12 | 13 | > 14 |   15 | 16 | 17 |

18 |
19 | 20 |
21 | 22 |
23 | 24 |
25 | 26 | ↑ Go to top 27 | 28 |

← Back to

29 | 30 |
31 | 32 | 33 |
34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /doclava/template/doctype.cs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /doclava/template/footer.cs: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /doclava/template/head_tag.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | <?cs if:page.title ?> 11 | <?cs var:page.title ?> 12 | <?cs /if ?> 13 | <?cs if:project.name ?> 14 | | <?cs var:project.name ?> 15 | <?cs /if ?> 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 27 | 28 | 30 | 31 | 41 | 42 | -------------------------------------------------------------------------------- /doclava/template/header.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /doclava/template/hierarchy.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12 | 13 | 14 | 15 |
16 | 17 |
18 |

19 |
20 | 21 |
22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 |    43 | 44 |   45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 |
ClassInterfaces
57 | 58 |
59 | 60 | 61 |
62 |
63 | 64 | 65 | 66 | 67 | 68 | 69 | -------------------------------------------------------------------------------- /doclava/template/index.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /doclava/template/keywords.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |
7 | 8 |
9 |

10 |
11 | 12 |
13 | 14 |
15 | 16 |
17 | 18 | 19 | 20 |

21 | 27 | 28 | 29 | 30 | 31 |
32 |
33 | 34 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /doclava/template/lists.cs: -------------------------------------------------------------------------------- 1 | var DATA = [ 2 | { id:, label:"", link:"", type:"" }, 4 | 5 | ]; 6 | -------------------------------------------------------------------------------- /doclava/template/navtree_data.cs: -------------------------------------------------------------------------------- 1 | var NAVTREE_DATA = 2 | 3 | ; 4 | 5 | -------------------------------------------------------------------------------- /doclava/template/nosidenavpage.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 |
11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /doclava/template/package-descr.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 |
11 |
12 | 13 | 14 |
15 |
16 | 17 |
18 | package 19 |

20 |
21 | Classes | Description 22 |
23 |
24 | 25 |
26 | 27 |
28 |
29 |

30 |
31 | 32 | 33 |
34 |
35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /doclava/template/package-list.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /doclava/template/package.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 |
11 |
12 | 13 | 14 |
15 |
16 | 17 |
18 | package 19 |

20 |
21 | 22 |
23 | 24 |
25 | 26 | 27 |
28 | 29 |
30 | 31 | 32 | 33 | 34 |

35 |
36 | 37 |
38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 |
49 |
50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /doclava/template/packages.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 |
11 |

12 |
13 | 14 |
15 | 16 |
17 |

18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 | 32 |
33 |
34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /doclava/template/sample.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |   14 |

15 |
16 | 17 |
18 |

← Back

19 | 20 |

The file containing the source code shown below is located in the corresponding directory in <sdk>/samples/android-<version>/...

21 | 22 | 23 |
24 | 25 | 26 | 27 |
28 |
29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /doclava/template/sampleindex.cs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 |   14 |

15 |
16 | 17 |
18 |

← Back

19 | 20 | 21 | 22 | 23 |

Subdirectories

24 |
    25 | 26 |
  • /
  • 28 | 29 |
30 | 31 | 32 | 33 |

Files

34 |
    35 | 36 |
  • 38 | 39 |
40 | 41 | 42 |
43 | 44 | 45 | 46 |
47 | 48 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /doclava/template/trailer.cs: -------------------------------------------------------------------------------- 1 |
2 | 3 | -------------------------------------------------------------------------------- /doclava/template/yaml_navtree.cs: -------------------------------------------------------------------------------- 1 | 11 | - title: "" 12 | path: 14 | section: 17 | - title: "" 18 | path: 20 | section: 33 | toc: 37 | -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /example/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /home/hasegawa/Applications/android/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /example/src/main/assets/oss/0_advanced_recyclerview/LINK: -------------------------------------------------------------------------------- 1 | https://github.com/h6ah4i/android-advancedrecyclerview 2 | -------------------------------------------------------------------------------- /example/src/main/assets/oss/0_advanced_recyclerview/NAME: -------------------------------------------------------------------------------- 1 | Advanced RecyclerView 2 | -------------------------------------------------------------------------------- /example/src/main/assets/oss/0_advanced_recyclerview/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2015 Haruki Hasegawa 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /example/src/main/assets/oss/1_material_design_icons/LINK: -------------------------------------------------------------------------------- 1 | https://github.com/google/material-design-icons 2 | 3 | -------------------------------------------------------------------------------- /example/src/main/assets/oss/1_material_design_icons/NAME: -------------------------------------------------------------------------------- 1 | Material Design Icons 2 | 3 | -------------------------------------------------------------------------------- /example/src/main/assets/oss/1_material_design_icons/NOTICE: -------------------------------------------------------------------------------- 1 | Material Design icons by Google 2 | 3 | All icons are licenced under under an Attribution 4.0 International license. 4 | http://creativecommons.org/licenses/by/4.0/ 5 | 6 | - navigation/svg/production/ic_expand_less_24px.svg 7 | -------------------------------------------------------------------------------- /example/src/main/assets/oss/2_tablayouthelper/LINK: -------------------------------------------------------------------------------- 1 | https://github.com/h6ah4i/android-tablayouthelper -------------------------------------------------------------------------------- /example/src/main/assets/oss/2_tablayouthelper/NAME: -------------------------------------------------------------------------------- 1 | TabLayoutHelper 2 | -------------------------------------------------------------------------------- /example/src/main/assets/oss/2_tablayouthelper/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2015 Haruki Hasegawa 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /example/src/main/java/com/h6ah4i/android/example/advrecyclerview/common/adapter/OnListItemClickMessageListener.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2016 Haruki Hasegawa 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.h6ah4i.android.example.advrecyclerview.common.adapter; 17 | 18 | public interface OnListItemClickMessageListener { 19 | void onItemClicked(String message); 20 | } 21 | -------------------------------------------------------------------------------- /example/src/main/java/com/h6ah4i/android/example/advrecyclerview/common/data/AbstractDataProvider.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Haruki Hasegawa 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.h6ah4i.android.example.advrecyclerview.common.data; 18 | 19 | public abstract class AbstractDataProvider { 20 | 21 | public static abstract class Data { 22 | public abstract long getId(); 23 | 24 | public abstract boolean isSectionHeader(); 25 | 26 | public abstract int getViewType(); 27 | 28 | public abstract String getText(); 29 | 30 | public abstract void setPinned(boolean pinned); 31 | 32 | public abstract boolean isPinned(); 33 | } 34 | 35 | public abstract int getCount(); 36 | 37 | public abstract Data getItem(int index); 38 | 39 | public abstract void removeItem(int position); 40 | 41 | public abstract void moveItem(int fromPosition, int toPosition); 42 | 43 | public abstract void swapItem(int fromPosition, int toPosition); 44 | 45 | public abstract int undoLastRemoval(); 46 | } 47 | -------------------------------------------------------------------------------- /example/src/main/java/com/h6ah4i/android/example/advrecyclerview/common/fragment/ExampleAddRemoveExpandableDataProviderFragment.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Haruki Hasegawa 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.h6ah4i.android.example.advrecyclerview.common.fragment; 18 | 19 | 20 | import android.os.Bundle; 21 | 22 | import com.h6ah4i.android.example.advrecyclerview.common.data.AbstractAddRemoveExpandableDataProvider; 23 | import com.h6ah4i.android.example.advrecyclerview.common.data.ExampleAddRemoveExpandableDataProvider; 24 | 25 | import androidx.fragment.app.Fragment; 26 | 27 | public class ExampleAddRemoveExpandableDataProviderFragment extends Fragment { 28 | private ExampleAddRemoveExpandableDataProvider mDataProvider; 29 | 30 | @Override 31 | public void onCreate(Bundle savedInstanceState) { 32 | super.onCreate(savedInstanceState); 33 | 34 | setRetainInstance(true); // keep the mDataProvider instance 35 | mDataProvider = new ExampleAddRemoveExpandableDataProvider(); 36 | } 37 | 38 | public AbstractAddRemoveExpandableDataProvider getDataProvider() { 39 | return mDataProvider; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /example/src/main/java/com/h6ah4i/android/example/advrecyclerview/common/fragment/ExampleDataProviderFragment.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Haruki Hasegawa 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.h6ah4i.android.example.advrecyclerview.common.fragment; 18 | 19 | 20 | import android.os.Bundle; 21 | 22 | import com.h6ah4i.android.example.advrecyclerview.common.data.AbstractDataProvider; 23 | import com.h6ah4i.android.example.advrecyclerview.common.data.ExampleDataProvider; 24 | 25 | import androidx.fragment.app.Fragment; 26 | 27 | public class ExampleDataProviderFragment extends Fragment { 28 | private AbstractDataProvider mDataProvider; 29 | 30 | @Override 31 | public void onCreate(Bundle savedInstanceState) { 32 | super.onCreate(savedInstanceState); 33 | 34 | setRetainInstance(true); // keep the mDataProvider instance 35 | mDataProvider = new ExampleDataProvider(); 36 | } 37 | 38 | public AbstractDataProvider getDataProvider() { 39 | return mDataProvider; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /example/src/main/java/com/h6ah4i/android/example/advrecyclerview/common/fragment/ExampleExpandableDataProviderFragment.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Haruki Hasegawa 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.h6ah4i.android.example.advrecyclerview.common.fragment; 18 | 19 | 20 | import android.os.Bundle; 21 | 22 | import com.h6ah4i.android.example.advrecyclerview.common.data.AbstractExpandableDataProvider; 23 | import com.h6ah4i.android.example.advrecyclerview.common.data.ExampleExpandableDataProvider; 24 | 25 | import androidx.fragment.app.Fragment; 26 | 27 | public class ExampleExpandableDataProviderFragment extends Fragment { 28 | private ExampleExpandableDataProvider mDataProvider; 29 | 30 | @Override 31 | public void onCreate(Bundle savedInstanceState) { 32 | super.onCreate(savedInstanceState); 33 | 34 | setRetainInstance(true); // keep the mDataProvider instance 35 | mDataProvider = new ExampleExpandableDataProvider(); 36 | } 37 | 38 | public AbstractExpandableDataProvider getDataProvider() { 39 | return mDataProvider; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /example/src/main/java/com/h6ah4i/android/example/advrecyclerview/common/fragment/ExampleSectionDataProviderFragment.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Haruki Hasegawa 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.h6ah4i.android.example.advrecyclerview.common.fragment; 18 | 19 | 20 | import android.os.Bundle; 21 | 22 | import com.h6ah4i.android.example.advrecyclerview.common.data.AbstractDataProvider; 23 | import com.h6ah4i.android.example.advrecyclerview.common.data.ExampleSectionDataProvider; 24 | 25 | import androidx.fragment.app.Fragment; 26 | 27 | public class ExampleSectionDataProviderFragment extends Fragment { 28 | private ExampleSectionDataProvider mDataProvider; 29 | 30 | @Override 31 | public void onCreate(Bundle savedInstanceState) { 32 | super.onCreate(savedInstanceState); 33 | 34 | setRetainInstance(true); // keep the mDataProvider instance 35 | mDataProvider = new ExampleSectionDataProvider(); 36 | } 37 | 38 | public AbstractDataProvider getDataProvider() { 39 | return mDataProvider; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /example/src/main/java/com/h6ah4i/android/example/advrecyclerview/common/fragment/ExampleSectionExpandableDataProviderFragment.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Haruki Hasegawa 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.h6ah4i.android.example.advrecyclerview.common.fragment; 18 | 19 | 20 | import android.os.Bundle; 21 | 22 | import com.h6ah4i.android.example.advrecyclerview.common.data.AbstractExpandableDataProvider; 23 | import com.h6ah4i.android.example.advrecyclerview.common.data.ExampleSectionExpandableDataProvider; 24 | 25 | import androidx.fragment.app.Fragment; 26 | 27 | public class ExampleSectionExpandableDataProviderFragment extends Fragment { 28 | private ExampleSectionExpandableDataProvider mDataProvider; 29 | 30 | @Override 31 | public void onCreate(Bundle savedInstanceState) { 32 | super.onCreate(savedInstanceState); 33 | 34 | setRetainInstance(true); // keep the mDataProvider instance 35 | mDataProvider = new ExampleSectionExpandableDataProvider(); 36 | } 37 | 38 | public AbstractExpandableDataProvider getDataProvider() { 39 | return mDataProvider; 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /example/src/main/java/com/h6ah4i/android/example/advrecyclerview/common/utils/DrawableUtils.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Haruki Hasegawa 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.h6ah4i.android.example.advrecyclerview.common.utils; 18 | 19 | import android.graphics.drawable.Drawable; 20 | 21 | public class DrawableUtils { 22 | private static final int[] EMPTY_STATE = new int[] {}; 23 | 24 | public static void clearState(Drawable drawable) { 25 | if (drawable != null) { 26 | drawable.setState(EMPTY_STATE); 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /example/src/main/java/com/h6ah4i/android/example/advrecyclerview/common/utils/ViewUtils.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Haruki Hasegawa 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.h6ah4i.android.example.advrecyclerview.common.utils; 18 | 19 | import android.view.View; 20 | 21 | public class ViewUtils { 22 | public static boolean hitTest(View v, int x, int y) { 23 | final int tx = (int) (v.getTranslationX() + 0.5f); 24 | final int ty = (int) (v.getTranslationY() + 0.5f); 25 | final int left = v.getLeft() + tx; 26 | final int right = v.getRight() + tx; 27 | final int top = v.getTop() + ty; 28 | final int bottom = v.getBottom() + ty; 29 | 30 | return (x >= left) && (x <= right) && (y >= top) && (y <= bottom); 31 | } 32 | 33 | } 34 | -------------------------------------------------------------------------------- /example/src/main/java/com/h6ah4i/android/example/advrecyclerview/common/widget/ExpandableItemIndicatorImplNoAnim.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Haruki Hasegawa 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.h6ah4i.android.example.advrecyclerview.common.widget; 18 | 19 | import android.content.Context; 20 | import android.util.AttributeSet; 21 | import android.view.LayoutInflater; 22 | import android.view.View; 23 | 24 | import com.h6ah4i.android.example.advrecyclerview.R; 25 | 26 | import androidx.annotation.DrawableRes; 27 | import androidx.appcompat.widget.AppCompatImageView; 28 | 29 | class ExpandableItemIndicatorImplNoAnim extends ExpandableItemIndicator.Impl { 30 | private AppCompatImageView mImageView; 31 | 32 | @Override 33 | public void onInit(Context context, AttributeSet attrs, int defStyleAttr, ExpandableItemIndicator thiz) { 34 | View v = LayoutInflater.from(context).inflate(R.layout.widget_expandable_item_indicator, thiz, true); 35 | mImageView = v.findViewById(R.id.image_view); 36 | } 37 | 38 | @Override 39 | public void setExpandedState(boolean isExpanded, boolean animate) { 40 | @DrawableRes int resId = (isExpanded) ? R.drawable.ic_expand_less : R.drawable.ic_expand_more; 41 | mImageView.setImageResource(resId); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /example/src/main/java/com/h6ah4i/android/example/advrecyclerview/launcher/LauncherPagerAdapter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2015 Haruki Hasegawa 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | package com.h6ah4i.android.example.advrecyclerview.launcher; 18 | 19 | import androidx.fragment.app.Fragment; 20 | import androidx.fragment.app.FragmentManager; 21 | import androidx.fragment.app.FragmentPagerAdapter; 22 | 23 | public class LauncherPagerAdapter extends FragmentPagerAdapter { 24 | public LauncherPagerAdapter(FragmentManager fm) { 25 | super(fm); 26 | } 27 | 28 | @Override 29 | public int getCount() { 30 | return LauncherPageFragment.NUM_PAGES; 31 | } 32 | 33 | @Override 34 | public Fragment getItem(int position) { 35 | return LauncherPageFragment.newInstance(position); 36 | } 37 | 38 | @Override 39 | public CharSequence getPageTitle(int position) { 40 | return LauncherPageFragment.getPageTitle(position); 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /example/src/main/res/animator/expand_less_to_expand_more_rotation.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/animator/expand_more_to_expand_less_rotation.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-hdpi/ic_item_swipe_dismiss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-hdpi/ic_item_swipe_dismiss.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-hdpi/ic_item_swipe_pinned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-hdpi/ic_item_swipe_pinned.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-hdpi/material_shadow_z1.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-hdpi/material_shadow_z3.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-ldpi/ic_item_swipe_dismiss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-ldpi/ic_item_swipe_dismiss.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-ldpi/ic_item_swipe_pinned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-ldpi/ic_item_swipe_pinned.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-ldpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-ldpi/ic_launcher.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-ldpi/material_shadow_z1.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-ldpi/material_shadow_z3.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-mdpi/ic_item_swipe_dismiss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-mdpi/ic_item_swipe_dismiss.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-mdpi/ic_item_swipe_pinned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-mdpi/ic_item_swipe_pinned.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-mdpi/material_shadow_z1.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-mdpi/material_shadow_z3.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-nodpi/ic_expand_less.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 24 | 25 | 30 | 31 | 32 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-nodpi/ic_expand_less_to_expand_more.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 21 | 22 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-nodpi/ic_expand_more.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 24 | 25 | 30 | 31 | 32 | 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-nodpi/ic_expand_more_to_expand_less.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 21 | 22 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-nodpi/material_shadow_z1_mdpi.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-nodpi/material_shadow_z1_mdpi.9.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-nodpi/material_shadow_z1_xhdpi.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-nodpi/material_shadow_z1_xhdpi.9.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-nodpi/material_shadow_z1_xxhdpi.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-nodpi/material_shadow_z1_xxhdpi.9.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-nodpi/material_shadow_z1_xxxhdpi.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-nodpi/material_shadow_z1_xxxhdpi.9.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-nodpi/material_shadow_z3_mdpi.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-nodpi/material_shadow_z3_mdpi.9.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-nodpi/material_shadow_z3_xhdpi.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-nodpi/material_shadow_z3_xhdpi.9.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-nodpi/material_shadow_z3_xxhdpi.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-nodpi/material_shadow_z3_xxhdpi.9.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-nodpi/material_shadow_z3_xxxhdpi.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-nodpi/material_shadow_z3_xxxhdpi.9.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-tvdpi/material_shadow_z1.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-tvdpi/material_shadow_z3.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-xhdpi/ic_item_swipe_dismiss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-xhdpi/ic_item_swipe_dismiss.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-xhdpi/ic_item_swipe_pinned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-xhdpi/ic_item_swipe_pinned.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-xhdpi/material_shadow_z1.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-xhdpi/material_shadow_z3.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-xxhdpi/ic_item_swipe_dismiss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-xxhdpi/ic_item_swipe_dismiss.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-xxhdpi/ic_item_swipe_pinned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-xxhdpi/ic_item_swipe_pinned.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-xxhdpi/material_shadow_z1.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-xxhdpi/material_shadow_z3.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-xxxhdpi/ic_item_swipe_dismiss.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-xxxhdpi/ic_item_swipe_dismiss.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-xxxhdpi/ic_item_swipe_pinned.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-xxxhdpi/ic_item_swipe_pinned.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/h6ah4i/android-advancedrecyclerview/5213b003748cc2010d73d8c6c3193deb2bbf023e/example/src/main/res/drawable-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /example/src/main/res/drawable-xxxhdpi/material_shadow_z1.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable-xxxhdpi/material_shadow_z3.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_group_item_dragging_active_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_group_item_dragging_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_group_item_expanded_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_group_item_normal_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_group_item_swiping_active_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_group_item_swiping_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_item_dragging_active_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_item_dragging_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_item_normal_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_item_swiping_active_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_item_swiping_state.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_swipe_group_item_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_swipe_group_item_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_swipe_item_down.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_swipe_item_left.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_swipe_item_neutral.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 20 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_swipe_item_right.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/bg_swipe_item_up.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | 21 | 22 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/list_divider_h.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /example/src/main/res/drawable/list_divider_v.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /example/src/main/res/layout/activity_about.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 23 | -------------------------------------------------------------------------------- /example/src/main/res/layout/activity_demo.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 22 | -------------------------------------------------------------------------------- /example/src/main/res/layout/activity_demo_minimal.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 23 | 24 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /example/src/main/res/layout/activity_demo_viewpager.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 22 | 23 | 27 | 28 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /example/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 20 | 21 | 27 | 28 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /example/src/main/res/layout/dummy_header_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 21 | -------------------------------------------------------------------------------- /example/src/main/res/layout/footer_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 23 | 24 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /example/src/main/res/layout/fragment_oss_license_info.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 20 | 21 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /example/src/main/res/layout/fragment_recycler_list_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 20 | 21 | 26 | 27 | -------------------------------------------------------------------------------- /example/src/main/res/layout/header_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 23 | 24 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /example/src/main/res/layout/license_info_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 21 | 22 | 28 | 29 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /example/src/main/res/layout/list_child_item_for_expandable_minimal.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /example/src/main/res/layout/list_grid_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 26 | 27 | 34 | 35 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /example/src/main/res/layout/list_group_item_for_expandable_minimal.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /example/src/main/res/layout/list_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 25 | 26 | 34 | 35 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /example/src/main/res/layout/list_item2.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 26 | 27 | 28 | 36 | 37 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /example/src/main/res/layout/list_item_for_swipe_minimal.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 15 | 16 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /example/src/main/res/layout/list_item_minimal.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /example/src/main/res/layout/list_section_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 26 | -------------------------------------------------------------------------------- /example/src/main/res/layout/menu_appbar_mode_switch.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 23 | 24 | 29 | 30 | 35 | 36 | -------------------------------------------------------------------------------- /example/src/main/res/layout/menu_appbar_on_off_switch.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 23 | 24 | 29 | 30 | 35 | 36 | -------------------------------------------------------------------------------- /example/src/main/res/layout/recycler_view_item_launcher_button.xml: -------------------------------------------------------------------------------- 1 | 2 |