├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable │ │ │ │ ├── ac.jpg │ │ │ │ ├── tv.jpg │ │ │ │ ├── img1.jpeg │ │ │ │ ├── img2.jpeg │ │ │ │ ├── img3.jpeg │ │ │ │ ├── img4.jpeg │ │ │ │ ├── img5.jpeg │ │ │ │ ├── jacob.jpg │ │ │ │ ├── offer.jpg │ │ │ │ ├── heater.jpg │ │ │ │ ├── iphnx.jpeg │ │ │ │ ├── mobile.jpg │ │ │ │ ├── offer2.jpg │ │ │ │ ├── reybane.jpeg │ │ │ │ ├── s9plus.jpeg │ │ │ │ ├── vivo11.jpeg │ │ │ │ ├── washing.jpg │ │ │ │ ├── headphone.jpeg │ │ │ │ ├── shoesfila.jpeg │ │ │ │ ├── googlepixel.jpeg │ │ │ │ ├── color_cursor.xml │ │ │ │ ├── circle_light_plus.xml │ │ │ │ ├── black_circle.xml │ │ │ │ ├── btn_red.xml │ │ │ │ ├── green_circle.xml │ │ │ │ ├── ic_add.xml │ │ │ │ ├── red_circle.xml │ │ │ │ ├── size_rect.xml │ │ │ │ ├── brn_red_rect.xml │ │ │ │ ├── btn_red_rect.xml │ │ │ │ ├── ic_menu3.xml │ │ │ │ ├── offer_red_rect.xml │ │ │ │ ├── size_red_rect.xml │ │ │ │ ├── white_circle.xml │ │ │ │ ├── white_dark.xml │ │ │ │ ├── white_light_rect.xml │ │ │ │ ├── white_light_rect1.xml │ │ │ │ ├── white_home_rect.xml │ │ │ │ ├── ic_minus.xml │ │ │ │ ├── ic_star_black_24dp.xml │ │ │ │ ├── ic_plus.xml │ │ │ │ ├── ic_tick.xml │ │ │ │ ├── ic_edit.xml │ │ │ │ ├── ic_back_white.xml │ │ │ │ ├── ic_back_black.xml │ │ │ │ ├── ic_dark_like.xml │ │ │ │ ├── ic_search.xml │ │ │ │ ├── ic_shopping_basket_1.xml │ │ │ │ ├── ic_shopping_basket_red.xml │ │ │ │ ├── ic_heart_light.xml │ │ │ │ ├── circle.xml │ │ │ │ ├── circle2.xml │ │ │ │ ├── ic_delete.xml │ │ │ │ ├── ic_supermarket.xml │ │ │ │ ├── ic_paypal.xml │ │ │ │ ├── ic_visa_logo.xml │ │ │ │ ├── ic_settings.xml │ │ │ │ └── ic_launcher_background.xml │ │ │ ├── font │ │ │ │ ├── roboto_black.ttf │ │ │ │ ├── roboto_bold.ttf │ │ │ │ ├── roboto_light.ttf │ │ │ │ ├── roboto_italic.ttf │ │ │ │ ├── roboto_medium.ttf │ │ │ │ ├── roboto_regular.ttf │ │ │ │ ├── sf_pro_display_bold.otf │ │ │ │ ├── sf_pro_display_light.otf │ │ │ │ ├── sf_pro_display_medium.otf │ │ │ │ ├── sf_pro_display_regular.otf │ │ │ │ └── sf_pro_display_semibold.otf │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_launcher.xml │ │ │ │ └── ic_launcher_round.xml │ │ │ ├── layout │ │ │ │ ├── fragment_fifth.xml │ │ │ │ ├── fragment_first.xml │ │ │ │ ├── fragment_fourth.xml │ │ │ │ ├── fragment_second.xml │ │ │ │ ├── fragment_third.xml │ │ │ │ ├── item_navigation_list.xml │ │ │ │ ├── activity_product_grid.xml │ │ │ │ ├── activity_eshopping_list.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── item_eshopping_list.xml │ │ │ │ ├── activity_my_order.xml │ │ │ │ ├── toolbar_product_list.xml │ │ │ │ ├── toolbar_homepage.xml │ │ │ │ ├── activity_product_list.xml │ │ │ │ ├── activity_navigation.xml │ │ │ │ ├── activity_splash_screen.xml │ │ │ │ ├── toolbar_payment.xml │ │ │ │ ├── activity_drawer.xml │ │ │ │ ├── activity_sucessfull.xml │ │ │ │ ├── item_review_list.xml │ │ │ │ ├── item_favourite_list.xml │ │ │ │ ├── item_smartphone_list.xml │ │ │ │ ├── item_product_grid_list.xml │ │ │ │ ├── activity_login.xml │ │ │ │ ├── item_my_order_list.xml │ │ │ │ ├── item_product_list.xml │ │ │ │ ├── activity_signup.xml │ │ │ │ ├── activity_home_page.xml │ │ │ │ ├── activity_add_address.xml │ │ │ │ └── activity_payment.xml │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ └── drawable-v24 │ │ │ │ └── ic_launcher_foreground.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── mhasancse │ │ │ │ └── eshopping │ │ │ │ ├── ModelClass │ │ │ │ ├── ReviewModelClass.java │ │ │ │ ├── EShoppingModelClass.java │ │ │ │ ├── ProductGridModellClass.java │ │ │ │ ├── ProductListModellClass.java │ │ │ │ ├── FavouriteModelClass.java │ │ │ │ └── MyOrderModelClass.java │ │ │ │ ├── uiux │ │ │ │ └── design │ │ │ │ │ └── eshoppinguikit │ │ │ │ │ ├── SignupActivity.java │ │ │ │ │ ├── PaymentActivity.java │ │ │ │ │ ├── SucessfullActivity.java │ │ │ │ │ ├── AddAddressActivity.java │ │ │ │ │ ├── LoginActivity.java │ │ │ │ │ ├── SplashScreenActivity.java │ │ │ │ │ ├── MyCartActivity.java │ │ │ │ │ ├── EShoppingListActivity.java │ │ │ │ │ ├── ProductGridActivity.java │ │ │ │ │ ├── ProductListActivity.java │ │ │ │ │ ├── MyOrderActivity.java │ │ │ │ │ ├── HomePageActivity.java │ │ │ │ │ └── NavigationActivity.java │ │ │ │ ├── fragment │ │ │ │ ├── FifthFragment.java │ │ │ │ ├── ThirdFragment.java │ │ │ │ ├── FourthFragment.java │ │ │ │ ├── SecondFragment.java │ │ │ │ └── FirstFragment.java │ │ │ │ └── Adapter │ │ │ │ ├── ProductDetailPagerAdapter.java │ │ │ │ ├── ReviewsRecycleAdapter.java │ │ │ │ ├── MyOrderRecycleAdapter.java │ │ │ │ ├── NavigationRecycleAdapter.java │ │ │ │ ├── RecycleAdapteProductGrid.java │ │ │ │ ├── RecycleAdapteProductList.java │ │ │ │ ├── SmartPhoneRecycleAdapter.java │ │ │ │ ├── FavouriteRecycleAdapter.java │ │ │ │ └── EShoppingListRecycleAdapter.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── mhasancse │ │ │ └── eshopping │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── mhasancse │ │ └── eshopping │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .idea ├── encodings.xml ├── misc.xml ├── runConfigurations.xml └── gradle.xml ├── .gitignore ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ac.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/ac.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/tv.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/tv.jpg -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/img1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/img1.jpeg -------------------------------------------------------------------------------- /app/src/main/res/drawable/img2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/img2.jpeg -------------------------------------------------------------------------------- /app/src/main/res/drawable/img3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/img3.jpeg -------------------------------------------------------------------------------- /app/src/main/res/drawable/img4.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/img4.jpeg -------------------------------------------------------------------------------- /app/src/main/res/drawable/img5.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/img5.jpeg -------------------------------------------------------------------------------- /app/src/main/res/drawable/jacob.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/jacob.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/offer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/offer.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/heater.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/heater.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/iphnx.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/iphnx.jpeg -------------------------------------------------------------------------------- /app/src/main/res/drawable/mobile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/mobile.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/offer2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/offer2.jpg -------------------------------------------------------------------------------- /app/src/main/res/drawable/reybane.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/reybane.jpeg -------------------------------------------------------------------------------- /app/src/main/res/drawable/s9plus.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/s9plus.jpeg -------------------------------------------------------------------------------- /app/src/main/res/drawable/vivo11.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/vivo11.jpeg -------------------------------------------------------------------------------- /app/src/main/res/drawable/washing.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/washing.jpg -------------------------------------------------------------------------------- /app/src/main/res/font/roboto_black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/font/roboto_black.ttf -------------------------------------------------------------------------------- /app/src/main/res/font/roboto_bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/font/roboto_bold.ttf -------------------------------------------------------------------------------- /app/src/main/res/font/roboto_light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/font/roboto_light.ttf -------------------------------------------------------------------------------- /app/src/main/res/drawable/headphone.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/headphone.jpeg -------------------------------------------------------------------------------- /app/src/main/res/drawable/shoesfila.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/shoesfila.jpeg -------------------------------------------------------------------------------- /app/src/main/res/font/roboto_italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/font/roboto_italic.ttf -------------------------------------------------------------------------------- /app/src/main/res/font/roboto_medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/font/roboto_medium.ttf -------------------------------------------------------------------------------- /app/src/main/res/font/roboto_regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/font/roboto_regular.ttf -------------------------------------------------------------------------------- /app/src/main/res/drawable/googlepixel.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/drawable/googlepixel.jpeg -------------------------------------------------------------------------------- /app/src/main/res/font/sf_pro_display_bold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/font/sf_pro_display_bold.otf -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/font/sf_pro_display_light.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/font/sf_pro_display_light.otf -------------------------------------------------------------------------------- /app/src/main/res/font/sf_pro_display_medium.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/font/sf_pro_display_medium.otf -------------------------------------------------------------------------------- /app/src/main/res/font/sf_pro_display_regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/font/sf_pro_display_regular.otf -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/font/sf_pro_display_semibold.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/HEAD/app/src/main/res/font/sf_pro_display_semibold.otf -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mhasancse15/EShopping/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/mhasancse15/EShopping/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/mhasancse15/EShopping/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/mhasancse15/EShopping/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/mhasancse15/EShopping/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/color_cursor.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/circle_light_plus.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 7 | 8 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sat Oct 19 14:06:39 BDT 2019 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/black_circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_red.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/green_circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_add.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/red_circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/size_rect.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/brn_red_rect.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/btn_red_rect.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_menu3.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/offer_red_rect.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/size_red_rect.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/white_circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 9 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/white_dark.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/white_light_rect.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/white_light_rect1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/white_home_rect.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_minus.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_star_black_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_plus.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_tick.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/test/java/com/mhasancse/eshopping/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/ModelClass/ReviewModelClass.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.ModelClass; 2 | 3 | /** 4 | * Created by wolfsoft5 on 25/2/19. 5 | */ 6 | 7 | public class ReviewModelClass { 8 | 9 | String title; 10 | 11 | public ReviewModelClass(String title) { 12 | this.title = title; 13 | } 14 | 15 | public String getTitle() { 16 | return title; 17 | } 18 | 19 | public void setTitle(String title) { 20 | this.title = title; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_edit.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/ModelClass/EShoppingModelClass.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.ModelClass; 2 | 3 | /** 4 | * Created by wolfsoft5 on 30/6/18. 5 | */ 6 | 7 | public class EShoppingModelClass { 8 | 9 | String title; 10 | 11 | public EShoppingModelClass(String title) { 12 | this.title = title; 13 | } 14 | 15 | public String getTitle() { 16 | return title; 17 | } 18 | 19 | public void setTitle(String title) { 20 | this.title = title; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_fifth.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_first.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_fourth.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_second.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_third.xml: -------------------------------------------------------------------------------- 1 | 6 | 7 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/ModelClass/ProductGridModellClass.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.ModelClass; 2 | 3 | /** 4 | * Created by wolfsoft5 on 7/5/18. 5 | */ 6 | 7 | public class ProductGridModellClass { 8 | 9 | Integer image; 10 | 11 | public ProductGridModellClass(Integer image) { 12 | this.image = image; 13 | } 14 | 15 | public Integer getImage() { 16 | return image; 17 | } 18 | 19 | public void setImage(Integer image) { 20 | this.image = image; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/uiux/design/eshoppinguikit/SignupActivity.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.uiux.design.eshoppinguikit; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | 6 | import com.mhasancse.eshopping.R; 7 | 8 | public class SignupActivity extends AppCompatActivity { 9 | 10 | @Override 11 | protected void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | setContentView(R.layout.activity_signup); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/uiux/design/eshoppinguikit/PaymentActivity.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.uiux.design.eshoppinguikit; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | 6 | import com.mhasancse.eshopping.R; 7 | 8 | public class PaymentActivity extends AppCompatActivity { 9 | 10 | @Override 11 | protected void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | setContentView(R.layout.activity_payment); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/uiux/design/eshoppinguikit/SucessfullActivity.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.uiux.design.eshoppinguikit; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | 6 | import com.mhasancse.eshopping.R; 7 | 8 | public class SucessfullActivity extends AppCompatActivity { 9 | 10 | @Override 11 | protected void onCreate(Bundle savedInstanceState) { 12 | super.onCreate(savedInstanceState); 13 | setContentView(R.layout.activity_sucessfull); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_back_white.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_back_black.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 14 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_dark_like.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | EShoppingUIKIT 3 | 4 | Rs 1000 5 | open_drawer 6 | close_drawer 7 | Rs 40000 8 | Rs 40000 9 | 10 | 11 | Hello blank fragment 12 | Rs. 2500 13 | 14 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_search.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_navigation_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #c61236 5 | #FF4081 6 | #dc143c 7 | #ffffff 8 | #E6E6EE 9 | #38393f 10 | #00000000 11 | #f5f5f5 12 | #e2e2e2 13 | #FFFF66 14 | #D3D3D3 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_product_grid.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/uiux/design/eshoppinguikit/AddAddressActivity.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.uiux.design.eshoppinguikit; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | import android.widget.TextView; 6 | 7 | import com.mhasancse.eshopping.R; 8 | 9 | public class AddAddressActivity extends AppCompatActivity { 10 | 11 | TextView title; 12 | 13 | @Override 14 | protected void onCreate(Bundle savedInstanceState) { 15 | super.onCreate(savedInstanceState); 16 | setContentView(R.layout.activity_add_address); 17 | 18 | title = findViewById(R.id.title); 19 | title.setText("Add New Address"); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_eshopping_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 13 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | # IDE (e.g. Android Studio) users: 3 | # Gradle settings configured through the IDE *will override* 4 | # any settings specified in this file. 5 | # For more details on how to configure your build environment visit 6 | # http://www.gradle.org/docs/current/userguide/build_environment.html 7 | # Specifies the JVM arguments used for the daemon process. 8 | # The setting is particularly useful for tweaking memory settings. 9 | org.gradle.jvmargs=-Xmx1536m 10 | # When configured, Gradle will run in incubating parallel mode. 11 | # This option should only be used with decoupled projects. More details, visit 12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 13 | # org.gradle.parallel=true 14 | 15 | 16 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/fragment/FifthFragment.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.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.mhasancse.eshopping.R; 10 | 11 | 12 | public class FifthFragment extends Fragment { 13 | 14 | 15 | private View view; 16 | 17 | 18 | 19 | 20 | 21 | @Override 22 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 23 | Bundle savedInstanceState) { 24 | // Inflate the layout for this fragment 25 | view = inflater.inflate(R.layout.fragment_fifth, container, false); 26 | 27 | 28 | 29 | 30 | return view; 31 | } 32 | 33 | 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/fragment/ThirdFragment.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.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.mhasancse.eshopping.R; 10 | 11 | 12 | public class ThirdFragment extends Fragment { 13 | 14 | 15 | private View view; 16 | 17 | 18 | 19 | 20 | 21 | @Override 22 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 23 | Bundle savedInstanceState) { 24 | // Inflate the layout for this fragment 25 | view = inflater.inflate(R.layout.fragment_third, container, false); 26 | 27 | 28 | 29 | 30 | return view; 31 | } 32 | 33 | 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/fragment/FourthFragment.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.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.mhasancse.eshopping.R; 10 | 11 | 12 | public class FourthFragment extends Fragment { 13 | 14 | 15 | private View view; 16 | 17 | 18 | 19 | 20 | 21 | @Override 22 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 23 | Bundle savedInstanceState) { 24 | // Inflate the layout for this fragment 25 | view = inflater.inflate(R.layout.fragment_fourth, container, false); 26 | 27 | 28 | 29 | 30 | return view; 31 | } 32 | 33 | 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/fragment/SecondFragment.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.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.mhasancse.eshopping.R; 10 | 11 | 12 | public class SecondFragment extends Fragment { 13 | 14 | 15 | private View view; 16 | 17 | 18 | 19 | 20 | 21 | @Override 22 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 23 | Bundle savedInstanceState) { 24 | // Inflate the layout for this fragment 25 | view = inflater.inflate(R.layout.fragment_second, container, false); 26 | 27 | 28 | 29 | 30 | return view; 31 | } 32 | 33 | 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_shopping_basket_1.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_shopping_basket_red.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_eshopping_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 18 | 19 | 23 | 24 | -------------------------------------------------------------------------------- /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/res/layout/activity_my_order.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 14 | 15 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /app/src/main/res/layout/toolbar_product_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 13 | 14 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/mhasancse/eshopping/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumented test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.mhasancse.eshopping", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/fragment/FirstFragment.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.fragment; 2 | 3 | import android.content.Context; 4 | import android.net.Uri; 5 | import android.os.Bundle; 6 | import android.support.v4.app.Fragment; 7 | import android.support.v4.view.ViewPager; 8 | import android.view.LayoutInflater; 9 | import android.view.View; 10 | import android.view.ViewGroup; 11 | 12 | import com.mhasancse.eshopping.R; 13 | 14 | 15 | public class FirstFragment extends Fragment { 16 | 17 | 18 | private View view; 19 | 20 | 21 | 22 | 23 | 24 | @Override 25 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 26 | Bundle savedInstanceState) { 27 | // Inflate the layout for this fragment 28 | view = inflater.inflate(R.layout.fragment_first, container, false); 29 | 30 | 31 | 32 | 33 | return view; 34 | } 35 | 36 | 37 | } 38 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/ModelClass/ProductListModellClass.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.ModelClass; 2 | 3 | /** 4 | * Created by wolfsoft5 on 7/5/18. 5 | */ 6 | 7 | public class ProductListModellClass { 8 | 9 | Integer image; 10 | String title; 11 | Integer like; 12 | 13 | public ProductListModellClass(Integer image, String title, Integer like) { 14 | this.image = image; 15 | this.title = title; 16 | this.like = like; 17 | } 18 | 19 | public Integer getImage() { 20 | return image; 21 | } 22 | 23 | public void setImage(Integer image) { 24 | this.image = image; 25 | } 26 | 27 | public String getTitle() { 28 | return title; 29 | } 30 | 31 | public void setTitle(String title) { 32 | this.title = title; 33 | } 34 | 35 | public Integer getLike() { 36 | return like; 37 | } 38 | 39 | public void setLike(Integer like) { 40 | this.like = like; 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_heart_light.xml: -------------------------------------------------------------------------------- 1 | 3 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/uiux/design/eshoppinguikit/LoginActivity.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.uiux.design.eshoppinguikit; 2 | 3 | import android.content.Intent; 4 | import android.support.v7.app.AppCompatActivity; 5 | import android.os.Bundle; 6 | import android.view.View; 7 | import android.widget.Button; 8 | 9 | import com.mhasancse.eshopping.R; 10 | 11 | public class LoginActivity extends AppCompatActivity { 12 | 13 | Button button; 14 | 15 | @Override 16 | protected void onCreate(Bundle savedInstanceState) { 17 | super.onCreate(savedInstanceState); 18 | setContentView(R.layout.activity_login); 19 | 20 | // button = findViewById(R.id.button); 21 | // button.setOnClickListener(new View.OnClickListener() { 22 | // @Override 23 | // public void onClick(View v) { 24 | // Intent intent = new Intent(LoginActivity.this,SignupActivity.class); 25 | // startActivity(intent); 26 | // } 27 | // }); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/circle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/circle2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_delete.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_supermarket.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_paypal.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/layout/toolbar_homepage.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 15 | 16 | 17 | 25 | 26 | 32 | 33 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/ModelClass/FavouriteModelClass.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.ModelClass; 2 | 3 | /** 4 | * Created by wolfsoft5 on 14/2/19. 5 | */ 6 | 7 | public class FavouriteModelClass { 8 | 9 | Integer image; 10 | String title,price; 11 | boolean isSelected = true; 12 | 13 | 14 | public FavouriteModelClass(Integer image, String title, String price) { 15 | this.image = image; 16 | this.title = title; 17 | this.price = price; 18 | } 19 | 20 | public Integer getImage() { 21 | return image; 22 | } 23 | 24 | public void setImage(Integer image) { 25 | this.image = image; 26 | } 27 | 28 | public String getTitle() { 29 | return title; 30 | } 31 | 32 | public void setTitle(String title) { 33 | this.title = title; 34 | } 35 | 36 | public String getPrice() { 37 | return price; 38 | } 39 | 40 | public void setPrice(String price) { 41 | this.price = price; 42 | } 43 | 44 | public boolean isSelected() { 45 | return isSelected; 46 | } 47 | 48 | public void setSelected(boolean selected) { 49 | isSelected = selected; 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 10 | 11 | 12 | 20 | 21 | 25 | 26 | 30 | 31 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_product_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | 12 | 16 | 17 | 21 | 22 | 23 | 24 | 25 | 26 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 28 5 | buildToolsVersion "29.0.0" 6 | defaultConfig { 7 | applicationId "com.mhasancse.eshopping" 8 | minSdkVersion 19 9 | targetSdkVersion 28 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | implementation fileTree(include: ['*.jar'], dir: 'libs') 24 | implementation 'com.android.support:appcompat-v7:28.0.0' 25 | implementation 'com.android.support.constraint:constraint-layout:1.1.3' 26 | implementation 'com.android.support:support-v4:28.0.0' 27 | testImplementation 'junit:junit:4.12' 28 | androidTestImplementation 'com.android.support.test:runner:1.0.2' 29 | androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' 30 | implementation 'com.android.support:design:28.0.0' 31 | implementation 'com.android.support:recyclerview-v7:28.0.0' 32 | implementation 'de.hdodenhof:circleimageview:3.0.0' 33 | implementation 'me.relex:circleindicator:1.2.2' 34 | } 35 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/uiux/design/eshoppinguikit/SplashScreenActivity.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.uiux.design.eshoppinguikit; 2 | 3 | import android.content.Intent; 4 | import android.support.v7.app.AppCompatActivity; 5 | import android.os.Bundle; 6 | 7 | import com.mhasancse.eshopping.R; 8 | 9 | public class SplashScreenActivity extends AppCompatActivity { 10 | 11 | @Override 12 | protected void onCreate(Bundle savedInstanceState) { 13 | super.onCreate(savedInstanceState); 14 | setContentView(R.layout.activity_splash_screen); 15 | 16 | 17 | 18 | Thread background = new Thread() { 19 | public void run() { 20 | 21 | try { 22 | // Thread will sleep for 5 seconds 23 | sleep(2*1000); 24 | 25 | Intent intent = new Intent(SplashScreenActivity.this,EShoppingListActivity.class); 26 | startActivity(intent); 27 | 28 | 29 | // After 5 seconds redirect to another intent 30 | 31 | 32 | //Remove activity 33 | finish(); 34 | 35 | } catch (Exception e) { 36 | 37 | } 38 | } 39 | }; 40 | 41 | // start thread 42 | background.start(); 43 | 44 | 45 | } 46 | 47 | @Override 48 | protected void onDestroy() { 49 | 50 | super.onDestroy(); 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 16 | 17 | 19 | 20 | 24 | 25 | 26 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_visa_logo.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/ModelClass/MyOrderModelClass.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.ModelClass; 2 | 3 | /** 4 | * Created by wolfsoft5 on 28/2/19. 5 | */ 6 | 7 | public class MyOrderModelClass { 8 | 9 | Integer image; 10 | String title,quantity,price,date,order_no; 11 | 12 | public MyOrderModelClass(Integer image, String title, String quantity, String price, String date, String order_no) { 13 | this.image = image; 14 | this.title = title; 15 | this.quantity = quantity; 16 | this.price = price; 17 | this.date = date; 18 | this.order_no = order_no; 19 | } 20 | 21 | public Integer getImage() { 22 | return image; 23 | } 24 | 25 | public void setImage(Integer image) { 26 | this.image = image; 27 | } 28 | 29 | public String getTitle() { 30 | return title; 31 | } 32 | 33 | public void setTitle(String title) { 34 | this.title = title; 35 | } 36 | 37 | public String getQuantity() { 38 | return quantity; 39 | } 40 | 41 | public void setQuantity(String quantity) { 42 | this.quantity = quantity; 43 | } 44 | 45 | public String getPrice() { 46 | return price; 47 | } 48 | 49 | public void setPrice(String price) { 50 | this.price = price; 51 | } 52 | 53 | public String getDate() { 54 | return date; 55 | } 56 | 57 | public void setDate(String date) { 58 | this.date = date; 59 | } 60 | 61 | public String getOrder_no() { 62 | return order_no; 63 | } 64 | 65 | public void setOrder_no(String order_no) { 66 | this.order_no = order_no; 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/Adapter/ProductDetailPagerAdapter.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.Adapter; 2 | import android.support.v4.app.Fragment; 3 | import android.support.v4.app.FragmentManager; 4 | import android.support.v4.app.FragmentStatePagerAdapter; 5 | 6 | import com.mhasancse.eshopping.fragment.FifthFragment; 7 | import com.mhasancse.eshopping.fragment.FirstFragment; 8 | import com.mhasancse.eshopping.fragment.FourthFragment; 9 | import com.mhasancse.eshopping.fragment.SecondFragment; 10 | import com.mhasancse.eshopping.fragment.ThirdFragment; 11 | 12 | 13 | public class ProductDetailPagerAdapter extends FragmentStatePagerAdapter { 14 | 15 | 16 | 17 | public ProductDetailPagerAdapter(FragmentManager fm) { 18 | super(fm); 19 | 20 | } 21 | 22 | 23 | 24 | @Override 25 | public Fragment getItem(int position) { 26 | 27 | switch (position) { 28 | case 0: 29 | FirstFragment tab1 = new FirstFragment(); 30 | return tab1; 31 | 32 | case 1: 33 | SecondFragment tab6 = new SecondFragment(); 34 | return tab6; 35 | 36 | 37 | case 2: 38 | ThirdFragment tab2 = new ThirdFragment(); 39 | return tab2; 40 | 41 | case 3: 42 | FourthFragment tab3 = new FourthFragment(); 43 | return tab3; 44 | 45 | 46 | case 4: 47 | FifthFragment tab4 = new FifthFragment(); 48 | return tab4; 49 | 50 | 51 | default: 52 | return null; 53 | } 54 | } 55 | 56 | @Override 57 | public int getCount() { 58 | return 5; 59 | } 60 | } -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/uiux/design/eshoppinguikit/MyCartActivity.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.uiux.design.eshoppinguikit; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | import android.view.View; 6 | import android.widget.ImageView; 7 | import android.widget.LinearLayout; 8 | import android.widget.TextView; 9 | 10 | import com.mhasancse.eshopping.R; 11 | 12 | public class MyCartActivity extends AppCompatActivity { 13 | 14 | TextView title,number; 15 | 16 | LinearLayout linear_add,linear_count,bottom_linear; 17 | ImageView add,minus; 18 | 19 | 20 | int count=1,adult=1; 21 | 22 | @Override 23 | protected void onCreate(Bundle savedInstanceState) { 24 | super.onCreate(savedInstanceState); 25 | setContentView(R.layout.activity_my_cart); 26 | 27 | title = findViewById(R.id.title); 28 | title.setText("Cart"); 29 | 30 | 31 | 32 | //linear_add = findViewById(R.id.linear_add); 33 | linear_count = findViewById(R.id.linear_count); 34 | add = findViewById(R.id.plus); 35 | minus = findViewById(R.id.minus); 36 | number = findViewById(R.id.number); 37 | 38 | add.setOnClickListener(new View.OnClickListener() { 39 | @Override 40 | public void onClick(View v) { 41 | count++; 42 | number.setText(String.valueOf(count)); 43 | } 44 | }); 45 | minus.setOnClickListener(new View.OnClickListener() { 46 | @Override 47 | public void onClick(View v) { 48 | if (count!=1){ 49 | count--; 50 | number.setText(String.valueOf(count)); 51 | } 52 | } 53 | 54 | }); 55 | 56 | } 57 | } 58 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_splash_screen.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 16 | 17 | 18 | 23 | 24 | 34 | 35 | 36 | 37 | 38 | 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /app/src/main/res/layout/toolbar_payment.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 12 | 13 | 23 | 24 | 25 | 31 | 32 | 38 | 39 | 40 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /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/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/Adapter/ReviewsRecycleAdapter.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.Adapter; 2 | 3 | import android.content.Context; 4 | import android.content.Intent; 5 | import android.support.annotation.NonNull; 6 | import android.support.v7.widget.RecyclerView; 7 | import android.view.LayoutInflater; 8 | import android.view.View; 9 | import android.view.ViewGroup; 10 | import android.widget.TextView; 11 | 12 | import java.util.ArrayList; 13 | import java.util.List; 14 | 15 | 16 | import com.mhasancse.eshopping.ModelClass.ReviewModelClass; 17 | import com.mhasancse.eshopping.R; 18 | 19 | 20 | 21 | public class ReviewsRecycleAdapter extends RecyclerView.Adapter { 22 | 23 | Context context; 24 | 25 | 26 | private List OfferList; 27 | 28 | 29 | public class MyViewHolder extends RecyclerView.ViewHolder { 30 | 31 | 32 | TextView title; 33 | 34 | 35 | public MyViewHolder(View view) { 36 | super(view); 37 | 38 | title = (TextView) view.findViewById(R.id.title); 39 | 40 | 41 | } 42 | 43 | } 44 | 45 | 46 | public ReviewsRecycleAdapter(Context context, ArrayList offerList) { 47 | this.OfferList = offerList; 48 | this.context = context; 49 | } 50 | 51 | @Override 52 | public ReviewsRecycleAdapter.MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 53 | View itemView = LayoutInflater.from(parent.getContext()) 54 | .inflate(R.layout.item_review_list, parent, false); 55 | 56 | 57 | return new ReviewsRecycleAdapter.MyViewHolder(itemView); 58 | 59 | 60 | } 61 | 62 | @Override 63 | public void onBindViewHolder(@NonNull MyViewHolder holder, final int position) { 64 | ReviewModelClass lists = OfferList.get(position); 65 | holder.title.setText(lists.getTitle()); 66 | 67 | 68 | 69 | } 70 | 71 | 72 | @Override 73 | public int getItemCount() { 74 | return OfferList.size(); 75 | 76 | } 77 | 78 | } 79 | 80 | 81 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/uiux/design/eshoppinguikit/EShoppingListActivity.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.uiux.design.eshoppinguikit; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | import android.support.v7.widget.DefaultItemAnimator; 6 | import android.support.v7.widget.LinearLayoutManager; 7 | import android.support.v7.widget.RecyclerView; 8 | 9 | import com.mhasancse.eshopping.Adapter.EShoppingListRecycleAdapter; 10 | import com.mhasancse.eshopping.ModelClass.EShoppingModelClass; 11 | import com.mhasancse.eshopping.R; 12 | 13 | import java.util.ArrayList; 14 | 15 | 16 | 17 | public class EShoppingListActivity extends AppCompatActivity { 18 | 19 | private ArrayList eShoppingModelClasses; 20 | private RecyclerView recyclerView; 21 | private EShoppingListRecycleAdapter bAdapter; 22 | 23 | private String txt[]={"1.SignUp Activity","2.SignIn Activity","3.Homepage Activity","4.Navigation Activity","5.ProductList Activity","6.ProductGrid Activity", 24 | "7.ProdcutDetail Activity","8.Cart Activity","9.Address Activity","10.Payment Activity","11.MyOrder Activity","12.Sucessfull Order Activity"}; 25 | 26 | 27 | @Override 28 | protected void onCreate(Bundle savedInstanceState) { 29 | super.onCreate(savedInstanceState); 30 | setContentView(R.layout.activity_eshopping_list); 31 | 32 | 33 | /*recyclerview code is here*/ 34 | 35 | 36 | recyclerView = findViewById(R.id.recyclerView); 37 | RecyclerView.LayoutManager layoutManager = new LinearLayoutManager(EShoppingListActivity.this); 38 | recyclerView.setLayoutManager(layoutManager); 39 | recyclerView.setItemAnimator(new DefaultItemAnimator()); 40 | 41 | eShoppingModelClasses = new ArrayList<>(); 42 | 43 | for (int i = 0; i < txt.length; i++) { 44 | EShoppingModelClass beanClassForRecyclerView_contacts = new EShoppingModelClass(txt[i]); 45 | eShoppingModelClasses.add(beanClassForRecyclerView_contacts); 46 | } 47 | bAdapter = new EShoppingListRecycleAdapter(EShoppingListActivity.this,eShoppingModelClasses); 48 | recyclerView.setAdapter(bAdapter); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/uiux/design/eshoppinguikit/ProductGridActivity.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.uiux.design.eshoppinguikit; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | import android.support.v7.widget.DefaultItemAnimator; 6 | import android.support.v7.widget.GridLayoutManager; 7 | import android.support.v7.widget.RecyclerView; 8 | import android.widget.TextView; 9 | 10 | import com.mhasancse.eshopping.Adapter.RecycleAdapteProductGrid; 11 | import com.mhasancse.eshopping.ModelClass.ProductGridModellClass; 12 | import com.mhasancse.eshopping.R; 13 | 14 | import java.util.ArrayList; 15 | 16 | 17 | public class ProductGridActivity extends AppCompatActivity { 18 | 19 | 20 | private ArrayList productGridModellClasses; 21 | private RecyclerView recyclerview; 22 | private RecycleAdapteProductGrid mAdapter2; 23 | private Integer image1[]={R.drawable.s9plus,R.drawable.s9plus,R.drawable.s9plus,R.drawable.s9plus,R.drawable.s9plus,R.drawable.s9plus}; 24 | 25 | TextView title; 26 | 27 | @Override 28 | protected void onCreate(Bundle savedInstanceState) { 29 | super.onCreate(savedInstanceState); 30 | setContentView(R.layout.activity_product_grid); 31 | 32 | title = findViewById(R.id.title); 33 | title.setText("Product Grid"); 34 | 35 | // New Arrival Kitchen Recyclerview Code is here 36 | 37 | recyclerview = (RecyclerView) findViewById(R.id.recyclerview); 38 | 39 | productGridModellClasses = new ArrayList<>(); 40 | 41 | 42 | 43 | for (int i = 0; i < image1.length; i++) { 44 | ProductGridModellClass beanClassForRecyclerView_contacts = new ProductGridModellClass(image1[i]); 45 | productGridModellClasses.add(beanClassForRecyclerView_contacts); 46 | } 47 | 48 | 49 | 50 | mAdapter2 = new RecycleAdapteProductGrid(ProductGridActivity.this,productGridModellClasses); 51 | RecyclerView.LayoutManager mLayoutManager = new GridLayoutManager(ProductGridActivity.this,2); 52 | recyclerview.setLayoutManager(mLayoutManager); 53 | recyclerview.setItemAnimator(new DefaultItemAnimator()); 54 | recyclerview.setAdapter(mAdapter2); 55 | 56 | 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/uiux/design/eshoppinguikit/ProductListActivity.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.uiux.design.eshoppinguikit; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | import android.support.v7.widget.DefaultItemAnimator; 6 | import android.support.v7.widget.LinearLayoutManager; 7 | import android.support.v7.widget.RecyclerView; 8 | 9 | import com.mhasancse.eshopping.Adapter.RecycleAdapteProductList; 10 | import com.mhasancse.eshopping.ModelClass.ProductListModellClass; 11 | import com.mhasancse.eshopping.R; 12 | 13 | import java.util.ArrayList; 14 | 15 | 16 | 17 | public class ProductListActivity extends AppCompatActivity { 18 | 19 | 20 | private ArrayList productListModellClasses; 21 | private RecyclerView recyclerview; 22 | private RecycleAdapteProductList mAdapter2; 23 | private Integer image1[]={R.drawable.s9plus, R.drawable.iphnx,R.drawable.googlepixel,R.drawable.vivo11}; 24 | private String title1[] ={"Samsung S9 Plus","I Phone X","Google Pixel 3","Vivo V-11 Pro",}; 25 | private Integer like[] = {R.drawable.ic_heart_light,R.drawable.ic_dark_like,R.drawable.ic_dark_like,R.drawable.ic_heart_light,}; 26 | 27 | @Override 28 | protected void onCreate(Bundle savedInstanceState) { 29 | super.onCreate(savedInstanceState); 30 | setContentView(R.layout.activity_product_list); 31 | 32 | 33 | 34 | // Product List Recyclerview Code is here 35 | 36 | recyclerview = (RecyclerView)findViewById(R.id.recyclerview); 37 | 38 | productListModellClasses = new ArrayList<>(); 39 | 40 | 41 | 42 | for (int i = 0; i < image1.length; i++) { 43 | ProductListModellClass beanClassForRecyclerView_contacts = new ProductListModellClass(image1[i],title1[i],like[i]); 44 | 45 | productListModellClasses.add(beanClassForRecyclerView_contacts); 46 | } 47 | 48 | 49 | 50 | mAdapter2 = new RecycleAdapteProductList(ProductListActivity.this,productListModellClasses); 51 | RecyclerView.LayoutManager mLayoutManager = new LinearLayoutManager(ProductListActivity.this); 52 | recyclerview.setLayoutManager(mLayoutManager); 53 | recyclerview.setItemAnimator(new DefaultItemAnimator()); 54 | recyclerview.setAdapter(mAdapter2); 55 | 56 | 57 | 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/uiux/design/eshoppinguikit/MyOrderActivity.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.uiux.design.eshoppinguikit; 2 | 3 | import android.support.v7.app.AppCompatActivity; 4 | import android.os.Bundle; 5 | import android.support.v7.widget.DefaultItemAnimator; 6 | import android.support.v7.widget.LinearLayoutManager; 7 | import android.support.v7.widget.RecyclerView; 8 | import android.widget.TextView; 9 | 10 | import com.mhasancse.eshopping.Adapter.MyOrderRecycleAdapter; 11 | import com.mhasancse.eshopping.ModelClass.MyOrderModelClass; 12 | import com.mhasancse.eshopping.R; 13 | 14 | import java.util.ArrayList; 15 | 16 | 17 | 18 | public class MyOrderActivity extends AppCompatActivity { 19 | 20 | TextView title; 21 | 22 | private ArrayList myOrderModelClasses; 23 | private RecyclerView recyclerview; 24 | private MyOrderRecycleAdapter mAdapter2; 25 | 26 | private Integer image[] = {R.drawable.s9plus,R.drawable.shoesfila}; 27 | private String title1[] = {"Samsung Galaxy S9 Plus","Fila Super"}; 28 | private String price[] = {"Rs. 30,000","Rs. 2500"}; 29 | private String qty[] = {"1","1"}; 30 | private String date [] = {"28/01/2019 5:00PM","12/02/2019 11:00 AM"}; 31 | private String order_no[] = {"#412458","#154352"}; 32 | 33 | @Override 34 | protected void onCreate(Bundle savedInstanceState) { 35 | super.onCreate(savedInstanceState); 36 | setContentView(R.layout.activity_my_order); 37 | 38 | title = findViewById(R.id.title); 39 | title.setText("My Order"); 40 | 41 | 42 | 43 | // MyOrder Recyclerview Code is here 44 | 45 | recyclerview = (RecyclerView)findViewById(R.id.recyclerView); 46 | 47 | myOrderModelClasses = new ArrayList<>(); 48 | 49 | 50 | 51 | for (int i = 0; i < image.length; i++) { 52 | MyOrderModelClass beanClassForRecyclerView_contacts = new MyOrderModelClass(image[i],title1[i],price[i],qty[i],date[i],order_no[i]); 53 | 54 | myOrderModelClasses.add(beanClassForRecyclerView_contacts); 55 | } 56 | 57 | 58 | 59 | mAdapter2 = new MyOrderRecycleAdapter(MyOrderActivity.this,myOrderModelClasses); 60 | RecyclerView.LayoutManager mLayoutManager = new LinearLayoutManager(MyOrderActivity.this); 61 | recyclerview.setLayoutManager(mLayoutManager); 62 | recyclerview.setItemAnimator(new DefaultItemAnimator()); 63 | recyclerview.setAdapter(mAdapter2); 64 | 65 | } 66 | } 67 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | set DIRNAME=%~dp0 12 | if "%DIRNAME%" == "" set DIRNAME=. 13 | set APP_BASE_NAME=%~n0 14 | set APP_HOME=%DIRNAME% 15 | 16 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 17 | set DEFAULT_JVM_OPTS= 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windows variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | 53 | :win9xME_args 54 | @rem Slurp the command line arguments. 55 | set CMD_LINE_ARGS= 56 | set _SKIP=2 57 | 58 | :win9xME_args_slurp 59 | if "x%~1" == "x" goto execute 60 | 61 | set CMD_LINE_ARGS=%* 62 | 63 | :execute 64 | @rem Setup the command line 65 | 66 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 67 | 68 | @rem Execute Gradle 69 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 70 | 71 | :end 72 | @rem End local scope for the variables with windows NT shell 73 | if "%ERRORLEVEL%"=="0" goto mainEnd 74 | 75 | :fail 76 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 77 | rem the _cmd.exe /c_ return code! 78 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 79 | exit /b 1 80 | 81 | :mainEnd 82 | if "%OS%"=="Windows_NT" endlocal 83 | 84 | :omega 85 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/Adapter/MyOrderRecycleAdapter.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.Adapter; 2 | 3 | import android.content.Context; 4 | import android.support.annotation.NonNull; 5 | import android.support.v7.widget.RecyclerView; 6 | import android.view.LayoutInflater; 7 | import android.view.View; 8 | import android.view.ViewGroup; 9 | import android.widget.ImageView; 10 | import android.widget.TextView; 11 | 12 | import java.util.ArrayList; 13 | import java.util.List; 14 | 15 | 16 | 17 | import com.mhasancse.eshopping.ModelClass.MyOrderModelClass; 18 | import com.mhasancse.eshopping.R; 19 | 20 | 21 | public class MyOrderRecycleAdapter extends RecyclerView.Adapter { 22 | 23 | Context context; 24 | 25 | 26 | private List OfferList; 27 | 28 | 29 | public class MyViewHolder extends RecyclerView.ViewHolder { 30 | 31 | 32 | ImageView image; 33 | TextView title,qty,price,date,order_no; 34 | 35 | 36 | public MyViewHolder(View view) { 37 | super(view); 38 | 39 | image = (ImageView) view.findViewById(R.id.image); 40 | title = (TextView) view.findViewById(R.id.title); 41 | qty = (TextView) view.findViewById(R.id.qty); 42 | price = (TextView) view.findViewById(R.id.price); 43 | date = (TextView) view.findViewById(R.id.date); 44 | order_no = (TextView) view.findViewById(R.id.order_no); 45 | 46 | 47 | } 48 | 49 | } 50 | 51 | 52 | public MyOrderRecycleAdapter(Context context, ArrayList offerList) { 53 | this.OfferList = offerList; 54 | this.context = context; 55 | } 56 | 57 | @Override 58 | public MyOrderRecycleAdapter.MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 59 | View itemView = LayoutInflater.from(parent.getContext()) 60 | .inflate(R.layout.item_my_order_list, parent, false); 61 | 62 | 63 | return new MyOrderRecycleAdapter.MyViewHolder(itemView); 64 | 65 | 66 | } 67 | 68 | @Override 69 | public void onBindViewHolder(@NonNull MyViewHolder holder, final int position) { 70 | MyOrderModelClass lists = OfferList.get(position); 71 | holder.image.setImageResource(lists.getImage()); 72 | holder.title.setText(lists.getTitle()); 73 | holder.qty.setText(lists.getQuantity()); 74 | holder.price.setText(lists.getPrice()); 75 | holder.date.setText(lists.getDate()); 76 | holder.order_no.setText(lists.getOrder_no()); 77 | 78 | 79 | 80 | } 81 | 82 | 83 | @Override 84 | public int getItemCount() { 85 | return OfferList.size(); 86 | 87 | } 88 | 89 | } 90 | 91 | 92 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_settings.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/Adapter/NavigationRecycleAdapter.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.Adapter; 2 | 3 | import android.content.Context; 4 | import android.content.Intent; 5 | import android.graphics.Color; 6 | import android.support.annotation.NonNull; 7 | import android.support.v7.widget.RecyclerView; 8 | import android.view.LayoutInflater; 9 | import android.view.View; 10 | import android.view.ViewGroup; 11 | import android.widget.TextView; 12 | 13 | import java.util.ArrayList; 14 | import java.util.List; 15 | 16 | 17 | 18 | import com.mhasancse.eshopping.ModelClass.EShoppingModelClass; 19 | import com.mhasancse.eshopping.R; 20 | 21 | 22 | 23 | public class NavigationRecycleAdapter extends RecyclerView.Adapter { 24 | 25 | Context context; 26 | 27 | 28 | private List OfferList; 29 | 30 | int myPos = 0; 31 | 32 | public class MyViewHolder extends RecyclerView.ViewHolder { 33 | 34 | 35 | TextView title; 36 | 37 | 38 | public MyViewHolder(View view) { 39 | super(view); 40 | 41 | title = (TextView) view.findViewById(R.id.title); 42 | 43 | 44 | } 45 | 46 | } 47 | 48 | 49 | public NavigationRecycleAdapter(Context context, ArrayList offerList) { 50 | this.OfferList = offerList; 51 | this.context = context; 52 | } 53 | 54 | @Override 55 | public NavigationRecycleAdapter.MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 56 | View itemView = LayoutInflater.from(parent.getContext()) 57 | .inflate(R.layout.item_navigation_list, parent, false); 58 | 59 | 60 | return new NavigationRecycleAdapter.MyViewHolder(itemView); 61 | 62 | 63 | } 64 | 65 | @Override 66 | public void onBindViewHolder(@NonNull MyViewHolder holder, final int position) { 67 | EShoppingModelClass lists = OfferList.get(position); 68 | holder.title.setText(lists.getTitle()); 69 | 70 | if (myPos == position){ 71 | holder.title.setTextColor(Color.parseColor("#38393f")); 72 | 73 | 74 | }else { 75 | 76 | holder.title.setTextColor(Color.parseColor("#acacac")); 77 | 78 | } 79 | 80 | 81 | holder.itemView.setOnClickListener(new View.OnClickListener() { 82 | @Override 83 | public void onClick(View view) { 84 | myPos = position; 85 | notifyDataSetChanged(); 86 | 87 | } 88 | 89 | 90 | }); 91 | 92 | 93 | 94 | } 95 | 96 | 97 | @Override 98 | public int getItemCount() { 99 | return OfferList.size(); 100 | 101 | } 102 | 103 | } 104 | 105 | 106 | -------------------------------------------------------------------------------- /app/src/main/java/com/mhasancse/eshopping/Adapter/RecycleAdapteProductGrid.java: -------------------------------------------------------------------------------- 1 | package com.mhasancse.eshopping.Adapter; 2 | 3 | 4 | import android.content.Context; 5 | import android.graphics.Paint; 6 | import android.os.Build; 7 | import android.support.annotation.RequiresApi; 8 | import android.support.v7.widget.RecyclerView; 9 | import android.view.LayoutInflater; 10 | import android.view.View; 11 | import android.view.ViewGroup; 12 | import android.widget.ImageView; 13 | import android.widget.LinearLayout; 14 | import android.widget.TextView; 15 | 16 | import com.mhasancse.eshopping.ModelClass.ProductGridModellClass; 17 | import com.mhasancse.eshopping.R; 18 | 19 | import java.util.ArrayList; 20 | import java.util.List; 21 | 22 | /** 23 | * Created by Rp on 6/14/2016. 24 | */ 25 | public class RecycleAdapteProductGrid extends RecyclerView.Adapter { 26 | Context context; 27 | 28 | 29 | private List moviesList; 30 | 31 | int myPos = 0; 32 | 33 | 34 | public class MyViewHolder extends RecyclerView.ViewHolder { 35 | 36 | 37 | TextView title,offer,text; 38 | ImageView image; 39 | LinearLayout linear; 40 | 41 | 42 | public MyViewHolder(View view) { 43 | super(view); 44 | 45 | image = (ImageView) view.findViewById(R.id.image); 46 | offer = (TextView) view.findViewById(R.id.offer); 47 | text = (TextView) view.findViewById(R.id.text); 48 | //linear = (LinearLayout) view.findViewById(R.id.linear); 49 | 50 | } 51 | 52 | } 53 | 54 | 55 | public RecycleAdapteProductGrid(Context context, ArrayList moviesList) { 56 | this.moviesList = moviesList; 57 | this.context = context; 58 | } 59 | 60 | @Override 61 | public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { 62 | View itemView = LayoutInflater.from(parent.getContext()) 63 | .inflate(R.layout.item_product_grid_list, parent, false); 64 | 65 | 66 | return new MyViewHolder(itemView); 67 | 68 | 69 | } 70 | 71 | 72 | @RequiresApi(api = Build.VERSION_CODES.JELLY_BEAN) 73 | @Override 74 | public void onBindViewHolder(final MyViewHolder holder,final int position) { 75 | ProductGridModellClass movie = moviesList.get(position); 76 | holder.image.setImageResource(movie.getImage()); 77 | 78 | holder.offer.setText("Rs 60,000"); 79 | holder.offer.setPaintFlags(holder.offer.getPaintFlags() | Paint.STRIKE_THRU_TEXT_FLAG); 80 | 81 | if(position==2 | position==5){ 82 | holder.text.setVisibility(View.VISIBLE); 83 | 84 | }else { 85 | holder.text.setVisibility(View.GONE); 86 | } 87 | 88 | 89 | 90 | } 91 | 92 | @Override 93 | public int getItemCount() { 94 | return moviesList.size(); 95 | } 96 | 97 | 98 | 99 | } 100 | 101 | 102 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_drawer.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | 16 | 17 | 18 | 23 | 24 | 25 | 33 | 34 | 35 | 42 | 43 | 50 | 58 | 59 | 60 | 61 | 62 | 68 | 69 | 70 | 71 | 72 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_sucessfull.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | 24 | 25 | 31 | 32 | 33 | 42 | 43 | 44 | 52 | 53 | 54 |