diff --git a/FOOD-18/56164120_806658376376949_3265010413019856896_n.jpg b/FOOD-22/56164120_806658376376949_3265010413019856896_n.jpg
similarity index 100%
rename from FOOD-18/56164120_806658376376949_3265010413019856896_n.jpg
rename to FOOD-22/56164120_806658376376949_3265010413019856896_n.jpg
diff --git a/FOOD-22/ciasto1 b/FOOD-22/ciasto1
new file mode 100644
index 0000000..e9dca3e
Binary files /dev/null and b/FOOD-22/ciasto1 differ
diff --git a/FOOD-22/ciasto2.webp b/FOOD-22/ciasto2.webp
new file mode 100644
index 0000000..c7eb134
Binary files /dev/null and b/FOOD-22/ciasto2.webp differ
diff --git a/FOOD-22/ciasto3.jpg b/FOOD-22/ciasto3.jpg
new file mode 100644
index 0000000..21eced2
Binary files /dev/null and b/FOOD-22/ciasto3.jpg differ
diff --git a/FOOD-22/ciasto4.jpg b/FOOD-22/ciasto4.jpg
new file mode 100644
index 0000000..d2bb61e
Binary files /dev/null and b/FOOD-22/ciasto4.jpg differ
diff --git a/FOOD-22/ciasto5.jpg b/FOOD-22/ciasto5.jpg
new file mode 100644
index 0000000..f2a48f0
Binary files /dev/null and b/FOOD-22/ciasto5.jpg differ
diff --git a/FOOD-18/56542020_563148570874383_344535524796530688_n.jpg b/FOOD-22/deser1.jpg
similarity index 100%
rename from FOOD-18/56542020_563148570874383_344535524796530688_n.jpg
rename to FOOD-22/deser1.jpg
diff --git a/FOOD-18/60012648_383118045636082_4022552952232214528_n.jpg b/FOOD-22/deser2.jpg
similarity index 100%
rename from FOOD-18/60012648_383118045636082_4022552952232214528_n.jpg
rename to FOOD-22/deser2.jpg
diff --git a/FOOD-22/frytki1.jpg b/FOOD-22/frytki1.jpg
new file mode 100644
index 0000000..0c1298a
Binary files /dev/null and b/FOOD-22/frytki1.jpg differ
diff --git a/FOOD-22/frytki2.jpg b/FOOD-22/frytki2.jpg
new file mode 100644
index 0000000..ef2ba38
Binary files /dev/null and b/FOOD-22/frytki2.jpg differ
diff --git a/FOOD-22/frytki3.jpg b/FOOD-22/frytki3.jpg
new file mode 100644
index 0000000..3b02407
Binary files /dev/null and b/FOOD-22/frytki3.jpg differ
diff --git a/FOOD-18/78434189_475292583337737_5383216840921055232_n.jpg b/FOOD-22/frytki_bataty.jpg
similarity index 100%
rename from FOOD-18/78434189_475292583337737_5383216840921055232_n.jpg
rename to FOOD-22/frytki_bataty.jpg
diff --git a/FOOD-22/golabki1.jpg b/FOOD-22/golabki1.jpg
new file mode 100644
index 0000000..d11dca1
Binary files /dev/null and b/FOOD-22/golabki1.jpg differ
diff --git a/FOOD-22/golabki2.jpg b/FOOD-22/golabki2.jpg
new file mode 100644
index 0000000..0285ed1
Binary files /dev/null and b/FOOD-22/golabki2.jpg differ
diff --git a/FOOD-22/golabki3.jpg b/FOOD-22/golabki3.jpg
new file mode 100644
index 0000000..2986506
Binary files /dev/null and b/FOOD-22/golabki3.jpg differ
diff --git a/FOOD-22/golonka1.jpeg b/FOOD-22/golonka1.jpeg
new file mode 100644
index 0000000..0d615ae
Binary files /dev/null and b/FOOD-22/golonka1.jpeg differ
diff --git a/FOOD-22/golonka2.jpg b/FOOD-22/golonka2.jpg
new file mode 100644
index 0000000..d99aed8
Binary files /dev/null and b/FOOD-22/golonka2.jpg differ
diff --git a/FOOD-22/golonka3.jpg b/FOOD-22/golonka3.jpg
new file mode 100644
index 0000000..ba73012
Binary files /dev/null and b/FOOD-22/golonka3.jpg differ
diff --git a/FOOD-22/hamburger1.jpg b/FOOD-22/hamburger1.jpg
new file mode 100644
index 0000000..83477e0
Binary files /dev/null and b/FOOD-22/hamburger1.jpg differ
diff --git a/FOOD-22/hamburger2.jpg b/FOOD-22/hamburger2.jpg
new file mode 100644
index 0000000..7141045
Binary files /dev/null and b/FOOD-22/hamburger2.jpg differ
diff --git a/FOOD-22/hamburger3.jpeg b/FOOD-22/hamburger3.jpeg
new file mode 100644
index 0000000..8725a53
Binary files /dev/null and b/FOOD-22/hamburger3.jpeg differ
diff --git a/FOOD-22/hot-dog1.jpg b/FOOD-22/hot-dog1.jpg
new file mode 100644
index 0000000..5bda69a
Binary files /dev/null and b/FOOD-22/hot-dog1.jpg differ
diff --git a/FOOD-22/hot-dog2.png b/FOOD-22/hot-dog2.png
new file mode 100644
index 0000000..043aaf3
Binary files /dev/null and b/FOOD-22/hot-dog2.png differ
diff --git a/FOOD-22/hot-dog3.jpg b/FOOD-22/hot-dog3.jpg
new file mode 100644
index 0000000..43ae404
Binary files /dev/null and b/FOOD-22/hot-dog3.jpg differ
diff --git a/FOOD-22/hot-dog4.jpg b/FOOD-22/hot-dog4.jpg
new file mode 100644
index 0000000..a076db2
Binary files /dev/null and b/FOOD-22/hot-dog4.jpg differ
diff --git a/FOOD-22/kebab1.png b/FOOD-22/kebab1.png
new file mode 100644
index 0000000..d6c096f
Binary files /dev/null and b/FOOD-22/kebab1.png differ
diff --git a/FOOD-22/kebab2.jpg b/FOOD-22/kebab2.jpg
new file mode 100644
index 0000000..1d5c923
Binary files /dev/null and b/FOOD-22/kebab2.jpg differ
diff --git a/FOOD-22/kebab3.jpg b/FOOD-22/kebab3.jpg
new file mode 100644
index 0000000..629bddc
Binary files /dev/null and b/FOOD-22/kebab3.jpg differ
diff --git a/FOOD-18/65506946_307978933421452_6026686019414261760_n (1).jpg b/FOOD-22/kebab4.jpg
similarity index 100%
rename from FOOD-18/65506946_307978933421452_6026686019414261760_n (1).jpg
rename to FOOD-22/kebab4.jpg
diff --git a/FOOD-18/74617591_495284231068411_7588946005005959168_n.jpg b/FOOD-22/kebab5.jpg
similarity index 100%
rename from FOOD-18/74617591_495284231068411_7588946005005959168_n.jpg
rename to FOOD-22/kebab5.jpg
diff --git a/FOOD-22/lasagne1.webp b/FOOD-22/lasagne1.webp
new file mode 100644
index 0000000..fe16910
Binary files /dev/null and b/FOOD-22/lasagne1.webp differ
diff --git a/FOOD-22/lasagne2.jpg b/FOOD-22/lasagne2.jpg
new file mode 100644
index 0000000..342f6d9
Binary files /dev/null and b/FOOD-22/lasagne2.jpg differ
diff --git a/FOOD-22/makaron1.jpg b/FOOD-22/makaron1.jpg
new file mode 100644
index 0000000..b2661ec
Binary files /dev/null and b/FOOD-22/makaron1.jpg differ
diff --git a/FOOD-22/makaron2.jpg b/FOOD-22/makaron2.jpg
new file mode 100644
index 0000000..307fe95
Binary files /dev/null and b/FOOD-22/makaron2.jpg differ
diff --git a/FOOD-22/makaron3.jpg b/FOOD-22/makaron3.jpg
new file mode 100644
index 0000000..58af257
Binary files /dev/null and b/FOOD-22/makaron3.jpg differ
diff --git a/FOOD-22/nalesniki1.jpg b/FOOD-22/nalesniki1.jpg
new file mode 100644
index 0000000..e982b3c
Binary files /dev/null and b/FOOD-22/nalesniki1.jpg differ
diff --git a/FOOD-22/nalesniki2.jpg b/FOOD-22/nalesniki2.jpg
new file mode 100644
index 0000000..45d4225
Binary files /dev/null and b/FOOD-22/nalesniki2.jpg differ
diff --git a/FOOD-22/nalesniki3.jpg b/FOOD-22/nalesniki3.jpg
new file mode 100644
index 0000000..7e5b93c
Binary files /dev/null and b/FOOD-22/nalesniki3.jpg differ
diff --git a/FOOD-22/nalesniki4.jpg b/FOOD-22/nalesniki4.jpg
new file mode 100644
index 0000000..8915c0e
Binary files /dev/null and b/FOOD-22/nalesniki4.jpg differ
diff --git a/FOOD-18/49752989_750923978622646_8767391778698428416_n.jpg b/FOOD-22/nalesniki5.jpg
similarity index 100%
rename from FOOD-18/49752989_750923978622646_8767391778698428416_n.jpg
rename to FOOD-22/nalesniki5.jpg
diff --git a/FOOD-18/78679791_2696484737076955_7328255517501947904_n.jpg b/FOOD-22/nalesniki6.jpg
similarity index 100%
rename from FOOD-18/78679791_2696484737076955_7328255517501947904_n.jpg
rename to FOOD-22/nalesniki6.jpg
diff --git a/FOOD-18/79147833_491925684768860_5584281564470050816_n.jpg b/FOOD-22/pancakes.jpg
similarity index 100%
rename from FOOD-18/79147833_491925684768860_5584281564470050816_n.jpg
rename to FOOD-22/pancakes.jpg
diff --git a/FOOD-22/pierogi1.jpg b/FOOD-22/pierogi1.jpg
new file mode 100644
index 0000000..9ad2a6b
Binary files /dev/null and b/FOOD-22/pierogi1.jpg differ
diff --git a/FOOD-22/pierogi2.jpg b/FOOD-22/pierogi2.jpg
new file mode 100644
index 0000000..f988cfa
Binary files /dev/null and b/FOOD-22/pierogi2.jpg differ
diff --git a/FOOD-22/pierogi3.jpg b/FOOD-22/pierogi3.jpg
new file mode 100644
index 0000000..7caed68
Binary files /dev/null and b/FOOD-22/pierogi3.jpg differ
diff --git a/FOOD-22/pizza1.jpg b/FOOD-22/pizza1.jpg
new file mode 100644
index 0000000..9591937
Binary files /dev/null and b/FOOD-22/pizza1.jpg differ
diff --git a/FOOD-22/pizza2.jpg b/FOOD-22/pizza2.jpg
new file mode 100644
index 0000000..3397ac6
Binary files /dev/null and b/FOOD-22/pizza2.jpg differ
diff --git a/FOOD-22/pizza3.jpg b/FOOD-22/pizza3.jpg
new file mode 100644
index 0000000..f319037
Binary files /dev/null and b/FOOD-22/pizza3.jpg differ
diff --git a/FOOD-22/pizza4.jpg b/FOOD-22/pizza4.jpg
new file mode 100644
index 0000000..01b692f
Binary files /dev/null and b/FOOD-22/pizza4.jpg differ
diff --git a/FOOD-18/61785989_2414950022073204_4627469245851107328_n.jpg b/FOOD-22/pizza5.jpg
similarity index 100%
rename from FOOD-18/61785989_2414950022073204_4627469245851107328_n.jpg
rename to FOOD-22/pizza5.jpg
diff --git a/FOOD-18/72947594_1410746832419779_3866916192262291456_n.jpg b/FOOD-22/pizza6.jpg
similarity index 100%
rename from FOOD-18/72947594_1410746832419779_3866916192262291456_n.jpg
rename to FOOD-22/pizza6.jpg
diff --git a/FOOD-18/73458704_2430780813837073_1754307244914114560_n.jpg b/FOOD-22/ryba1.jpg
similarity index 100%
rename from FOOD-18/73458704_2430780813837073_1754307244914114560_n.jpg
rename to FOOD-22/ryba1.jpg
diff --git a/FOOD-18/75636070_2679756122076711_3891825606714720256_n.jpg b/FOOD-22/ryba2.jpg
similarity index 100%
rename from FOOD-18/75636070_2679756122076711_3891825606714720256_n.jpg
rename to FOOD-22/ryba2.jpg
diff --git a/FOOD-18/78489357_2457551917865878_307316184317952000_n.jpg b/FOOD-22/ryba3.jpg
similarity index 100%
rename from FOOD-18/78489357_2457551917865878_307316184317952000_n.jpg
rename to FOOD-22/ryba3.jpg
diff --git a/FOOD-18/76751639_574950326650955_3201041256012578816_n.jpg b/FOOD-22/salatka1.jpg
similarity index 100%
rename from FOOD-18/76751639_574950326650955_3201041256012578816_n.jpg
rename to FOOD-22/salatka1.jpg
diff --git a/FOOD-18/76924459_479066142814798_8107920024506728448_n.jpg b/FOOD-22/salatka2.jpg
similarity index 100%
rename from FOOD-18/76924459_479066142814798_8107920024506728448_n.jpg
rename to FOOD-22/salatka2.jpg
diff --git a/FOOD-18/tagi.docx b/FOOD-22/tagi.docx
similarity index 65%
rename from FOOD-18/tagi.docx
rename to FOOD-22/tagi.docx
index e0136fa..c44630a 100644
Binary files a/FOOD-18/tagi.docx and b/FOOD-22/tagi.docx differ
diff --git a/FOOD-22/zapiekanka1.jpg b/FOOD-22/zapiekanka1.jpg
new file mode 100644
index 0000000..53086d0
Binary files /dev/null and b/FOOD-22/zapiekanka1.jpg differ
diff --git a/FOOD-22/zapiekanka2.jpg b/FOOD-22/zapiekanka2.jpg
new file mode 100644
index 0000000..0e715e4
Binary files /dev/null and b/FOOD-22/zapiekanka2.jpg differ
diff --git a/FOOD-22/zapiekanka3.jpg b/FOOD-22/zapiekanka3.jpg
new file mode 100644
index 0000000..eb799b2
Binary files /dev/null and b/FOOD-22/zapiekanka3.jpg differ
diff --git a/FOOD-22/zapiekanka4.jpg b/FOOD-22/zapiekanka4.jpg
new file mode 100644
index 0000000..82e517c
Binary files /dev/null and b/FOOD-22/zapiekanka4.jpg differ
diff --git a/FOOD-22/zupa1.jpg b/FOOD-22/zupa1.jpg
new file mode 100644
index 0000000..18e5d98
Binary files /dev/null and b/FOOD-22/zupa1.jpg differ
diff --git a/FOOD-22/zupa2.jpg b/FOOD-22/zupa2.jpg
new file mode 100644
index 0000000..27caf2d
Binary files /dev/null and b/FOOD-22/zupa2.jpg differ
diff --git a/FOOD-22/zupa3.jpg b/FOOD-22/zupa3.jpg
new file mode 100644
index 0000000..6f536e7
Binary files /dev/null and b/FOOD-22/zupa3.jpg differ
diff --git a/FOOD-22/zupa4.jpg b/FOOD-22/zupa4.jpg
new file mode 100644
index 0000000..d8632e3
Binary files /dev/null and b/FOOD-22/zupa4.jpg differ
diff --git a/FOOD-22/zupa6.jpg b/FOOD-22/zupa6.jpg
new file mode 100644
index 0000000..749d518
Binary files /dev/null and b/FOOD-22/zupa6.jpg differ
diff --git a/Notatka-ze-spotkania-z-klientem-vol2.docx b/Notatka-ze-spotkania-z-klientem-vol2.docx
new file mode 100644
index 0000000..85c0b30
Binary files /dev/null and b/Notatka-ze-spotkania-z-klientem-vol2.docx differ
diff --git a/foodinder_app/.gitignore b/foodinder_app/.gitignore
new file mode 100644
index 0000000..603b140
--- /dev/null
+++ b/foodinder_app/.gitignore
@@ -0,0 +1,14 @@
+*.iml
+.gradle
+/local.properties
+/.idea/caches
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+/.idea/navEditor.xml
+/.idea/assetWizardSettings.xml
+.DS_Store
+/build
+/captures
+.externalNativeBuild
+.cxx
diff --git a/foodinder_app/.idea/codeStyles/Project.xml b/foodinder_app/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..681f41a
--- /dev/null
+++ b/foodinder_app/.idea/codeStyles/Project.xml
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
+
+
+
+
+ xmlns:android
+
+ ^$
+
+
+
+
+
+
+
+
+ xmlns:.*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*:id
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ .*:name
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ name
+
+ ^$
+
+
+
+
+
+
+
+
+ style
+
+ ^$
+
+
+
+
+
+
+
+
+ .*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*
+
+ http://schemas.android.com/apk/res/android
+
+
+ ANDROID_ATTRIBUTE_ORDER
+
+
+
+
+
+
+ .*
+
+ .*
+
+
+ BY_NAME
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/foodinder_app/.idea/gradle.xml b/foodinder_app/.idea/gradle.xml
new file mode 100644
index 0000000..169fd0d
--- /dev/null
+++ b/foodinder_app/.idea/gradle.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/foodinder_app/.idea/misc.xml b/foodinder_app/.idea/misc.xml
new file mode 100644
index 0000000..37a7509
--- /dev/null
+++ b/foodinder_app/.idea/misc.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/foodinder_app/.idea/runConfigurations.xml b/foodinder_app/.idea/runConfigurations.xml
new file mode 100644
index 0000000..7f68460
--- /dev/null
+++ b/foodinder_app/.idea/runConfigurations.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/foodinder_app/.idea/vcs.xml b/foodinder_app/.idea/vcs.xml
new file mode 100644
index 0000000..6c0b863
--- /dev/null
+++ b/foodinder_app/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/foodinder_app/app/.gitignore b/foodinder_app/app/.gitignore
new file mode 100644
index 0000000..796b96d
--- /dev/null
+++ b/foodinder_app/app/.gitignore
@@ -0,0 +1 @@
+/build
diff --git a/foodinder_app/app/build.gradle b/foodinder_app/app/build.gradle
new file mode 100644
index 0000000..16f10d6
--- /dev/null
+++ b/foodinder_app/app/build.gradle
@@ -0,0 +1,41 @@
+apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android-extensions'
+apply plugin: 'kotlin-android'
+
+android {
+ compileSdkVersion 28
+ buildToolsVersion "28.0.3"
+ defaultConfig {
+ applicationId "com.example.foodinder_app"
+ minSdkVersion 16
+ targetSdkVersion 28
+ versionCode 1
+ versionName "1.0"
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ }
+}
+
+dependencies {
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
+ implementation 'link.fls:swipestack:0.3.0'
+ implementation 'com.android.support:appcompat-v7:25.0.0'
+ implementation 'com.android.support:cardview-v7:25.0.0'
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+ implementation 'com.android.support.constraint:constraint-layout:1.1.3'
+}
+allprojects {
+ repositories {
+ jcenter()
+ maven {
+ url "https://maven.google.com"
+ }
+ }
+}
+repositories {
+ mavenCentral()
+}
diff --git a/foodinder_app/app/libs/android-card-stack-0.1.5.aar b/foodinder_app/app/libs/android-card-stack-0.1.5.aar
new file mode 100644
index 0000000..8fdee4f
Binary files /dev/null and b/foodinder_app/app/libs/android-card-stack-0.1.5.aar differ
diff --git a/foodinder_app/app/proguard-rules.pro b/foodinder_app/app/proguard-rules.pro
new file mode 100644
index 0000000..f1b4245
--- /dev/null
+++ b/foodinder_app/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
diff --git a/foodinder_app/app/src/main/AndroidManifest.xml b/foodinder_app/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..1b2e72e
--- /dev/null
+++ b/foodinder_app/app/src/main/AndroidManifest.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/foodinder_app/app/src/main/java/com/example/foodinder_app/CardItem.java b/foodinder_app/app/src/main/java/com/example/foodinder_app/CardItem.java
new file mode 100644
index 0000000..d77a156
--- /dev/null
+++ b/foodinder_app/app/src/main/java/com/example/foodinder_app/CardItem.java
@@ -0,0 +1,34 @@
+package com.example.foodinder_app;
+
+public class CardItem {
+
+ private int drawableId;
+ private String name;
+ private String location;
+
+ public CardItem(int drawableId, String name, String location) {
+ this.drawableId = drawableId;
+ this.name = name;
+ this.location = location;
+ }
+
+ public int getDrawableId() {
+ return drawableId;
+ }
+
+ public void setDrawableId(int drawableId) {
+ this.drawableId = drawableId;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public String getLocation() {
+ return location;
+ }
+}
diff --git a/foodinder_app/app/src/main/java/com/example/foodinder_app/CardsAdapter.java b/foodinder_app/app/src/main/java/com/example/foodinder_app/CardsAdapter.java
new file mode 100644
index 0000000..59a1ec2
--- /dev/null
+++ b/foodinder_app/app/src/main/java/com/example/foodinder_app/CardsAdapter.java
@@ -0,0 +1,117 @@
+package com.example.foodinder_app;
+
+import android.app.Activity;
+import android.content.res.Resources;
+import android.graphics.Bitmap;
+import android.graphics.BitmapFactory;
+import android.view.LayoutInflater;
+import android.view.View;
+import android.view.ViewGroup;
+import android.widget.BaseAdapter;
+import android.widget.ImageView;
+import android.widget.TextView;
+
+import java.util.List;
+
+public class CardsAdapter extends BaseAdapter {
+
+ private Activity activity;
+ private final static int AVATAR_WIDTH = 150;
+ private final static int AVATAR_HEIGHT = 300;
+ private List data;
+
+ public CardsAdapter(Activity activity, List data) {
+ this.data = data;
+ this.activity = activity;
+ }
+
+ @Override
+ public int getCount() {
+ return data.size();
+ }
+
+ @Override
+ public CardItem getItem(int position) {
+ return data.get(position);
+ }
+
+ @Override
+ public long getItemId(int position) {
+ return position;
+ }
+
+ @Override
+ public View getView(final int position, View convertView, ViewGroup parent) {
+ ViewHolder holder;
+ LayoutInflater inflater = (LayoutInflater) activity.getSystemService(Activity.LAYOUT_INFLATER_SERVICE);
+ // If holder not exist then locate all view from UI file.
+ if (convertView == null) {
+ // inflate UI from XML file
+ convertView = inflater.inflate(R.layout.item_card, parent, false);
+ // get all UI view
+ holder = new ViewHolder(convertView);
+ // set tag for holder
+ convertView.setTag(holder);
+ } else {
+ // if holder created, get tag from view
+ holder = (ViewHolder) convertView.getTag();
+ }
+
+ //setting data to views
+ holder.name.setText(getItem(position).getName());
+ holder.location.setText(getItem(position).getLocation());
+ holder.avatar.setImageBitmap(decodeSampledBitmapFromResource(activity.getResources(),
+ getItem(position).getDrawableId(), AVATAR_WIDTH, AVATAR_HEIGHT));
+
+ return convertView;
+ }
+
+ private class ViewHolder{
+ private ImageView avatar;
+ private TextView name;
+ private TextView location;
+
+ public ViewHolder(View view) {
+ avatar = (ImageView)view.findViewById(R.id.avatar);
+ name = (TextView)view.findViewById(R.id.name);
+ location = (TextView)view.findViewById(R.id.location);
+ }
+ }
+
+ public static Bitmap decodeSampledBitmapFromResource(Resources res, int resId, int reqWidth, int reqHeight) {
+
+ // First decode with inJustDecodeBounds=true to check dimensions
+ final BitmapFactory.Options options = new BitmapFactory.Options();
+ options.inJustDecodeBounds = true;
+ BitmapFactory.decodeResource(res, resId, options);
+
+ // Calculate inSampleSize
+ options.inSampleSize = calculateInSampleSize(options, reqWidth, reqHeight);
+
+ // Decode bitmap with inSampleSize set
+ options.inJustDecodeBounds = false;
+ return BitmapFactory.decodeResource(res, resId, options);
+ }
+
+ public static int calculateInSampleSize(BitmapFactory.Options options, int reqWidth, int reqHeight) {
+ // Raw height and width of image
+ final int height = options.outHeight;
+ final int width = options.outWidth;
+ int inSampleSize = 1;
+
+ if (height > reqHeight || width > reqWidth) {
+
+ final int halfHeight = height / 2;
+ final int halfWidth = width / 2;
+
+ // Calculate the largest inSampleSize value that is a power of 2 and keeps both
+ // height and width larger than the requested height and width.
+ while ((halfHeight / inSampleSize) >= reqHeight
+ && (halfWidth / inSampleSize) >= reqWidth) {
+ inSampleSize *= 2;
+ }
+ }
+
+ return inSampleSize;
+ }
+}
diff --git a/foodinder_app/app/src/main/java/com/example/foodinder_app/Main2Activity.java b/foodinder_app/app/src/main/java/com/example/foodinder_app/Main2Activity.java
new file mode 100644
index 0000000..dacce41
--- /dev/null
+++ b/foodinder_app/app/src/main/java/com/example/foodinder_app/Main2Activity.java
@@ -0,0 +1,28 @@
+package com.example.foodinder_app;
+
+import android.content.Intent;
+import android.support.v7.app.AppCompatActivity;
+import android.os.Bundle;
+import android.view.View;
+
+public class Main2Activity extends AppCompatActivity {
+
+ private View button;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main2);
+
+ button = findViewById(R.id.button);
+
+ button.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view)
+ {
+ Intent intent = new Intent(Main2Activity.this, swipper.class);
+ startActivity(intent);
+ }
+ });
+ }
+}
diff --git a/foodinder_app/app/src/main/java/com/example/foodinder_app/swipper.java b/foodinder_app/app/src/main/java/com/example/foodinder_app/swipper.java
new file mode 100644
index 0000000..361ff30
--- /dev/null
+++ b/foodinder_app/app/src/main/java/com/example/foodinder_app/swipper.java
@@ -0,0 +1,115 @@
+package com.example.foodinder_app;
+
+import android.os.Bundle;
+import android.support.v7.app.AppCompatActivity;
+import android.view.Menu;
+import android.view.MenuItem;
+import android.view.View;
+import android.widget.Toast;
+
+import java.util.ArrayList;
+
+import link.fls.swipestack.SwipeStack;
+
+public class swipper extends AppCompatActivity {
+
+ private SwipeStack cardStack;
+ private CardsAdapter cardsAdapter;
+ private ArrayList cardItems;
+ private View btnCancel;
+ private View btnLove;
+ private int currentPosition;
+
+ @Override
+ protected void onCreate(Bundle savedInstanceState) {
+ super.onCreate(savedInstanceState);
+ setContentView(R.layout.activity_main);
+
+ cardStack = (SwipeStack) findViewById(R.id.container);
+ btnCancel = findViewById(R.id.cancel);
+ btnLove = findViewById(R.id.love);
+
+ setCardStackAdapter();
+ currentPosition = 0;
+
+ //Handling swipe event of Cards stack
+ cardStack.setListener(new SwipeStack.SwipeStackListener() {
+ @Override
+ public void onViewSwipedToLeft(int position) {
+
+ Toast.makeText(swipper.this, "You liked " + cardItems.get(currentPosition).getName(),
+ Toast.LENGTH_SHORT).show();
+ currentPosition = position + 1;
+
+ }
+
+ @Override
+ public void onViewSwipedToRight(int position) {
+
+ Toast.makeText(swipper.this, "You DON'T liked " + cardItems.get(currentPosition).getName(),
+ Toast.LENGTH_SHORT).show();
+ currentPosition = position + 1;
+ }
+
+ @Override
+ public void onStackEmpty() {
+
+ }
+ });
+
+ btnCancel.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ cardStack.swipeTopViewToRight();
+ }
+ });
+
+ btnLove.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ cardStack.swipeTopViewToLeft();
+ }
+ });
+ }
+
+ private void setCardStackAdapter() {
+ cardItems = new ArrayList<>();
+
+ cardItems.add(new CardItem(R.drawable.a, "JedzenieA", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.b, "JedzenieB", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.c, "JedzenieC", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.d, "JedzenieD", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.e, "JedzenieE", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.f, "JedzenieF", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.g, "JedzenieG", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.h, "JedzenieH", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.i, "JedzenieI", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.j, "JedzenieJ", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.k, "JedzenieK", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.l, "JedzenieL", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.m, "JedzenieM", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.n, "JedzenieN", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.o, "JedzenieO", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.p, "JedzenieP", "Jedzenie"));
+ cardItems.add(new CardItem(R.drawable.r, "JedzenieR", "Jedzenie"));
+
+
+ cardsAdapter = new CardsAdapter(this, cardItems);
+ cardStack.setAdapter(cardsAdapter);
+ }
+
+ @Override
+ public boolean onCreateOptionsMenu(Menu menu) {
+ getMenuInflater().inflate(R.menu.menu_main, menu);
+ return true;
+ }
+
+ @Override
+ public boolean onOptionsItemSelected(MenuItem item) {
+ if (item.getItemId() == R.id.reset) {
+ cardStack.resetStack();
+ currentPosition = 0;
+ }
+ return super.onOptionsItemSelected(item);
+ }
+}
diff --git a/foodinder_app/app/src/main/res/drawable/a.jpg b/foodinder_app/app/src/main/res/drawable/a.jpg
new file mode 100644
index 0000000..2d9a2b9
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/a.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/b.jpg b/foodinder_app/app/src/main/res/drawable/b.jpg
new file mode 100644
index 0000000..9f26ffd
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/b.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/c.jpg b/foodinder_app/app/src/main/res/drawable/c.jpg
new file mode 100644
index 0000000..496f8fc
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/c.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/d.jpg b/foodinder_app/app/src/main/res/drawable/d.jpg
new file mode 100644
index 0000000..fa1ee2b
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/d.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/e.jpg b/foodinder_app/app/src/main/res/drawable/e.jpg
new file mode 100644
index 0000000..36ee769
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/e.jpg differ
diff --git a/FOOD-18/65506946_307978933421452_6026686019414261760_n.jpg b/foodinder_app/app/src/main/res/drawable/f.jpg
similarity index 100%
rename from FOOD-18/65506946_307978933421452_6026686019414261760_n.jpg
rename to foodinder_app/app/src/main/res/drawable/f.jpg
diff --git a/foodinder_app/app/src/main/res/drawable/g.jpg b/foodinder_app/app/src/main/res/drawable/g.jpg
new file mode 100644
index 0000000..dfb8d67
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/g.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/h.jpg b/foodinder_app/app/src/main/res/drawable/h.jpg
new file mode 100644
index 0000000..a805ae0
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/h.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/i.jpg b/foodinder_app/app/src/main/res/drawable/i.jpg
new file mode 100644
index 0000000..b8013cc
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/i.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/j.jpg b/foodinder_app/app/src/main/res/drawable/j.jpg
new file mode 100644
index 0000000..3145250
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/j.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/k.jpg b/foodinder_app/app/src/main/res/drawable/k.jpg
new file mode 100644
index 0000000..c95369d
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/k.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/l.jpg b/foodinder_app/app/src/main/res/drawable/l.jpg
new file mode 100644
index 0000000..de2fd42
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/l.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/m.jpg b/foodinder_app/app/src/main/res/drawable/m.jpg
new file mode 100644
index 0000000..88010dc
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/m.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/n.jpg b/foodinder_app/app/src/main/res/drawable/n.jpg
new file mode 100644
index 0000000..6033e74
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/n.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/o.jpg b/foodinder_app/app/src/main/res/drawable/o.jpg
new file mode 100644
index 0000000..78cd3b0
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/o.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/p.jpg b/foodinder_app/app/src/main/res/drawable/p.jpg
new file mode 100644
index 0000000..de20486
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/p.jpg differ
diff --git a/foodinder_app/app/src/main/res/drawable/r.jpg b/foodinder_app/app/src/main/res/drawable/r.jpg
new file mode 100644
index 0000000..682a58c
Binary files /dev/null and b/foodinder_app/app/src/main/res/drawable/r.jpg differ
diff --git a/foodinder_app/app/src/main/res/layout/activity_main.xml b/foodinder_app/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 0000000..73061d5
--- /dev/null
+++ b/foodinder_app/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/foodinder_app/app/src/main/res/layout/activity_main2.xml b/foodinder_app/app/src/main/res/layout/activity_main2.xml
new file mode 100644
index 0000000..b4e1297
--- /dev/null
+++ b/foodinder_app/app/src/main/res/layout/activity_main2.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/foodinder_app/app/src/main/res/layout/item_card.xml b/foodinder_app/app/src/main/res/layout/item_card.xml
new file mode 100644
index 0000000..4acd58d
--- /dev/null
+++ b/foodinder_app/app/src/main/res/layout/item_card.xml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/foodinder_app/app/src/main/res/menu/menu_main.xml b/foodinder_app/app/src/main/res/menu/menu_main.xml
new file mode 100644
index 0000000..cff51b0
--- /dev/null
+++ b/foodinder_app/app/src/main/res/menu/menu_main.xml
@@ -0,0 +1,9 @@
+
diff --git a/foodinder_app/app/src/main/res/mipmap-hdpi/ic_launcher.png b/foodinder_app/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000..cde69bc
Binary files /dev/null and b/foodinder_app/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/foodinder_app/app/src/main/res/mipmap-mdpi/ic_launcher.png b/foodinder_app/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000..c133a0c
Binary files /dev/null and b/foodinder_app/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/foodinder_app/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/foodinder_app/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..bfa42f0
Binary files /dev/null and b/foodinder_app/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/foodinder_app/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/foodinder_app/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..324e72c
Binary files /dev/null and b/foodinder_app/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/foodinder_app/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/foodinder_app/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000..aee44e1
Binary files /dev/null and b/foodinder_app/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/foodinder_app/app/src/main/res/values-w820dp/dimens.xml b/foodinder_app/app/src/main/res/values-w820dp/dimens.xml
new file mode 100644
index 0000000..63fc816
--- /dev/null
+++ b/foodinder_app/app/src/main/res/values-w820dp/dimens.xml
@@ -0,0 +1,6 @@
+
+
+ 64dp
+
diff --git a/foodinder_app/app/src/main/res/values/colors.xml b/foodinder_app/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000..16d04c8
--- /dev/null
+++ b/foodinder_app/app/src/main/res/values/colors.xml
@@ -0,0 +1,6 @@
+
+
+ #FF0000
+ #FF0000
+ #FF0000
+
diff --git a/foodinder_app/app/src/main/res/values/dimens.xml b/foodinder_app/app/src/main/res/values/dimens.xml
new file mode 100644
index 0000000..47c8224
--- /dev/null
+++ b/foodinder_app/app/src/main/res/values/dimens.xml
@@ -0,0 +1,5 @@
+
+
+ 16dp
+ 16dp
+
diff --git a/foodinder_app/app/src/main/res/values/strings.xml b/foodinder_app/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..46dd271
--- /dev/null
+++ b/foodinder_app/app/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+
+ Foodinder
+
diff --git a/foodinder_app/app/src/main/res/values/styles.xml b/foodinder_app/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..5885930
--- /dev/null
+++ b/foodinder_app/app/src/main/res/values/styles.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
diff --git a/foodinder_app/build.gradle b/foodinder_app/build.gradle
new file mode 100644
index 0000000..1354946
--- /dev/null
+++ b/foodinder_app/build.gradle
@@ -0,0 +1,26 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+
+buildscript {
+ ext.kotlin_version = '1.3.61'
+ repositories {
+ jcenter()
+ google()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:3.5.2'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ jcenter()
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git a/foodinder_app/gradle.properties b/foodinder_app/gradle.properties
new file mode 100644
index 0000000..aac7c9b
--- /dev/null
+++ b/foodinder_app/gradle.properties
@@ -0,0 +1,17 @@
+# Project-wide Gradle settings.
+
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx1536m
+
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
diff --git a/foodinder_app/gradle/wrapper/gradle-wrapper.jar b/foodinder_app/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..13372ae
Binary files /dev/null and b/foodinder_app/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/foodinder_app/gradle/wrapper/gradle-wrapper.properties b/foodinder_app/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..f8012cc
--- /dev/null
+++ b/foodinder_app/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sun Dec 01 13:23:47 CET 2019
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
diff --git a/foodinder_app/gradlew b/foodinder_app/gradlew
new file mode 100755
index 0000000..9d82f78
--- /dev/null
+++ b/foodinder_app/gradlew
@@ -0,0 +1,160 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/foodinder_app/gradlew.bat b/foodinder_app/gradlew.bat
new file mode 100644
index 0000000..aec9973
--- /dev/null
+++ b/foodinder_app/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/foodinder_app/settings.gradle b/foodinder_app/settings.gradle
new file mode 100644
index 0000000..b8932d2
--- /dev/null
+++ b/foodinder_app/settings.gradle
@@ -0,0 +1,2 @@
+include ':app'
+rootProject.name='foodinder_app'