Skip to content
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

Merged
merged 2 commits into from
May 16, 2023
Merged

List Files Folders #7

merged 2 commits into from
May 16, 2023

Conversation

HectorNarvaez
Copy link
Contributor

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

@Anwera64
Copy link
Contributor

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
/*
Copy link
Contributor

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()
Copy link
Contributor

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")
}
/*
Copy link
Contributor

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
Copy link
Contributor

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()
Copy link
Contributor

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()
Copy link
Contributor

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?

@HectorNarvaez HectorNarvaez added the Don't merge Can't be merged yet label May 12, 2023
@HectorNarvaez HectorNarvaez removed the Don't merge Can't be merged yet label May 15, 2023
@HectorNarvaez
Copy link
Contributor Author

@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

Copy link
Contributor

@Anwera64 Anwera64 left a 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

@HectorNarvaez HectorNarvaez merged commit 644d14c into main May 16, 2023
@HectorNarvaez HectorNarvaez deleted the state/listfilesfolders branch May 16, 2023 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants