Commit Graph

2145 Commits

Author SHA1 Message Date
Ammar Githam
8f218b9515 Add FriendshipRepository to ProfileFragmentViewModel constructor 2021-06-10 17:03:24 +09:00
Ammar Githam
e1532eb4b8 Move FriendService object to FriendshipRepository constructor parameter. 2021-06-10 16:50:25 +09:00
Ammar Githam
0126fca36d Interchange FriendshipService and FriendshipRepository names. 2021-06-10 16:16:41 +09:00
Ammar Githam
ed8ca2da02 More groundwork for ProfileFragmentViewModel 2021-06-09 09:09:40 +09:00
Ammar Githam
eaac191588 Remove BaseService. Since RetrofitFactory was introduced, BaseService does nothing. 2021-06-09 08:46:34 +09:00
Ammar Githam
29d2b894d8 Interchange UserService and UserRepository names. Check description.
As per the sample provided at https://github.com/android/architecture-components-samples/tree/main/GithubBrowserSample, the Retrofit interfaces should be named Services and the classes using the services are Repositories.

Once all are properly named, we can move the db repositories inside the repositories package.
2021-06-09 08:40:13 +09:00
Austin Huang
6e2e3c139c
close #1336 2021-06-08 12:08:32 -04:00
Ammar Githam
54ff196bb1 Convert AppDatabase to kotlin 2021-06-08 22:39:00 +09:00
Ammar Githam
66b60e6830 Rename .java to .kt 2021-06-08 22:39:00 +09:00
Ammar Githam
d4bf5a57c2 Convert db entities to kotlin 2021-06-08 22:24:27 +09:00
Ammar Githam
34e2ba429c Convert Converters to kotlin 2021-06-08 21:29:47 +09:00
Ammar Githam
b7d74964fa Rename .java to .kt 2021-06-08 21:29:47 +09:00
Ammar Githam
64567359b7 Remove unused RepositoryCallback interface 2021-06-08 21:16:50 +09:00
Ammar Githam
003beec5b6 Convert RecentSearchDao, RecentSearchDataSource and RecentSearchRepository to kotlin 2021-06-08 21:15:27 +09:00
Ammar Githam
c49b44f212 Rename .java to .kt 2021-06-08 21:15:27 +09:00
Ammar Githam
22041df256 Convert DMLastNotifiedDao, DMLastNotifiedDataSource and DMLastNotifiedRepository to kotlin 2021-06-08 20:51:59 +09:00
Ammar Githam
3d0b18e422 Rename .java to .kt 2021-06-08 20:51:59 +09:00
Austin Huang
544d9f87bc
fix various comments bugs
1. redo ChildCommentsFetchResponse structure, stress-tested
2. navigation on more graph again
3. proper "next page" handling
2021-06-07 18:10:48 -04:00
Austin Huang
118fffc074
close #1333 2021-06-06 22:24:37 -04:00
Ammar Githam
4381d49aa9 Merge remote-tracking branch 'upstream/master' 2021-06-07 06:54:36 +09:00
Ammar Githam
76b246573d Convert FavoriteDao, FavoriteDataSource and FavoriteRepository to kotlin 2021-06-07 06:54:12 +09:00
Austin Huang
7f7db43870
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber 2021-06-06 15:43:52 -04:00
Austin Huang
5e631749b3
close #1384 2021-06-06 14:49:04 -04:00
Ammar Githam
c647e22293 Convert AccountDao, AccountDataSource and AccountRepository to kotlin 2021-06-06 20:59:56 +09:00
Ammar Githam
4a099ef20a Rename .java to .kt 2021-06-06 20:59:56 +09:00
Ammar Githam
6b499e3dfc Migrate DirectMessagesService to object 2021-06-06 20:11:36 +09:00
Ammar Githam
cae457aa9a Convert StoriesRepository and StoriesService to kotlin 2021-06-06 19:29:21 +09:00
Ammar Githam
a2cc4573e1 Rename .java to .kt 2021-06-06 19:29:21 +09:00
Ammar Githam
cf65ed0fc5 Convert FriendshipRepository and FriendshipService to kotlin 2021-06-06 14:18:27 +09:00
Ammar Githam
7769aa220f Rename .java to .kt 2021-06-06 14:18:26 +09:00
Ammar Githam
143a0ce259 Convert GraphQLRepository and GraphQLService to kotlin 2021-06-06 13:14:29 +09:00
Ammar Githam
dd3562116b Rename .java to .kt 2021-06-06 13:14:28 +09:00
Ammar Githam
a2bd2e4b53 Convert UserRepository and UserService to kotlin 2021-06-06 10:11:30 +09:00
Ammar Githam
6b24c907dd Rename .java to .kt 2021-06-06 10:11:30 +09:00
Ammar Githam
e56e4c17c9 Migrate MediaService to object 2021-06-06 09:43:19 +09:00
Ammar Githam
3f09c7d173 Convert User to kotlin 2021-06-05 19:58:01 +09:00
Ammar Githam
04aae488d9 Rename .java to .kt 2021-06-05 19:58:01 +09:00
Ammar Githam
faf299f6f0 Preparation for adding ProfileFragmentViewModel 2021-06-05 19:36:00 +09:00
Austin Huang
696a8c9c61
close #1383 2021-06-04 16:02:29 -04:00
Austin Huang
bcfe4819cb
close #1346 2021-06-04 15:51:59 -04:00
Austin Huang
8e1d5c66bd
close #1388 (i think) 2021-06-04 15:34:29 -04:00
Austin Huang
4a72d64a6d
close #1385 2021-06-04 15:29:36 -04:00
Austin Huang
aad93a9662
close #1386 2021-06-04 14:45:28 -04:00
Austin Huang
86ce7e5f05
close #1387 2021-06-04 14:38:03 -04:00
Ammar Githam
b997504602 Convert MediaRepository and MediaService to kotlin. 2021-06-04 07:17:24 +09:00
Ammar Githam
708e0fda5b Some code cleanup 2021-06-03 20:42:28 +09:00
Ammar Githam
8491d1aac7 Convert BitmapUtils to kotlin and migrate MediaUploader funcs to suspend 2021-06-03 20:40:13 +09:00
Ammar Githam
5756f055d9 Convert DownloadWorker to kotlin 2021-06-02 08:09:22 +09:00
Ammar Githam
9e65ee9d27 Rename .java to .kt 2021-06-02 08:09:21 +09:00
Ammar Githam
45e629ee61 Convert DirectMessageSettingsFragment to kotlin 2021-06-02 07:14:38 +09:00