├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── ic_my.png │ │ │ │ ├── ic_cart.png │ │ │ │ ├── ic_home.png │ │ │ │ ├── right_go.png │ │ │ │ ├── ic_category.png │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_sitting.png │ │ │ │ ├── header_image.png │ │ │ │ ├── selector_tab.xml │ │ │ │ ├── shape_oval_red.xml │ │ │ │ ├── ic_home_black_24dp.xml │ │ │ │ ├── ic_dashboard_black_24dp.xml │ │ │ │ ├── ic_notifications_black_24dp.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── values │ │ │ │ ├── dimens.xml │ │ │ │ ├── attrs.xml │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── layout │ │ │ │ ├── fragment_fragment1.xml │ │ │ │ ├── fragment_fragment2.xml │ │ │ │ ├── fragment_fragment3.xml │ │ │ │ ├── fragment_fragment4.xml │ │ │ │ ├── layout_my_tools_header.xml │ │ │ │ ├── layout_my_count.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── layout_my_order.xml │ │ │ │ ├── layout_my_tools.xml │ │ │ │ ├── layout_my_order_header.xml │ │ │ │ ├── layout_my_header.xml │ │ │ │ └── layout_my_balance.xml │ │ │ ├── menu │ │ │ │ └── navigation.xml │ │ │ └── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── yechaoa │ │ │ │ └── multipleitempage │ │ │ │ ├── fragment │ │ │ │ ├── Fragment1.java │ │ │ │ ├── Fragment2.java │ │ │ │ ├── Fragment3.java │ │ │ │ └── Fragment4.java │ │ │ │ ├── App.java │ │ │ │ ├── bean │ │ │ │ └── MultipleItem.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── adapter │ │ │ │ └── MultipleItemQuickAdapter.java │ │ │ │ └── widget │ │ │ │ └── CircleImageView.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── yechaoa │ │ │ └── multipleitempage │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── yechaoa │ │ └── multipleitempage │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── gif ├── multiple_item_page.gif └── multiple_item_page.png ├── .idea ├── dictionaries │ └── yechao.xml ├── vcs.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml └── misc.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── gradlew.bat ├── gradlew ├── LICENSE └── README.md /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /gif/multiple_item_page.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/gif/multiple_item_page.gif -------------------------------------------------------------------------------- /gif/multiple_item_page.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/gif/multiple_item_page.png -------------------------------------------------------------------------------- /.idea/dictionaries/yechao.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_my.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/drawable/ic_my.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_cart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/drawable/ic_cart.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/drawable/ic_home.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/right_go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/drawable/right_go.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_category.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/drawable/ic_category.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/drawable/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_sitting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/drawable/ic_sitting.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/header_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/drawable/header_image.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/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/yechaoa/MultipleItemPage/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yechaoa/MultipleItemPage/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/yechaoa/MultipleItemPage/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/yechaoa/MultipleItemPage/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sat Dec 16 20:52:48 CST 2017 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.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/values/attrs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | MultipleItemPage 3 | 首页 4 | 分类 5 | 购物车 6 | 我的 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_tab.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/shape_oval_red.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_home_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_dashboard_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #1296db 4 | #1296db 5 | #1296db 6 | 7 | #ffffff 8 | #E4E4E4 9 | #E4E4E4 10 | #ff0000 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_fragment1.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_fragment2.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_fragment3.xml: -------------------------------------------------------------------------------- 1 | 4 | 5 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/test/java/com/yechaoa/multipleitempage/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.yechaoa.multipleitempage; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_fragment4.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_notifications_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/com/yechaoa/multipleitempage/fragment/Fragment1.java: -------------------------------------------------------------------------------- 1 | package com.yechaoa.multipleitempage.fragment; 2 | 3 | import android.os.Bundle; 4 | import android.support.v4.app.Fragment; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | 9 | import com.yechaoa.multipleitempage.R; 10 | 11 | public class Fragment1 extends Fragment { 12 | 13 | @Override 14 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 15 | return inflater.inflate(R.layout.fragment_fragment1, container, false); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/java/com/yechaoa/multipleitempage/fragment/Fragment2.java: -------------------------------------------------------------------------------- 1 | package com.yechaoa.multipleitempage.fragment; 2 | 3 | import android.os.Bundle; 4 | import android.support.v4.app.Fragment; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | 9 | import com.yechaoa.multipleitempage.R; 10 | 11 | public class Fragment2 extends Fragment { 12 | 13 | @Override 14 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 15 | return inflater.inflate(R.layout.fragment_fragment2, container, false); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/java/com/yechaoa/multipleitempage/fragment/Fragment3.java: -------------------------------------------------------------------------------- 1 | package com.yechaoa.multipleitempage.fragment; 2 | 3 | import android.os.Bundle; 4 | import android.support.v4.app.Fragment; 5 | import android.view.LayoutInflater; 6 | import android.view.View; 7 | import android.view.ViewGroup; 8 | 9 | import com.yechaoa.multipleitempage.R; 10 | 11 | public class Fragment3 extends Fragment { 12 | 13 | @Override 14 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 15 | return inflater.inflate(R.layout.fragment_fragment3, container, false); 16 | } 17 | 18 | } 19 | -------------------------------------------------------------------------------- /app/src/main/java/com/yechaoa/multipleitempage/App.java: -------------------------------------------------------------------------------- 1 | package com.yechaoa.multipleitempage; 2 | 3 | import android.app.Application; 4 | 5 | import com.yechaoa.yutils.ActivityUtil; 6 | import com.yechaoa.yutils.LogUtil; 7 | import com.yechaoa.yutils.YUtils; 8 | 9 | /** 10 | * Created by yechao on 2017/12/16. 11 | * Describe : 12 | */ 13 | public class App extends Application { 14 | 15 | @Override 16 | public void onCreate() { 17 | super.onCreate(); 18 | 19 | YUtils.initialize(this); 20 | LogUtil.setIsLog(true); 21 | registerActivityLifecycleCallbacks(ActivityUtil.getActivityLifecycleCallbacks()); 22 | 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/menu/navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 13 | 14 | 18 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_my_tools_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 15 | 16 | 20 | 21 | -------------------------------------------------------------------------------- /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/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 13 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/yechaoa/multipleitempage/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.yechaoa.multipleitempage; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.yechaoa.multipleitempage", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_my_count.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 15 | 16 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 16 | 17 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /app/src/main/java/com/yechaoa/multipleitempage/bean/MultipleItem.java: -------------------------------------------------------------------------------- 1 | package com.yechaoa.multipleitempage.bean; 2 | 3 | import com.chad.library.adapter.base.entity.MultiItemEntity; 4 | 5 | /** 6 | * Created by yechao on 2017/12/15. 7 | * Describe : 8 | */ 9 | 10 | public class MultipleItem implements MultiItemEntity { 11 | 12 | public static final int TYPE_COUNT = 1; 13 | public static final int TYPE_ORDER_HEADER = 2; 14 | public static final int TYPE_ORDER = 3; 15 | public static final int TYPE_BALANCE = 4; 16 | public static final int TYPE_TOOLS_HEADER = 5; 17 | public static final int TYPE_TOOLS = 6; 18 | private int itemType; 19 | private int spanSize; 20 | 21 | public MultipleItem(int itemType, int spanSize) { 22 | this.itemType = itemType; 23 | this.spanSize = spanSize; 24 | } 25 | 26 | @Override 27 | public int getItemType() { 28 | return itemType; 29 | } 30 | 31 | public int getSpanSize() { 32 | return spanSize; 33 | } 34 | 35 | public void setSpanSize(int spanSize) { 36 | this.spanSize = spanSize; 37 | } 38 | 39 | 40 | public String mString1; 41 | 42 | public String mString2; 43 | 44 | public boolean isShow; 45 | 46 | public int count; 47 | 48 | } 49 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 26 5 | defaultConfig { 6 | applicationId "com.yechaoa.multipleitempage" 7 | minSdkVersion 16 8 | targetSdkVersion 26 9 | versionCode 1 10 | versionName "1.0" 11 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 12 | vectorDrawables.useSupportLibrary= true 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | implementation fileTree(dir: 'libs', include: ['*.jar']) 24 | implementation 'com.android.support:appcompat-v7:26.1.0' 25 | implementation 'com.android.support:design:26.1.0' 26 | implementation 'com.android.support.constraint:constraint-layout:1.0.2' 27 | implementation 'com.android.support:support-vector-drawable:26.1.0' 28 | testImplementation 'junit:junit:4.12' 29 | androidTestImplementation 'com.android.support.test:runner:1.0.1' 30 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1' 31 | 32 | compile 'com.github.yechaoa:YUtils:2.0.6' 33 | compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.34' 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_my_order.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 18 | 19 | 27 | 28 | 39 | 40 | -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_my_tools.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 18 | 19 | 27 | 28 | 39 | 40 | -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_my_order_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 18 | 19 | 25 | 26 | 32 | 33 | 39 | 40 | 41 | 42 | 46 | 47 | -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_my_header.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 18 | 19 | 26 | 27 | 33 | 34 | 40 | 41 | 42 | 43 | 50 | 51 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- 1 | 7 | 12 | 13 | 19 | 22 | 25 | 26 | 27 | 28 | 34 | 35 | -------------------------------------------------------------------------------- /app/src/main/res/layout/layout_my_balance.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 15 | 16 | 20 | 21 | 26 | 27 | 33 | 34 | 38 | 39 | 44 | 45 | 46 | 47 | 51 | 52 |