-
Notifications
You must be signed in to change notification settings - Fork 27
Horoscope #99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jaellys
wants to merge
7
commits into
accesscode-2-1:master
Choose a base branch
from
jaellys:horoscope
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Horoscope #99
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a7bd0f8
initial commit
jaellys 606f8a6
Horoscope: added features
jaellys 57d5512
Delete SignProfilesFragment.java
a293b8f
Added countdown progress
jaellys 562d7d9
Fixed bugs, implemented design
jaellys 9f855f3
Merge branch 'horoscope' of github.com:jaellysbales/unit-1 into horos…
jaellys 45ca82c
Code clean-up
jaellys File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| #built application files | ||
| *.apk | ||
| *.ap_ | ||
|
|
||
| # files for the dex VM | ||
| *.dex | ||
|
|
||
| # Java class files | ||
| *.class | ||
|
|
||
| # generated files | ||
| bin/ | ||
| gen/ | ||
|
|
||
| # Local configuration file (sdk path, etc) | ||
| local.properties | ||
|
|
||
| # Windows thumbnail db | ||
| Thumbs.db | ||
|
|
||
| # OSX files | ||
| .DS_Store | ||
|
|
||
| # Eclipse project files | ||
| .classpath | ||
| .project | ||
|
|
||
| # Android Studio | ||
| *.iml | ||
| .idea | ||
| #.idea/workspace.xml - remove # and delete .idea if it better suit your needs. | ||
| .gradle | ||
| build/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| .gradle | ||
| /local.properties | ||
| .idea/ | ||
| .DS_Store | ||
| /build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" external.system.module.group="" external.system.module.version="unspecified" type="JAVA_MODULE" version="4"> | ||
| <component name="FacetManager"> | ||
| <facet type="java-gradle" name="Java-Gradle"> | ||
| <configuration> | ||
| <option name="BUILD_FOLDER_PATH" value="$MODULE_DIR$/build" /> | ||
| </configuration> | ||
| </facet> | ||
| </component> | ||
| <component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
| <exclude-output /> | ||
| <content url="file://$MODULE_DIR$"> | ||
| <excludeFolder url="file://$MODULE_DIR$/.gradle" /> | ||
| </content> | ||
| <orderEntry type="inheritedJdk" /> | ||
| <orderEntry type="sourceFolder" forTests="false" /> | ||
| </component> | ||
| </module> | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,94 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <module external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$/.." external.system.id="GRADLE" external.system.module.group="Horoscope" external.system.module.version="unspecified" type="JAVA_MODULE" version="4"> | ||
| <component name="FacetManager"> | ||
| <facet type="android-gradle" name="Android-Gradle"> | ||
| <configuration> | ||
| <option name="GRADLE_PROJECT_PATH" value=":app" /> | ||
| </configuration> | ||
| </facet> | ||
| <facet type="android" name="Android"> | ||
| <configuration> | ||
| <option name="SELECTED_BUILD_VARIANT" value="debug" /> | ||
| <option name="SELECTED_TEST_ARTIFACT" value="_android_test_" /> | ||
| <option name="ASSEMBLE_TASK_NAME" value="assembleDebug" /> | ||
| <option name="COMPILE_JAVA_TASK_NAME" value="compileDebugSources" /> | ||
| <option name="ASSEMBLE_TEST_TASK_NAME" value="assembleDebugAndroidTest" /> | ||
| <option name="SOURCE_GEN_TASK_NAME" value="generateDebugSources" /> | ||
| <option name="TEST_SOURCE_GEN_TASK_NAME" value="generateDebugAndroidTestSources" /> | ||
| <option name="ALLOW_USER_CONFIGURATION" value="false" /> | ||
| <option name="MANIFEST_FILE_RELATIVE_PATH" value="/src/main/AndroidManifest.xml" /> | ||
| <option name="RES_FOLDER_RELATIVE_PATH" value="/src/main/res" /> | ||
| <option name="RES_FOLDERS_RELATIVE_PATH" value="file://$MODULE_DIR$/src/main/res" /> | ||
| <option name="ASSETS_FOLDER_RELATIVE_PATH" value="/src/main/assets" /> | ||
| </configuration> | ||
| </facet> | ||
| </component> | ||
| <component name="NewModuleRootManager" inherit-compiler-output="false"> | ||
| <output url="file://$MODULE_DIR$/build/intermediates/classes/debug" /> | ||
| <output-test url="file://$MODULE_DIR$/build/intermediates/classes/androidTest/debug" /> | ||
| <exclude-output /> | ||
| <content url="file://$MODULE_DIR$"> | ||
| <sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/debug" isTestSource="false" generated="true" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/debug" isTestSource="false" generated="true" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" generated="true" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/debug" isTestSource="false" generated="true" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/debug" type="java-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/debug" type="java-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/build/generated/source/r/androidTest/debug" isTestSource="true" generated="true" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/build/generated/source/aidl/androidTest/debug" isTestSource="true" generated="true" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/androidTest/debug" isTestSource="true" generated="true" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/build/generated/source/rs/androidTest/debug" isTestSource="true" generated="true" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/build/generated/res/rs/androidTest/debug" type="java-test-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/build/generated/res/generated/androidTest/debug" type="java-test-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/debug/res" type="java-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/debug/resources" type="java-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/debug/assets" type="java-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/debug/aidl" isTestSource="false" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/debug/java" isTestSource="false" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/debug/jni" isTestSource="false" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/debug/rs" isTestSource="false" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/main/res" type="java-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/main/assets" type="java-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/main/aidl" isTestSource="false" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/main/jni" isTestSource="false" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/main/rs" isTestSource="false" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/androidTest/res" type="java-test-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/androidTest/resources" type="java-test-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/androidTest/assets" type="java-test-resource" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/androidTest/aidl" isTestSource="true" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/androidTest/java" isTestSource="true" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/androidTest/jni" isTestSource="true" /> | ||
| <sourceFolder url="file://$MODULE_DIR$/src/androidTest/rs" isTestSource="true" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/assets" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/bundles" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/classes" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/coverage-instrumented-classes" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/dependency-cache" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/dex-cache" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/incremental" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/jacoco" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/javaResources" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/libs" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/lint" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/manifests" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/ndk" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/pre-dexed" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/proguard" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/res" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/rs" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/intermediates/symbols" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/outputs" /> | ||
| <excludeFolder url="file://$MODULE_DIR$/build/tmp" /> | ||
| </content> | ||
| <orderEntry type="jdk" jdkName="Android API 22 Platform" jdkType="Android SDK" /> | ||
| <orderEntry type="sourceFolder" forTests="false" /> | ||
| <orderEntry type="library" exported="" name="appcompat-v7-22.1.1" level="project" /> | ||
| <orderEntry type="library" exported="" name="recyclerview-v7-21.0.3" level="project" /> | ||
| <orderEntry type="library" exported="" name="support-v4-22.1.1" level="project" /> | ||
| <orderEntry type="library" exported="" name="support-annotations-22.1.1" level="project" /> | ||
| </component> | ||
| </module> | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| apply plugin: 'com.android.application' | ||
|
|
||
| android { | ||
| compileSdkVersion 22 | ||
| buildToolsVersion "22.0.1" | ||
|
|
||
| defaultConfig { | ||
| applicationId "com.jaellysbales.horoscope" | ||
| minSdkVersion 15 | ||
| targetSdkVersion 22 | ||
| versionCode 1 | ||
| versionName "1.0" | ||
| } | ||
| buildTypes { | ||
| release { | ||
| minifyEnabled false | ||
| proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | ||
| } | ||
| } | ||
| } | ||
|
|
||
| dependencies { | ||
| compile fileTree(dir: 'libs', include: ['*.jar']) | ||
| compile 'com.android.support:appcompat-v7:22.1.1' | ||
| compile 'com.android.support:recyclerview-v7:21.0.+' | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # Add project specific ProGuard rules here. | ||
| # By default, the flags in this file are appended to flags specified | ||
| # in /Users/jaellysbales/Library/Android/sdk/tools/proguard/proguard-android.txt | ||
| # You can edit the include path and order by changing the proguardFiles | ||
| # directive in build.gradle. | ||
| # | ||
| # For more details, see | ||
| # http://developer.android.com/guide/developing/tools/proguard.html | ||
|
|
||
| # Add any project specific keep options here: | ||
|
|
||
| # 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 *; | ||
| #} |
20 changes: 20 additions & 0 deletions
20
homework/jaellysbales/Horoscope/app/src/main/AndroidManifest.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
| package="com.jaellysbales.horoscope" > | ||
|
|
||
| <application | ||
| android:allowBackup="true" | ||
| android:icon="@mipmap/ic_launcher" | ||
| android:label="@string/app_name" | ||
| android:theme="@style/MyMaterialTheme" > | ||
| <activity | ||
| android:name=".ui.MainActivity" | ||
| android:label="@string/app_name" > | ||
| <intent-filter> | ||
| <action android:name="android.intent.action.MAIN" /> | ||
| <category android:name="android.intent.category.LAUNCHER" /> | ||
| </intent-filter> | ||
| </activity> | ||
| </application> | ||
|
|
||
| </manifest> |
170 changes: 170 additions & 0 deletions
170
...ysbales/Horoscope/app/src/main/java/com/jaellysbales/horoscope/drawer/FragmentDrawer.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,170 @@ | ||
| package com.jaellysbales.horoscope.drawer; | ||
|
|
||
| import android.content.Context; | ||
| import android.os.Bundle; | ||
| import android.support.v4.app.Fragment; | ||
| import android.support.v4.widget.DrawerLayout; | ||
| import android.support.v7.app.ActionBarDrawerToggle; | ||
| import android.support.v7.widget.LinearLayoutManager; | ||
| import android.support.v7.widget.RecyclerView; | ||
| import android.support.v7.widget.Toolbar; | ||
| import android.view.GestureDetector; | ||
| import android.view.LayoutInflater; | ||
| import android.view.MotionEvent; | ||
| import android.view.View; | ||
| import android.view.ViewGroup; | ||
|
|
||
| import com.jaellysbales.horoscope.R; | ||
|
|
||
| import java.util.ArrayList; | ||
| import java.util.List; | ||
|
|
||
| public class FragmentDrawer extends Fragment { | ||
|
|
||
| private static String TAG = FragmentDrawer.class.getSimpleName(); | ||
|
|
||
| private RecyclerView recyclerView; | ||
| private ActionBarDrawerToggle mDrawerToggle; | ||
| private DrawerLayout mDrawerLayout; | ||
| private NavigationDrawerAdapter adapter; | ||
| private View containerView; | ||
| private static String[] titles = null; | ||
| private FragmentDrawerListener drawerListener; | ||
|
|
||
| public FragmentDrawer() { | ||
|
|
||
| } | ||
|
|
||
| public void setDrawerListener(FragmentDrawerListener listener) { | ||
| this.drawerListener = listener; | ||
| } | ||
|
|
||
| public static List<NavDrawerItem> getData() { | ||
| List<NavDrawerItem> data = new ArrayList<>(); | ||
|
|
||
|
|
||
| // preparing navigation drawer items | ||
| for (int i = 0; i < titles.length; i++) { | ||
| NavDrawerItem navItem = new NavDrawerItem(); | ||
| navItem.setTitle(titles[i]); | ||
| data.add(navItem); | ||
| } | ||
| return data; | ||
| } | ||
|
|
||
| @Override | ||
| public void onCreate(Bundle savedInstanceState) { | ||
| super.onCreate(savedInstanceState); | ||
|
|
||
| // drawer labels | ||
| titles = getActivity().getResources().getStringArray(R.array.nav_drawer_labels); | ||
| } | ||
|
|
||
| @Override | ||
| public View onCreateView(LayoutInflater inflater, ViewGroup container, | ||
| Bundle savedInstanceState) { | ||
| // Inflating view layout | ||
| View layout = inflater.inflate(R.layout.fragment_navigation_drawer, container, false); | ||
| recyclerView = (RecyclerView) layout.findViewById(R.id.drawerList); | ||
|
|
||
| adapter = new NavigationDrawerAdapter(getActivity(), getData()); | ||
| recyclerView.setAdapter(adapter); | ||
| recyclerView.setLayoutManager(new LinearLayoutManager(getActivity())); | ||
| recyclerView.addOnItemTouchListener(new RecyclerTouchListener(getActivity(), recyclerView, new ClickListener() { | ||
| @Override | ||
| public void onClick(View view, int position) { | ||
| drawerListener.onDrawerItemSelected(view, position); | ||
| mDrawerLayout.closeDrawer(containerView); | ||
| } | ||
|
|
||
| @Override | ||
| public void onLongClick(View view, int position) { | ||
|
|
||
| } | ||
| })); | ||
|
|
||
| return layout; | ||
| } | ||
|
|
||
|
|
||
| public void setUp(int fragmentId, DrawerLayout drawerLayout, final Toolbar toolbar) { | ||
| containerView = getActivity().findViewById(fragmentId); | ||
| mDrawerLayout = drawerLayout; | ||
| mDrawerToggle = new ActionBarDrawerToggle(getActivity(), drawerLayout, toolbar, R.string.drawer_open, R.string.drawer_close) { | ||
| @Override | ||
| public void onDrawerOpened(View drawerView) { | ||
| super.onDrawerOpened(drawerView); | ||
| getActivity().invalidateOptionsMenu(); | ||
| } | ||
|
|
||
| @Override | ||
| public void onDrawerClosed(View drawerView) { | ||
| super.onDrawerClosed(drawerView); | ||
| getActivity().invalidateOptionsMenu(); | ||
| } | ||
|
|
||
| @Override | ||
| public void onDrawerSlide(View drawerView, float slideOffset) { | ||
| super.onDrawerSlide(drawerView, slideOffset); | ||
| toolbar.setAlpha(1 - slideOffset / 2); | ||
| } | ||
| }; | ||
|
|
||
| mDrawerLayout.setDrawerListener(mDrawerToggle); | ||
| mDrawerLayout.post(new Runnable() { | ||
| @Override | ||
| public void run() { | ||
| mDrawerToggle.syncState(); | ||
| } | ||
| }); | ||
|
|
||
| } | ||
|
|
||
| public static interface ClickListener { | ||
| public void onClick(View view, int position); | ||
|
|
||
| public void onLongClick(View view, int position); | ||
| } | ||
|
|
||
| static class RecyclerTouchListener implements RecyclerView.OnItemTouchListener { | ||
|
|
||
| private GestureDetector gestureDetector; | ||
| private ClickListener clickListener; | ||
|
|
||
| public RecyclerTouchListener(Context context, final RecyclerView recyclerView, final ClickListener clickListener) { | ||
| this.clickListener = clickListener; | ||
| gestureDetector = new GestureDetector(context, new GestureDetector.SimpleOnGestureListener() { | ||
| @Override | ||
| public boolean onSingleTapUp(MotionEvent e) { | ||
| return true; | ||
| } | ||
|
|
||
| @Override | ||
| public void onLongPress(MotionEvent e) { | ||
| View child = recyclerView.findChildViewUnder(e.getX(), e.getY()); | ||
| if (child != null && clickListener != null) { | ||
| clickListener.onLongClick(child, recyclerView.getChildPosition(child)); | ||
| } | ||
| } | ||
| }); | ||
| } | ||
|
|
||
| @Override | ||
| public boolean onInterceptTouchEvent(RecyclerView rv, MotionEvent e) { | ||
|
|
||
| View child = rv.findChildViewUnder(e.getX(), e.getY()); | ||
| if (child != null && clickListener != null && gestureDetector.onTouchEvent(e)) { | ||
| clickListener.onClick(child, rv.getChildPosition(child)); | ||
| } | ||
| return false; | ||
| } | ||
|
|
||
| @Override | ||
| public void onTouchEvent(RecyclerView rv, MotionEvent e) { | ||
| } | ||
| } | ||
|
|
||
| public interface FragmentDrawerListener { | ||
| public void onDrawerItemSelected(View view, int position); | ||
| } | ||
| } | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good use of looping through your array to assign content to your nav drawer rather than adding one by one.