1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-26 08:37:29 +00:00
Commit Graph

1931 Commits

Author SHA1 Message Date
Austin Huang
f961c422ca
Merge branch 'master' into pr/934 2021-06-13 12:02:51 -04:00
Ammar Githam
70ffac3025 Add some ProfileFragmentViewModel logic and tests 2021-06-13 20:52:03 +09:00
Ammar Githam
1d9eb43442 Make currentUser in AppStateViewModel a Resource 2021-06-13 20:01:09 +09:00
Austin Huang
39ddfac03b
close #1211 2021-06-12 18:41:59 -04:00
Ammar Githam
de9a1e06a9 Add FavoriteRepository to ProfileFragmentViewModel constructor 2021-06-12 13:22:49 +09:00
Ammar Githam
77868838b9 Update how FavoriteDataSource and FavoriteRepository get initialised 2021-06-12 13:19:25 +09:00
Ammar Githam
dd227751af Migrate service/dao test objects to open class adapters for re-usability 2021-06-12 13:13:11 +09:00
Ammar Githam
8253328788 Add AccountRepository to ProfileFragmentViewModel constructor 2021-06-12 13:04:55 +09:00
Ammar Githam
06508ca78d Update how AccountDataSource and AccountRepository get initialised 2021-06-12 13:02:15 +09:00
Ammar Githam
dad2260ea2 Add GraphQLRepository to ProfileFragmentViewModel constructor 2021-06-12 12:43:15 +09:00
Ammar Githam
205e21b07c Move GraphQLService object to GraphQLRepository constructor parameter. 2021-06-12 12:39:55 +09:00
Ammar Githam
69b685ae0d Interchange GraphQLService and GraphQLRepository names. 2021-06-12 12:34:50 +09:00
Ammar Githam
2a0295e325 Add MediaRepository to ProfileFragmentViewModel constructor 2021-06-12 10:07:31 +09:00
Ammar Githam
58e0863de5 Move MediaService object to MediaRepository constructor parameter. 2021-06-12 10:03:21 +09:00
Ammar Githam
b2cbc18dbb Interchange MediaService and MediaRepository names. 2021-06-12 09:53:38 +09:00
Ammar Githam
02cb1f5db5 Add StoriesRepository to ProfileFragmentViewModel constructor 2021-06-12 08:54:00 +09:00
Ammar Githam
3d69148d9b Move StoriesService object to StoriesRepository constructor parameter. 2021-06-12 08:49:49 +09:00
Ammar Githam
4f8de4e7df Fix compile error 2021-06-12 08:42:12 +09:00
Ammar Githam
1191b416ce Interchange StoriesService and StoriesRepository names. 2021-06-12 08:37:22 +09:00
Austin Huang
8bb0fba4cb
close #1397 2021-06-11 12:24:25 -04:00
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