Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
5b87802
Initial Commit
arthurgonzaga Sep 24, 2021
216d2f8
Change package location
arthurgonzaga Sep 24, 2021
c6c7909
Change themes and colors. Add new fonts
arthurgonzaga Sep 24, 2021
84dc0a1
Small changes to the style files
arthurgonzaga Sep 24, 2021
7d19137
Implement the Item layout for the RecyclerView
arthurgonzaga Sep 24, 2021
5c9d940
Implement the Header UI
arthurgonzaga Sep 24, 2021
70eab1c
Change the gray color to onBackgroundColor
arthurgonzaga Sep 24, 2021
d931fbc
Add TitleTextAppearance
arthurgonzaga Sep 24, 2021
615523d
Turn ViewBinding on
arthurgonzaga Sep 24, 2021
e108bb8
Implement CharacterInfo custom ViewGroup
arthurgonzaga Sep 24, 2021
33b8e5e
Add initial dependencies
arthurgonzaga Sep 24, 2021
7cbf705
Add background color
arthurgonzaga Sep 24, 2021
cc3d7e1
Add HomeFragment
arthurgonzaga Sep 24, 2021
427c396
Add the DetailFragment and update the CharacterInfo
arthurgonzaga Sep 24, 2021
d39fb21
Update titles of CharacterInfos
arthurgonzaga Sep 24, 2021
95d2202
Improve GridLayout columns
arthurgonzaga Sep 24, 2021
01ab564
Add the DFavoriteListFragment
arthurgonzaga Sep 24, 2021
2f6b8f4
Update border background
arthurgonzaga Sep 24, 2021
d59d6a3
Add search bar and favorite button
arthurgonzaga Sep 24, 2021
6d56630
Update FavoriteListFragment
arthurgonzaga Sep 24, 2021
9e17340
Implement navigation to FavoriteListFragment and add tests
arthurgonzaga Sep 24, 2021
1fcc203
Add the responses models for the API
arthurgonzaga Sep 25, 2021
6bcc7d3
Improve CharacterResponse class
arthurgonzaga Sep 25, 2021
7552450
Update class and add more tests
arthurgonzaga Sep 25, 2021
556ccef
Add all api services
arthurgonzaga Sep 25, 2021
877c3e0
Add the forgotten FavoriteService
arthurgonzaga Sep 25, 2021
010469a
Implement Hilt
arthurgonzaga Sep 25, 2021
49d7952
Update CharacterResponse and add tests
arthurgonzaga Sep 25, 2021
2c2f0c8
Implement Room Database
arthurgonzaga Sep 25, 2021
697d764
Change package
arthurgonzaga Sep 25, 2021
51caef9
Add static factory method pattern
arthurgonzaga Sep 25, 2021
8392608
Add Paging RemoteMediator
arthurgonzaga Sep 25, 2021
f38c687
Implement RemoteMediator, improve UI and update models
arthurgonzaga Sep 26, 2021
56f4c94
Fix bug of updating the favorite column
arthurgonzaga Sep 26, 2021
e5cfc1b
Implement favorite feature through the RecyclerView
arthurgonzaga Sep 26, 2021
47e7211
Improve UI touch effects
arthurgonzaga Sep 26, 2021
dfcfafc
Improve RecyclerView t(to support landscape)
arthurgonzaga Sep 26, 2021
9f65ee3
Implement DetailFragment (need to improve)
arthurgonzaga Sep 27, 2021
1ebf236
Implement animations
arthurgonzaga Sep 27, 2021
e0d8959
Small changes to the DetailFragment layout
arthurgonzaga Sep 27, 2021
7fe98c5
Change animation to the FavoriteListFragment
arthurgonzaga Sep 27, 2021
73c0314
Implement searching
arthurgonzaga Sep 28, 2021
7e48cb2
Implement FavoriteList and refactored some code
arthurgonzaga Sep 28, 2021
dde9ddb
Improve home list delay
arthurgonzaga Sep 28, 2021
4f58953
Implement RxJava to make parallel api requests
arthurgonzaga Sep 28, 2021
fbdff9d
Showing full detail on DetailFragment
arthurgonzaga Sep 28, 2021
76ce8c2
Implement FavoriteApi
arthurgonzaga Sep 29, 2021
a48e654
Improve DetailFragment UI
arthurgonzaga Sep 29, 2021
d684223
Implement theme Changer
arthurgonzaga Sep 29, 2021
dd3dadc
Improve home header UI/UX
arthurgonzaga Sep 29, 2021
53575a1
Implement recyclerview animators
arthurgonzaga Sep 29, 2021
b1c6ff5
Update README
arthurgonzaga Sep 29, 2021
d95f5de
Implement Syncronization with backend
arthurgonzaga Sep 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve GridLayout columns
  • Loading branch information
arthurgonzaga committed Sep 24, 2021
commit 95d2202002250e410dde6e8e67e55bf1aff3480d
102 changes: 0 additions & 102 deletions app/src/main/res/layout-land/fragment_detail.xml

This file was deleted.

4 changes: 1 addition & 3 deletions app/src/main/res/layout/fragment_detail.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
android:id="@+id/grid_layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:columnCount="2"
android:columnCount="@integer/grid_column_count"
android:orientation="horizontal"
android:useDefaultMargins="true"
app:layout_constraintBottom_toBottomOf="parent"
Expand Down Expand Up @@ -98,8 +98,6 @@
tools:subtitle="Human" />




</GridLayout>

</androidx.constraintlayout.widget.ConstraintLayout>
4 changes: 4 additions & 0 deletions app/src/main/res/values-land/dimens.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="column_spacing">60dp</dimen>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-land/integers.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="grid_column_count">5</integer>
</resources>
4 changes: 4 additions & 0 deletions app/src/main/res/values-long-land/integers.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="grid_column_count">6</integer>
</resources>
1 change: 0 additions & 1 deletion app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@


<dimen name="column_spacing">116dp</dimen>
<dimen name="column_spacing_land">60dp</dimen>


<dimen name="title">16sp</dimen>
Expand Down
4 changes: 4 additions & 0 deletions app/src/main/res/values/integers.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<integer name="grid_column_count">2</integer>
</resources>