diff --git a/.gitignore b/.gitignore
index aa724b7..56cc642 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,15 +1,85 @@
+# Built application files
+*.apk
+*.aar
+*.ap_
+*.aab
+
+# Files for the ART/Dalvik VM
+*.dex
+
+# Java class files
+*.class
+
+# Generated files
+bin/
+gen/
+out/
+# Uncomment the following line in case you need and you don't have the release build type files in your app
+# release/
+
+# Gradle files
+.gradle/
+build/
+
+# Local configuration file (sdk path, etc)
+local.properties
+
+# Proguard folder generated by Eclipse
+proguard/
+
+# Log Files
+*.log
+
+# Android Studio Navigation editor temp files
+.navigation/
+
+# Android Studio captures folder
+captures/
+
+# IntelliJ
*.iml
-.gradle
-/local.properties
-/.idea/caches
-/.idea/libraries
-/.idea/modules.xml
-/.idea/workspace.xml
-/.idea/navEditor.xml
-/.idea/assetWizardSettings.xml
-.DS_Store
-/build
-/captures
+.idea/workspace.xml
+.idea/tasks.xml
+.idea/gradle.xml
+.idea/assetWizardSettings.xml
+.idea/dictionaries
+.idea/libraries
+# Android Studio 3 in .gitignore file.
+.idea/caches
+.idea/modules.xml
+# Comment next line if keeping position of elements in Navigation Editor is relevant for you
+.idea/navEditor.xml
+
+# Keystore files
+# Uncomment the following lines if you do not want to check your keystore files in.
+#*.jks
+#*.keystore
+
+# External native build folder generated in Android Studio 2.2 and later
.externalNativeBuild
-.cxx
-local.properties
+.cxx/
+
+# Google Services (e.g. APIs or Firebase)
+# google-services.json
+
+# Freeline
+freeline.py
+freeline/
+freeline_project_description.json
+
+# fastlane
+fastlane/report.xml
+fastlane/Preview.html
+fastlane/screenshots
+fastlane/test_output
+fastlane/readme.md
+
+# Version control
+vcs.xml
+
+# lint
+lint/intermediates/
+lint/generated/
+lint/outputs/
+lint/tmp/
+# lint/reports/
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..be40271
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2022 Green Software Lab
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/app/.gitignore b/app/.gitignore
deleted file mode 100644
index 42afabf..0000000
--- a/app/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/build
\ No newline at end of file
diff --git a/app/Utils.java b/app/Utils.java
deleted file mode 100644
index 939a624..0000000
--- a/app/Utils.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package com.example.simplefootexam.utils;
-
-import android.content.Context;
-import androidx.annotation.RawRes;
-import com.example.simplefootexam.R;
-import org.json.JSONArray;
-import org.json.JSONException;
-import org.json.JSONObject;
-import java.io.InputStream;
-import java.util.Scanner;
-import com.hunter.library.debug.HunterDebug;
-import android.content.Context;
-
-public class Utils {
-
- @HunterDebug
- public String readRawResource(@RawRes int res, Context context) {
- return readStream(context.getResources().openRawResource(res));
- }
-
- @HunterDebug
- private static String readStream(InputStream is) {
- Scanner s = new Scanner(is).useDelimiter("\\A");
- return s.hasNext() ? s.next() : "";
- }
-
- @HunterDebug
- public static JSONArray loadSONFile(Context ctx) {
- String filecontent = null;
- JSONArray jo = new JSONArray();
- try {
- filecontent = readStream(ctx.getResources().openRawResource(R.raw.questions));
- } catch (Exception e) {
- e.printStackTrace();
- }
- try {
- return new JSONArray(filecontent);
- } catch (JSONException e) {
- e.printStackTrace();
- }
- return jo;
- }
-}
diff --git a/app/build.gradle b/app/build.gradle
deleted file mode 100644
index 72b27c7..0000000
--- a/app/build.gradle
+++ /dev/null
@@ -1,58 +0,0 @@
-plugins {
- id 'com.android.application'
- id 'hunter-debug'
-}
-
-android {
- lintOptions {
- abortOnError false
- }
- dexOptions {
- preDexLibraries false
- javaMaxHeapSize "8g"
- }
- compileSdkVersion 30
- buildToolsVersion "30.0.0"
-
- defaultConfig {
- applicationId "com.example.simplefootexam"
- minSdkVersion 27
- targetSdkVersion 28
- versionCode 1
- versionName "1.0"
-
- testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
- }
-
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
-}
-
-dependencies {
- //implementation 'com.github.bumptech.glide:glide:4.13.2'
- //annotationProcessor 'com.github.bumptech.glide:compiler:4.13.2'
- implementation 'androidx.appcompat:appcompat:1.3.0'
- implementation 'com.google.android.material:material:1.4.0'
- implementation 'com.jakewharton:butterknife:10.2.3'
- annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
- implementation 'androidx.navigation:navigation-fragment:2.3.2'
- implementation 'androidx.navigation:navigation-ui:2.3.2'
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation 'androidx.recyclerview:recyclerview:1.2.1'
- implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
- testImplementation 'junit:junit:4.+'
- androidTestImplementation 'androidx.test.ext:junit:1.1.3'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
-}
-dependencies{
- implementation 'io.github.greensoftwarelab:hunter-emanafa-library:1.0.1'
- }
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
deleted file mode 100644
index 481bb43..0000000
--- a/app/proguard-rules.pro
+++ /dev/null
@@ -1,21 +0,0 @@
-# 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
\ No newline at end of file
diff --git a/app/src/androidTest/java/com/example/simplefootexam/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/example/simplefootexam/ExampleInstrumentedTest.java
deleted file mode 100644
index 08b180b..0000000
--- a/app/src/androidTest/java/com/example/simplefootexam/ExampleInstrumentedTest.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package com.example.simplefootexam;
-
-import android.content.Context;
-
-import androidx.test.platform.app.InstrumentationRegistry;
-import androidx.test.ext.junit.runners.AndroidJUnit4;
-
-import org.junit.Test;
-import org.junit.runner.RunWith;
-
-import static org.junit.Assert.*;
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * @see Testing documentation
- */
-@RunWith(AndroidJUnit4.class)
-public class ExampleInstrumentedTest {
-
- @Test
- public void useAppContext() {
- // Context of the app under test.
- Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
- assertEquals("com.example.simplefootexam", appContext.getPackageName());
- }
-}
\ No newline at end of file
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
deleted file mode 100644
index dc6b5db..0000000
--- a/app/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/java/com/example/simplefootexam/CustomButton.java b/app/src/main/java/com/example/simplefootexam/CustomButton.java
deleted file mode 100644
index 037597f..0000000
--- a/app/src/main/java/com/example/simplefootexam/CustomButton.java
+++ /dev/null
@@ -1,46 +0,0 @@
-package com.example.simplefootexam;
-
-import android.content.Context;
-import android.content.res.TypedArray;
-import android.graphics.Canvas;
-import android.graphics.Color;
-import android.graphics.Paint;
-import android.util.AttributeSet;
-import androidx.appcompat.widget.AppCompatButton;
-import com.hunter.library.debug.HunterDebug;
-import android.content.Context;
-
-public class CustomButton extends AppCompatButton {
-
- private boolean isWrong = false;
-
- private int color_wrong;
-
- public CustomButton(Context context) {
- super(context);
- }
-
- @HunterDebug
- public CustomButton(Context context, AttributeSet attrs) {
- super(context, attrs);
- TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.CustomButton, 0, 0);
- color_wrong = a.getColor(R.styleable.CustomButton_valueColor, Color.RED);
- }
-
- @Override
- @HunterDebug
- protected void onDraw(Canvas canvas) {
- super.onDraw(canvas);
- if (isWrong) {
- Paint p = new Paint();
- p.setColor(color_wrong);
- p.setStrokeWidth(10);
- canvas.drawLine(0, this.getY(), this.getWidth(), this.getHeight(), p);
- canvas.drawLine(0, this.getHeight(), this.getWidth(), this.getY(), p);
- }
- }
-
- public void setWrong(boolean wrong) {
- isWrong = wrong;
- }
-}
diff --git a/app/src/main/java/com/example/simplefootexam/MainActivity.java b/app/src/main/java/com/example/simplefootexam/MainActivity.java
deleted file mode 100644
index 437d2ad..0000000
--- a/app/src/main/java/com/example/simplefootexam/MainActivity.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package com.example.simplefootexam;
-
-import android.os.Bundle;
-import androidx.appcompat.app.AppCompatActivity;
-import androidx.appcompat.widget.Toolbar;
-import android.view.Menu;
-import android.view.MenuItem;
-import com.hunter.library.debug.HunterDebug;
-import android.content.Context;
-
-public class MainActivity extends AppCompatActivity {
-
- @Override
- @HunterDebug
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_main);
- Toolbar toolbar = findViewById(R.id.toolbar);
- setSupportActionBar(toolbar);
- }
-
- @Override
- @HunterDebug
- public boolean onCreateOptionsMenu(Menu menu) {
- getMenuInflater().inflate(R.menu.menu_main, menu);
- return true;
- }
-
- @Override
- public boolean onOptionsItemSelected(MenuItem item) {
- int id = item.getItemId();
- if (id == R.id.action_settings) {
- return true;
- }
- return super.onOptionsItemSelected(item);
- }
-}
diff --git a/app/src/main/java/com/example/simplefootexam/MainMenuFragment.java b/app/src/main/java/com/example/simplefootexam/MainMenuFragment.java
deleted file mode 100644
index 7ac2a55..0000000
--- a/app/src/main/java/com/example/simplefootexam/MainMenuFragment.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package com.example.simplefootexam;
-
-import android.os.Bundle;
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
-import androidx.annotation.NonNull;
-import androidx.fragment.app.Fragment;
-import androidx.navigation.fragment.NavHostFragment;
-import com.hunter.library.debug.HunterDebug;
-import android.content.Context;
-
-public class MainMenuFragment extends Fragment {
-
- @Override
- @HunterDebug
- public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
- return inflater.inflate(R.layout.fragment_first, container, false);
- }
-
- @HunterDebug
- public void onViewCreated(@NonNull View view, Bundle savedInstanceState) {
- super.onViewCreated(view, savedInstanceState);
- view.findViewById(R.id.button_first).setOnClickListener(new View.OnClickListener() {
-
- @Override
- public void onClick(View view) {
- NavHostFragment.findNavController(MainMenuFragment.this).navigate(R.id.action_FirstFragment_to_QuestionFragment);
- }
- });
- }
-}
diff --git a/app/src/main/java/com/example/simplefootexam/QuestionCardRecyclerViewAdapter.java b/app/src/main/java/com/example/simplefootexam/QuestionCardRecyclerViewAdapter.java
deleted file mode 100644
index 2e3a41d..0000000
--- a/app/src/main/java/com/example/simplefootexam/QuestionCardRecyclerViewAdapter.java
+++ /dev/null
@@ -1,68 +0,0 @@
-package com.example.simplefootexam;
-
-import androidx.navigation.Navigation;
-import androidx.recyclerview.widget.RecyclerView;
-import android.graphics.BitmapFactory;
-import android.os.Bundle;
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
-import android.widget.ImageView;
-import android.widget.TextView;
-import com.example.simplefootexam.model.Question;
-import java.util.List;
-import com.hunter.library.debug.HunterDebug;
-import android.content.Context;
-
-public class QuestionCardRecyclerViewAdapter extends RecyclerView.Adapter {
-
- private final List mValues;
-
- public QuestionCardRecyclerViewAdapter(List items) {
- mValues = items;
- }
-
- @Override
- @HunterDebug
- public QuestionViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
- View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.fragment_question_item, parent, false);
- return new QuestionViewHolder(v);
- }
-
- @Override
- @HunterDebug
- public void onBindViewHolder(final QuestionViewHolder holder, int position) {
- holder.mIdView.setText(mValues.get(position).getId());
- holder.mImageView.setImageBitmap(BitmapFactory.decodeResource(holder.mView.getResources(), mValues.get(position).getImageId()));
- holder.mQuestionview.setText(mValues.get(position).getQuestion());
- holder.mView.setOnClickListener( view -> {
- Bundle bundle = new Bundle();
- bundle.putParcelable("question", mValues.get(position));
- Navigation.findNavController(view).navigate(R.id.selectQuestionAction, bundle);
- });
- }
-
- @Override
- public int getItemCount() {
- return mValues.size();
- }
-
- public static class QuestionViewHolder extends RecyclerView.ViewHolder {
-
- public final View mView;
-
- public final TextView mIdView;
-
- public final TextView mQuestionview;
-
- public final ImageView mImageView;
-
- public QuestionViewHolder(View view) {
- super(view);
- mView = view;
- mIdView = view.findViewById(R.id.text_question_id);
- mImageView = view.findViewById(R.id.cardimage);
- mQuestionview = view.findViewById(R.id.text_question);
- }
- }
-}
diff --git a/app/src/main/java/com/example/simplefootexam/QuestionListFragment.java b/app/src/main/java/com/example/simplefootexam/QuestionListFragment.java
deleted file mode 100644
index 1220348..0000000
--- a/app/src/main/java/com/example/simplefootexam/QuestionListFragment.java
+++ /dev/null
@@ -1,72 +0,0 @@
-package com.example.simplefootexam;
-
-import android.content.Context;
-import android.os.AsyncTask;
-import android.os.Bundle;
-import androidx.fragment.app.Fragment;
-import androidx.lifecycle.ViewModelProvider;
-import androidx.recyclerview.widget.GridLayoutManager;
-import androidx.recyclerview.widget.LinearLayoutManager;
-import androidx.recyclerview.widget.RecyclerView;
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
-import com.example.simplefootexam.viewmodel.QuestionViewModel;
-import com.hunter.library.debug.HunterDebug;
-import android.content.Context;
-
-public class QuestionListFragment extends Fragment {
-
- private static final String ARG_COLUMN_COUNT = "column-count";
-
- private int mColumnCount = 1;
-
- private QuestionViewModel questionViewModel;
-
- public QuestionListFragment() {
- }
-
- @HunterDebug
- public static QuestionListFragment newInstance(int columnCount) {
- QuestionListFragment fragment = new QuestionListFragment();
- Bundle args = new Bundle();
- args.putInt(ARG_COLUMN_COUNT, columnCount);
- fragment.setArguments(args);
- return fragment;
- }
-
- @Override
- @HunterDebug
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- if (getArguments() != null) {
- mColumnCount = getArguments().getInt(ARG_COLUMN_COUNT);
- }
- ViewModelProvider.AndroidViewModelFactory factory = ViewModelProvider.AndroidViewModelFactory.getInstance(this.getActivity().getApplication());
- questionViewModel = new ViewModelProvider(this, factory).get(QuestionViewModel.class);
- }
-
- @Override
- @HunterDebug
- public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
- View view = inflater.inflate(R.layout.fragment_question_list, container, false);
- if (view instanceof RecyclerView) {
- Context context = view.getContext();
- RecyclerView recyclerView = (RecyclerView) view;
- if (mColumnCount <= 1) {
- recyclerView.setLayoutManager(new LinearLayoutManager(context));
- } else {
- recyclerView.setLayoutManager(new GridLayoutManager(context, mColumnCount));
- }
- QuestionCardRecyclerViewAdapter adapter = new QuestionCardRecyclerViewAdapter(questionViewModel.getQuestions());
- recyclerView.setAdapter(adapter);
- }
- return view;
- }
-
- @Override
- @HunterDebug
- public void onResume() {
- super.onResume();
- }
-}
diff --git a/app/src/main/java/com/example/simplefootexam/SingleQuestionFragment.java b/app/src/main/java/com/example/simplefootexam/SingleQuestionFragment.java
deleted file mode 100644
index 8ad90dc..0000000
--- a/app/src/main/java/com/example/simplefootexam/SingleQuestionFragment.java
+++ /dev/null
@@ -1,87 +0,0 @@
-package com.example.simplefootexam;
-
-import android.graphics.BitmapFactory;
-import android.os.Bundle;
-import android.view.LayoutInflater;
-import android.view.View;
-import android.view.ViewGroup;
-import android.widget.ImageView;
-import android.widget.TextView;
-import android.widget.Toast;
-import androidx.annotation.NonNull;
-import androidx.fragment.app.Fragment;
-import com.example.simplefootexam.model.Question;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-import butterknife.BindView;
-import butterknife.ButterKnife;
-import butterknife.OnClick;
-import com.hunter.library.debug.HunterDebug;
-import android.content.Context;
-
-public class SingleQuestionFragment extends Fragment {
-
- @BindView(R.id.textViewQuestion)
- TextView textViewQuestion;
-
- @BindView(R.id.imageQuestion)
- ImageView questionImage;
-
- @BindView(R.id.button_top_left)
- CustomButton buttonTopLeft;
-
- @BindView(R.id.button_top_right)
- CustomButton buttonTopRight;
-
- @BindView(R.id.button_bottom_left)
- CustomButton buttonBottomLeft;
-
- @BindView(R.id.button_bottom_right)
- CustomButton buttonBottomRight;
-
- Question question;
-
- @Override
- @HunterDebug
- public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
- View v = inflater.inflate(R.layout.fragment_single_question, container, false);
- ButterKnife.bind(this, v);
- return v;
- }
-
- @OnClick({ R.id.button_top_left, R.id.button_top_right, R.id.button_bottom_left, R.id.button_bottom_right })
- @HunterDebug
- public void onClickOnButtons(View view) {
- if (view instanceof CustomButton) {
- String txt = ((CustomButton) view).getText().toString();
- if (txt.equals(question.getAnswer())) {
- Toast.makeText(getContext(), "Your answer is correct", Toast.LENGTH_LONG).show();
- } else {
- ((CustomButton) view).setWrong(true);
- view.invalidate();
- }
- }
- }
-
- @HunterDebug
- public void onViewCreated(@NonNull View view, Bundle savedInstanceState) {
- super.onViewCreated(view, savedInstanceState);
- Question q = getArguments().getParcelable("question");
- setQuestion(q);
- }
-
- @HunterDebug
- public void setQuestion(Question quest) {
- question = quest;
- List l = new ArrayList<>(Arrays.asList(question.alternatives));
- Collections.shuffle(l);
- buttonTopLeft.setText(l.get(0));
- buttonTopRight.setText(l.get(1));
- buttonBottomLeft.setText(l.get(2));
- buttonBottomRight.setText(l.get(3));
- textViewQuestion.setText(question.getQuestion());
- questionImage.setImageBitmap(BitmapFactory.decodeResource(this.getResources(), quest.getImageId()));
- }
-}
diff --git a/app/src/main/java/com/example/simplefootexam/model/Question.java b/app/src/main/java/com/example/simplefootexam/model/Question.java
deleted file mode 100644
index 8504482..0000000
--- a/app/src/main/java/com/example/simplefootexam/model/Question.java
+++ /dev/null
@@ -1,129 +0,0 @@
-package com.example.simplefootexam.model;
-
-import android.os.Parcel;
-import android.os.Parcelable;
-import com.example.simplefootexam.R;
-import org.json.JSONArray;
-import org.json.JSONException;
-import org.json.JSONObject;
-import com.hunter.library.debug.HunterDebug;
-import android.content.Context;
-
-public class Question implements Parcelable {
-
- private final String id;
-
- private final String question;
-
- private final int imageId;
-
- public String[] alternatives;
-
- @HunterDebug
- public Question(String id, int image_id) {
- this.id = id;
- this.imageId = image_id;
- this.question = "?";
- this.alternatives = new String[4];
- }
-
- @HunterDebug
- public Question(String id, String question, int image_id, String answer) {
- this.id = id;
- this.imageId = image_id;
- this.question = question;
- this.alternatives = new String[4];
- }
-
- @HunterDebug
- protected Question(Parcel in) {
- id = in.readString();
- question = in.readString();
- imageId = in.readInt();
- in.readStringArray(alternatives);
- }
-
- @HunterDebug
- public Question(int id, JSONObject jo) throws JSONException, NoSuchFieldException, IllegalAccessException {
- this.id = String.valueOf(id);
- this.question = jo.getString("question");
- this.imageId = R.drawable.class.getField(jo.getString("image")).getInt(null);
- ;
- JSONArray alts = jo.getJSONArray("alternatives");
- this.alternatives = new String[4];
- for (int i = 0; i < alts.length() && i < 4; i++) {
- this.alternatives[i] = alts.get(i).toString();
- }
- }
-
- @HunterDebug
- public String getId() {
- return id;
- }
-
- @HunterDebug
- public String getQuestion() {
- return question;
- }
-
- @HunterDebug
- public int getImageId() {
- return imageId;
- }
-
- @HunterDebug
- public String[] getAlternatives() {
- return alternatives;
- }
-
- @HunterDebug
- public void setAlternatives(String[] alternatives) {
- this.alternatives = alternatives;
- }
-
- @HunterDebug
- public static Creator getCREATOR() {
- return CREATOR;
- }
-
- @HunterDebug
- public String getAnswer() {
- return this.alternatives.length > 0 ? this.alternatives[0] : null;
- }
-
- public static final Creator CREATOR = new Creator() {
-
- @Override
- @HunterDebug
- public Question createFromParcel(Parcel in) {
- return new Question(in);
- }
-
- @Override
- @HunterDebug
- public Question[] newArray(int size) {
- return new Question[size];
- }
- };
-
- @Override
- @HunterDebug
- public String toString() {
- return question + id;
- }
-
- @Override
- @HunterDebug
- public int describeContents() {
- return 0;
- }
-
- @Override
- @HunterDebug
- public void writeToParcel(Parcel parcel, int i) {
- parcel.writeString(id);
- parcel.writeString(question);
- parcel.writeInt(imageId);
- parcel.writeStringArray(alternatives);
- }
-}
diff --git a/app/src/main/java/com/example/simplefootexam/utils/Utils.java b/app/src/main/java/com/example/simplefootexam/utils/Utils.java
deleted file mode 100644
index 939a624..0000000
--- a/app/src/main/java/com/example/simplefootexam/utils/Utils.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package com.example.simplefootexam.utils;
-
-import android.content.Context;
-import androidx.annotation.RawRes;
-import com.example.simplefootexam.R;
-import org.json.JSONArray;
-import org.json.JSONException;
-import org.json.JSONObject;
-import java.io.InputStream;
-import java.util.Scanner;
-import com.hunter.library.debug.HunterDebug;
-import android.content.Context;
-
-public class Utils {
-
- @HunterDebug
- public String readRawResource(@RawRes int res, Context context) {
- return readStream(context.getResources().openRawResource(res));
- }
-
- @HunterDebug
- private static String readStream(InputStream is) {
- Scanner s = new Scanner(is).useDelimiter("\\A");
- return s.hasNext() ? s.next() : "";
- }
-
- @HunterDebug
- public static JSONArray loadSONFile(Context ctx) {
- String filecontent = null;
- JSONArray jo = new JSONArray();
- try {
- filecontent = readStream(ctx.getResources().openRawResource(R.raw.questions));
- } catch (Exception e) {
- e.printStackTrace();
- }
- try {
- return new JSONArray(filecontent);
- } catch (JSONException e) {
- e.printStackTrace();
- }
- return jo;
- }
-}
diff --git a/app/src/main/java/com/example/simplefootexam/viewmodel/QuestionViewModel.java b/app/src/main/java/com/example/simplefootexam/viewmodel/QuestionViewModel.java
deleted file mode 100644
index ae71c35..0000000
--- a/app/src/main/java/com/example/simplefootexam/viewmodel/QuestionViewModel.java
+++ /dev/null
@@ -1,55 +0,0 @@
-package com.example.simplefootexam.viewmodel;
-
-import android.app.Application;
-import android.content.Context;
-import android.os.AsyncTask;
-import androidx.annotation.NonNull;
-import androidx.lifecycle.AndroidViewModel;
-import com.example.simplefootexam.model.Question;
-import com.example.simplefootexam.utils.Utils;
-import org.json.JSONArray;
-import org.json.JSONException;
-import org.json.JSONObject;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import com.hunter.library.debug.HunterDebug;
-import android.content.Context;
-
-public class QuestionViewModel extends AndroidViewModel {
-
- private static Map questions = new HashMap<>();
-
- private static boolean isLoaded = false;
-
- @HunterDebug
- public QuestionViewModel(@NonNull Application application) {
- super(application);
- initQuestions(application.getApplicationContext());
- }
-
- @HunterDebug
- private void initQuestions(Context ctx) {
- if (isLoaded) {
- return;
- }
- JSONArray jsonArray = Utils.loadSONFile(ctx);
- for (int i = 0; i < jsonArray.length(); i++) {
- JSONObject jo = null;
- try {
- jo = jsonArray.getJSONObject(i);
- Question q = new Question(i, jo);
- questions.put(q.getId(), q);
- } catch (JSONException | NoSuchFieldException | IllegalAccessException e) {
- e.printStackTrace();
- }
- }
- isLoaded = true;
- }
-
- @HunterDebug
- public List getQuestions() {
- return new ArrayList<>(questions.values());
- }
-}
diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
deleted file mode 100644
index 2b068d1..0000000
--- a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml
deleted file mode 100644
index 07d5da9..0000000
--- a/app/src/main/res/drawable/ic_launcher_background.xml
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/app/src/main/res/drawable/marega.jpg b/app/src/main/res/drawable/marega.jpg
deleted file mode 100644
index c498aff..0000000
Binary files a/app/src/main/res/drawable/marega.jpg and /dev/null differ
diff --git a/app/src/main/res/drawable/otavio.jpg b/app/src/main/res/drawable/otavio.jpg
deleted file mode 100644
index 6d3567b..0000000
Binary files a/app/src/main/res/drawable/otavio.jpg and /dev/null differ
diff --git a/app/src/main/res/drawable/ronaldinho.jpg b/app/src/main/res/drawable/ronaldinho.jpg
deleted file mode 100644
index 5e5bfaf..0000000
Binary files a/app/src/main/res/drawable/ronaldinho.jpg and /dev/null differ
diff --git a/app/src/main/res/drawable/rounded_button.xml b/app/src/main/res/drawable/rounded_button.xml
deleted file mode 100644
index d149f72..0000000
--- a/app/src/main/res/drawable/rounded_button.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
- -
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/drawable/zaidu.jpg b/app/src/main/res/drawable/zaidu.jpg
deleted file mode 100644
index 07116a6..0000000
Binary files a/app/src/main/res/drawable/zaidu.jpg and /dev/null differ
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml
deleted file mode 100644
index 2a0b736..0000000
--- a/app/src/main/res/layout/activity_main.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/layout/content_main.xml b/app/src/main/res/layout/content_main.xml
deleted file mode 100644
index c4e7db6..0000000
--- a/app/src/main/res/layout/content_main.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_first.xml b/app/src/main/res/layout/fragment_first.xml
deleted file mode 100644
index 3e1173d..0000000
--- a/app/src/main/res/layout/fragment_first.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_question_item.xml b/app/src/main/res/layout/fragment_question_item.xml
deleted file mode 100644
index 60e16b4..0000000
--- a/app/src/main/res/layout/fragment_question_item.xml
+++ /dev/null
@@ -1,71 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_question_list.xml b/app/src/main/res/layout/fragment_question_list.xml
deleted file mode 100644
index 464007a..0000000
--- a/app/src/main/res/layout/fragment_question_list.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_single_question.xml b/app/src/main/res/layout/fragment_single_question.xml
deleted file mode 100644
index d53f576..0000000
--- a/app/src/main/res/layout/fragment_single_question.xml
+++ /dev/null
@@ -1,115 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/menu/menu_main.xml b/app/src/main/res/menu/menu_main.xml
deleted file mode 100644
index 3166741..0000000
--- a/app/src/main/res/menu/menu_main.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
deleted file mode 100644
index eca70cf..0000000
--- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
deleted file mode 100644
index eca70cf..0000000
--- a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher.png b/app/src/main/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index a571e60..0000000
Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
deleted file mode 100644
index 61da551..0000000
Binary files a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher.png b/app/src/main/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index c41dd28..0000000
Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
deleted file mode 100644
index db5080a..0000000
Binary files a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/app/src/main/res/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644
index 6dba46d..0000000
Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
deleted file mode 100644
index da31a87..0000000
Binary files a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index 15ac681..0000000
Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
deleted file mode 100644
index b216f2d..0000000
Binary files a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
deleted file mode 100644
index f25a419..0000000
Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ
diff --git a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
deleted file mode 100644
index e96783c..0000000
Binary files a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and /dev/null differ
diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml
deleted file mode 100644
index b86b4a1..0000000
--- a/app/src/main/res/navigation/nav_graph.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/raw/questions.json b/app/src/main/res/raw/questions.json
deleted file mode 100644
index d2bdb15..0000000
--- a/app/src/main/res/raw/questions.json
+++ /dev/null
@@ -1,295 +0,0 @@
-[
- {"question": "Who is this football player?",
- "alternatives": [
- "Moussa Marega",
- "João Felix",
- "Zinedine Zidade",
- "Ronaldo"
- ],
- "image": "marega"
- },
- {"question": "What is the name of the team for which this player plays?",
- "alternatives": [
- "Porto",
- "Gremio",
- "Braga",
- "Belenenses"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Zaidu",
- "João Felix",
- "Zinedine Zidade",
- "Ronaldo"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Ronaldinho",
- "Ronaldo",
- "Enzo Zidade",
- "Neymar"
- ],
- "image": "ronaldinho"
- },
- {"question": "In which game was this goal scored?",
- "alternatives": [
- "O Classico",
- "O Derby",
- "El Clasico",
- "Derby do Rio"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Otavio",
- "Nani",
- "Enzo Zidade",
- "Manafa"
- ],
- "image": "otavio"
- },
-
- {"question": "Who is this football player?",
- "alternatives": [
- "Marega",
- "Nani",
- "Enzo Zidade",
- "Manafa"
- ],
- "image": "marega"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Moussa Marega",
- "João Felix",
- "Zinedine Zidade",
- "Ronaldo"
- ],
- "image": "marega"
- },
- {"question": "What is the name of the team for which this player plays?",
- "alternatives": [
- "Porto",
- "Gremio",
- "Braga",
- "Belenenses"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Zaidu",
- "João Felix",
- "Zinedine Zidade",
- "Ronaldo"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Ronaldinho",
- "Ronaldo",
- "Enzo Zidade",
- "Neymar"
- ],
- "image": "ronaldinho"
- },
- {"question": "In which game was this goal scored?",
- "alternatives": [
- "O Classico",
- "O Derby",
- "El Clasico",
- "Derby do Rio"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Otavio",
- "Nani",
- "Enzo Zidade",
- "Manafa"
- ],
- "image": "otavio"
- },
-
- {"question": "Who is this football player?",
- "alternatives": [
- "Marega",
- "Nani",
- "Enzo Zidade",
- "Manafa"
- ],
- "image": "marega"
- },
- {"question": "What is the name of the team for which this player plays?",
- "alternatives": [
- "Porto",
- "Gremio",
- "Braga",
- "Belenenses"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Zaidu",
- "João Felix",
- "Zinedine Zidade",
- "Ronaldo"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Ronaldinho",
- "Ronaldo",
- "Enzo Zidade",
- "Neymar"
- ],
- "image": "ronaldinho"
- },
- {"question": "In which game was this goal scored?",
- "alternatives": [
- "O Classico",
- "O Derby",
- "El Clasico",
- "Derby do Rio"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Otavio",
- "Nani",
- "Enzo Zidade",
- "Manafa"
- ],
- "image": "otavio"
- },
-
- {"question": "Who is this football player?",
- "alternatives": [
- "Marega",
- "Nani",
- "Enzo Zidade",
- "Manafa"
- ],
- "image": "marega"
- },
- {"question": "What is the name of the team for which this player plays?",
- "alternatives": [
- "Porto",
- "Gremio",
- "Braga",
- "Belenenses"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Zaidu",
- "João Felix",
- "Zinedine Zidade",
- "Ronaldo"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Ronaldinho",
- "Ronaldo",
- "Enzo Zidade",
- "Neymar"
- ],
- "image": "ronaldinho"
- },
- {"question": "In which game was this goal scored?",
- "alternatives": [
- "O Classico",
- "O Derby",
- "El Clasico",
- "Derby do Rio"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Otavio",
- "Nani",
- "Enzo Zidade",
- "Manafa"
- ],
- "image": "otavio"
- },
-
- {"question": "Who is this football player?",
- "alternatives": [
- "Marega",
- "Nani",
- "Enzo Zidade",
- "Manafa"
- ],
- "image": "marega"
- },
- {"question": "What is the name of the team for which this player plays?",
- "alternatives": [
- "Porto",
- "Gremio",
- "Braga",
- "Belenenses"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Zaidu",
- "João Felix",
- "Zinedine Zidade",
- "Ronaldo"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Ronaldinho",
- "Ronaldo",
- "Enzo Zidade",
- "Neymar"
- ],
- "image": "ronaldinho"
- },
- {"question": "In which game was this goal scored?",
- "alternatives": [
- "O Classico",
- "O Derby",
- "El Clasico",
- "Derby do Rio"
- ],
- "image": "zaidu"
- },
- {"question": "Who is this football player?",
- "alternatives": [
- "Otavio",
- "Nani",
- "Enzo Zidade",
- "Manafa"
- ],
- "image": "otavio"
- },
-
- {"question": "Who is this football player?",
- "alternatives": [
- "Marega",
- "Nani",
- "Enzo Zidade",
- "Manafa"
- ],
- "image": "marega"
- }
-]
\ No newline at end of file
diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml
deleted file mode 100644
index bd4a866..0000000
--- a/app/src/main/res/values-night/themes.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml
deleted file mode 100644
index 453d005..0000000
--- a/app/src/main/res/values/attrs.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
deleted file mode 100644
index f8c6127..0000000
--- a/app/src/main/res/values/colors.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- #FFBB86FC
- #FF6200EE
- #FF3700B3
- #FF03DAC5
- #FF018786
- #FF000000
- #FFFFFFFF
-
\ No newline at end of file
diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml
deleted file mode 100644
index cf00d3f..0000000
--- a/app/src/main/res/values/dimens.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-
- 16dp
- 16dp
-
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
deleted file mode 100644
index 087c30a..0000000
--- a/app/src/main/res/values/strings.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-
- SimpleFootExam
- Settings
-
- First Fragment
- Second Fragment
- Next
- Previous
-
- Hello first fragment
- Hello second fragment. Arg: %1$s
-
\ No newline at end of file
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
deleted file mode 100644
index a0eee78..0000000
--- a/app/src/main/res/values/themes.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/src/test/java/com/example/simplefootexam/ExampleUnitTest.java b/app/src/test/java/com/example/simplefootexam/ExampleUnitTest.java
deleted file mode 100644
index 25d19e3..0000000
--- a/app/src/test/java/com/example/simplefootexam/ExampleUnitTest.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package com.example.simplefootexam;
-
-import org.junit.Test;
-
-import static org.junit.Assert.*;
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * @see Testing documentation
- */
-public class ExampleUnitTest {
- @Test
- public void addition_isCorrect() {
- assertEquals(4, 2 + 2);
- }
-}
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
deleted file mode 100644
index 1e7cd35..0000000
--- a/build.gradle
+++ /dev/null
@@ -1,32 +0,0 @@
-// Top-level build file where you can add configuration options common to all sub-projects/modules.
-buildscript {
- repositories {
- google()
- jcenter()
- }
- dependencies {
- classpath "com.android.tools.build:gradle:4.1.1"
-
- // NOTE: Do not place your application dependencies here; they belong
- // in the individual module build.gradle files
- }
-}
-
-allprojects {
- repositories {
- google()
- jcenter()
- }
-}
-
-task clean(type: Delete) {
- delete rootProject.buildDir
-}
-buildscript{
- dependencies{
-classpath 'io.github.raphael28:hunter-debug-plugin:1.0.1'
-classpath 'io.github.raphael28:hunter-transform:0.9.8'
-
-}
-}
-allprojects {repositories {flatDir { dirs 'libs'}}}
\ No newline at end of file
diff --git a/gradle.properties b/gradle.properties
deleted file mode 100644
index 52f5917..0000000
--- a/gradle.properties
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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=-Xmx2048m -Dfile.encoding=UTF-8
-# 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
-# AndroidX package structure to make it clearer which packages are bundled with the
-# Android operating system, and which are packaged with your app"s APK
-# https://developer.android.com/topic/libraries/support-library/androidx-rn
-android.useAndroidX=true
-# Automatically convert third-party libraries to use AndroidX
-android.enableJetifier=true
\ No newline at end of file
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
deleted file mode 100644
index f6b961f..0000000
Binary files a/gradle/wrapper/gradle-wrapper.jar and /dev/null differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
deleted file mode 100644
index 5edeae5..0000000
--- a/gradle/wrapper/gradle-wrapper.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-#Tue Jun 28 17:38:43 WEST 2022
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
diff --git a/settings.gradle b/settings.gradle
deleted file mode 100644
index 31a7d75..0000000
--- a/settings.gradle
+++ /dev/null
@@ -1,2 +0,0 @@
-include ':app'
-rootProject.name = "SimpleFootExam"
\ No newline at end of file