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 |
|
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
|
8253328788
|
Add AccountRepository to ProfileFragmentViewModel constructor
|
2021-06-12 13:04:55 +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
|
4f8de4e7df
|
Fix compile error
|
2021-06-12 08:42:12 +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
|
ed8ca2da02
|
More groundwork for ProfileFragmentViewModel
|
2021-06-09 09:09:40 +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 |
|
Ammar Githam
|
003beec5b6
|
Convert RecentSearchDao, RecentSearchDataSource and RecentSearchRepository to kotlin
|
2021-06-08 21:15:27 +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 |
|
Ammar Githam
|
76b246573d
|
Convert FavoriteDao, FavoriteDataSource and FavoriteRepository to kotlin
|
2021-06-07 06:54:12 +09:00 |
|
Ammar Githam
|
6b499e3dfc
|
Migrate DirectMessagesService to object
|
2021-06-06 20:11:36 +09:00 |
|
Ammar Githam
|
143a0ce259
|
Convert GraphQLRepository and GraphQLService to kotlin
|
2021-06-06 13:14:29 +09:00 |
|
Ammar Githam
|
a2bd2e4b53
|
Convert UserRepository and UserService to kotlin
|
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
|
faf299f6f0
|
Preparation for adding ProfileFragmentViewModel
|
2021-06-05 19:36:00 +09:00 |
|
Ammar Githam
|
b997504602
|
Convert MediaRepository and MediaService to kotlin.
|
2021-06-04 07:17:24 +09:00 |
|
Ammar Githam
|
bcec6d373c
|
Fix comment replies cursor
|
2021-06-01 18:16:54 +09:00 |
|
Ammar Githam
|
cc1741005b
|
DirectMessagesRepository migrated to suspend functions
|
2021-06-01 06:45:36 +09:00 |
|
Ammar Githam
|
741a997424
|
More suspend funs
|
2021-05-31 22:16:18 +09:00 |
|
Ammar Githam
|
87e6e4440f
|
Convert to kotlin, suspend funs, and viewModelScope
|
2021-05-31 20:55:22 +09:00 |
|
Ammar Githam
|
68bc9a7543
|
Rename .java to .kt
|
2021-05-31 20:55:22 +09:00 |
|
Austin Huang
|
e8ce2898b6
|
Merge branch 'master' of https://github.com/austinhuang0131/instagrabber
|
2021-05-29 10:47:52 -04:00 |
|
Austin Huang
|
890139a287
|
comments redo (logged-in endpoint)
|
2021-05-29 10:46:23 -04:00 |
|
Ammar Githam
|
3db7b53757
|
Convert DirectThreadViewModel to kotlin and fix ThreadManager
|
2021-05-29 23:14:04 +09:00 |
|
Ammar Githam
|
ddac623184
|
Rename .java to .kt
|
2021-05-29 23:14:03 +09:00 |
|
Ammar Githam
|
59750b1026
|
Convert DM managers to kotlin
|
2021-05-29 22:22:28 +09:00 |
|
Ammar Githam
|
77965f9634
|
Convert FavoritesViewModel to kotlin and optimise code
|
2021-05-25 07:36:47 +09:00 |
|
Ammar Githam
|
39687136dc
|
Rename .java to .kt
|
2021-05-25 07:36:47 +09:00 |
|
Ammar Githam
|
ce31554687
|
Fix Caption de-serialization
|
2021-05-25 02:08:46 +09:00 |
|
Ammar Githam
|
841c3bdbda
|
Convert to kotlin
|
2021-05-25 01:58:37 +09:00 |
|
Austin Huang
|
7e00dcc1b7
|
more #1309
|
2021-05-23 21:34:19 -04:00 |
|
Ammar Githam
|
c784ca937d
|
Fix FriendshipStatus variable names
|
2021-05-23 20:17:52 +09:00 |
|
Ammar Githam
|
d7462109db
|
Convert to kotlin
|
2021-05-23 16:48:27 +09:00 |
|
Ammar Githam
|
742b696d17
|
Share posts via DM. Resolves part of austinhuang0131/barinsta#537
|
2021-05-23 15:57:01 +09:00 |
|
Ammar Githam
|
13bfc9cb84
|
Convert some retrofit response classes to kotlin
|
2021-05-23 06:26:33 +09:00 |
|
Ammar Githam
|
17fb608c34
|
Convert some more classes to kotlin
|
2021-05-22 20:10:53 +09:00 |
|
Ammar Githam
|
84e93431ae
|
Add Kotlin and convert some model classes to kotlin
|
2021-05-22 17:58:18 +09:00 |
|
Austin Huang
|
f89f0ef542
|
add a simple user constructor
|
2021-05-15 12:52:31 -04:00 |
|