Install Android Studio based on the OS you are using.
After downloading the project in the local machine, Follow the steps below:
1. Open project folder in the Android Studio: File --> Open --> (Select the project folder)
2. For executing the app: Run --> Run 'app'.
All the files will be compiled and once the build is completed successfully, your app will be installed in the Emulator.
/java/com/unacademyclone
will contain all the java files.
/activity
folder contains implementation logic of all the pages in the application.
/adapter
folder contains logic for rendering different types of list views. i.e If you have Array of objects with size 10, this Adapter files will help you to convert the data object into the UI which represents the particular row.
/fragment
folder contains logic for the fragments which are present inside the each activities.
/model
folder contains classes with setter and getter functions for each attributes inside the class.
/unacademyclone
├─ /activity
│ ├─ GoalsActivity.java
│ ├─ MainActivity.java
│ ├─ PostActivity.java
│ ├─ SearchAutoCompleteActivity.java
│ ├─ UserProfileActivity.java
│
├─ /adapter
│ ├─ AllTopicsItemAdapter.java
│ ├─ CollectionItemAdapter.java
│ ├─ CourseAdapter.java
│ ├─ EducatorAdapter.java
│ ├─ GoalAdapter.java
│ ├─ GoalFeedItemAdapter.java
│ └─ StoryAdapter.java
│ └─ TopicGroupItemAdapter.java
│
├─ /fragment
│ ├─ HomeFragment.java
│ ├─ MyLibraryFragment.java
│ ├─ PlusFragment.java
│ ├─ ProfileFragment.java
│
├─ /model
│ ├─ AllTopicsItem.java
│ ├─ CollectionItem.java
│ ├─ CourseItem.java
│ ├─ Educator.java
│ ├─ Goal.java
│ ├─ Story.java
│ ├─ StoryAuthor.java
│ ├─ TopicGroupItem.java
/res/layout/
folder contains XML files which specifies the styles and alignment of UI elements.
/res
├─ /layout
│ ├─ activity_goals.xml
│ ├─ activity_main.xml
│ ├─ activity_post.xml
│ ├─ activity_search_autocomplete.xml
│ ├─ activity_user_profile.xml
│ ├─ fragment_home.xml
│ ├─ fragment_my_library.xml
│ ├─ fragment_plus.xml
│ ├─ fragment_profile.xml
│ ├─ row_all_topics.xml
│ ├─ row_collection_item.xml
│ ├─ row_course.xml
│ ├─ row_educator.xml
│ ├─ row_goal.xml
│ ├─ row_goal_feed_item.xml
│ ├─ row_story.xml
│ ├─ row_topic_group_item.xml
The list below contains some of the basic terminology in Android development and their equivalent in Web Application development.
Android App <---> Web App
.xml File <---> .html File
.java File <---> .js File
Activity <---> HTML page like index.html, profile.html
Fragment <---> <frame />