-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gsoc 2023 home screen migrartion (#25)
* Update for some issue In Deploy to Appetize * removed Github Token from ci file * Migrated fragment_login.xml to LoginScreen.kt Compose and Updated facebook Sdk version to latest and added code changes according to new methods in doc and updated gitlab-ci.yml for fbClientSecret * Migrated fragment_home.xml to HomeScreen.kt in compose
- Loading branch information
1 parent
2cc3536
commit 3146332
Showing
16 changed files
with
349 additions
and
503 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
.../java/org/aossie/agoraandroid/domain/useCases/homeFragment/FetchAndSaveElectionUseCase.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
package org.aossie.agoraandroid.domain.useCases.homeFragment | ||
|
||
import org.aossie.agoraandroid.data.network.responses.ElectionListResponse | ||
import org.aossie.agoraandroid.domain.repository.ElectionsRepository | ||
import javax.inject.Inject | ||
|
||
class FetchAndSaveElectionUseCase @Inject constructor( | ||
private val electionsRepository: ElectionsRepository | ||
) { | ||
suspend operator fun invoke() { | ||
suspend operator fun invoke(): ElectionListResponse { | ||
return electionsRepository.fetchAndSaveElections() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.