-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List Files Folders #7
Conversation
Could you divide this into smaller commits with less files to review, please? Maybe you could create a PR only for the Auth library integration first. |
setContentView(binding.root) | ||
binding.recvEmptyView.root.visibility = View.VISIBLE | ||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it required to keep the code commented?
|
||
private fun prepareViews() { | ||
tvSortByName.setOnClickListener { | ||
// viewModel.sortByName() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. Is it required to keep the code commented?
null -> return@launch | ||
else -> error("Unsupported credential type") | ||
} | ||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. Is it required to keep the code commented?
@@ -18,6 +20,8 @@ class ActivitySplash : AppCompatActivity() { | |||
@Inject | |||
lateinit var omhAuthClient: OmhAuthClient | |||
|
|||
// @Inject lateinit var omhStorageClient: OmhStorageClient |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. Is it required to keep the code commented?
item.name, | ||
item.extension, | ||
SimpleDateFormat(RESPONSE_DATE_FORMAT, Locale.ENGLISH).format(item.modificationDate) | ||
//item.lastModDate.toString() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. Is it required to keep the code commented?
RESPONSE_DATE_FORMAT, | ||
Locale.ENGLISH | ||
).format(item.modificationDate * 1000L) | ||
//item.lastModDate.toString() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here. Is it required to keep the code commented?
33875c5
to
63b7ac6
Compare
@hans-hamel for now, for avoid conflicts i prefer to keep on this PR the code as is right now. I can send another PR later (probably #12) removing the commented code or remove it when i start working on the sample app c.c.: @Anwera64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd recommend fixing the issues here to avoid increasing the amount of changes in #8
This PR includes the latest changes @nelsonfertica let regarding to retrieve the list of files and folders in the remote source.
The idea with this PR is to have main branch updated for start uploading new changes from there