Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Room Park Android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vladislav Bogdashkin
Room Park Android
Commits
b6bf36b6
Commit
b6bf36b6
authored
Jan 16, 2020
by
Vladislav Bogdashkin
🎣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
base interface for settigns
parent
a1c067d4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
0 deletions
+48
-0
FilesRepository.kt
...nto/visual/roompark/data/data_provider/FilesRepository.kt
+23
-0
FilesContract.kt
.../biganto/visual/roompark/domain/contract/FilesContract.kt
+9
-0
settingsUseCase.kt
...iganto/visual/roompark/domain/use_case/settingsUseCase.kt
+16
-0
No files found.
app/src/main/java/com/biganto/visual/roompark/data/data_provider/FilesRepository.kt
0 → 100644
View file @
b6bf36b6
package
com.biganto.visual.roompark.data.data_provider
import
com.biganto.visual.roompark.data.repository.api.IRoomParkApi
import
com.biganto.visual.roompark.data.repository.db.IDb
import
com.biganto.visual.roompark.data.repository.file.FileModule
import
com.biganto.visual.roompark.domain.contract.FilesContract
import
javax.inject.Inject
/**
* Created by Vladislav Bogdashkin on 29.10.2019.
*/
//@Singleton
class
FilesContractModule
@Inject
constructor
(
private
val
files
:
FileModule
,
private
val
api
:
IRoomParkApi
,
private
val
db
:
IDb
):
FilesContract
{
}
app/src/main/java/com/biganto/visual/roompark/domain/contract/FilesContract.kt
0 → 100644
View file @
b6bf36b6
package
com.biganto.visual.roompark.domain.contract
/**
* Created by Vladislav Bogdashkin on 24.09.2019.
*/
interface
FilesContract
{
}
\ No newline at end of file
app/src/main/java/com/biganto/visual/roompark/domain/use_case/settingsUseCase.kt
0 → 100644
View file @
b6bf36b6
package
com.biganto.visual.roompark.domain.use_case
import
com.biganto.visual.roompark.data.data_provider.AuthContractModule
import
javax.inject.Inject
/**
* Created by Vladislav Bogdashkin on 24.09.2019.
*/
class
SettingsUseCase
@Inject
constructor
(
private
val
authContract
:
AuthContractModule
){
fun
signOut
()
=
authContract
.
signOut
()
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment