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

KMM search android #18

Merged
merged 12 commits into from
Sep 11, 2023
Merged

KMM search android #18

merged 12 commits into from
Sep 11, 2023

Conversation

dfernandezm
Copy link
Collaborator

Feel free to delete irrelevant sections or add new ones as you see fit.

What does this pull request change?

Describe your proposed changes, including any necessary context.

Demo

Optional but helps to have a quick visual, if any.

Before After

Screenshots

Optional but helps to have a quick visual, if any.

Before After
1️⃣ 2️⃣

How is this change tested?

How did you ensure your code works? e.g. unit tests, UI tests, manually


Our testing guide
Writing Kotlin Multiplatform tests

@dfernandezm
Copy link
Collaborator Author

dfernandezm commented Aug 30, 2023

Remaining TODO:

  • Fix broken tests
  • Outlined TODOs in the code

@dfernandezm dfernandezm changed the title Feature/kmm search android Kmm search android Sep 11, 2023
@dfernandezm dfernandezm marked this pull request as ready for review September 11, 2023 06:55
@dfernandezm dfernandezm changed the title Kmm search android KMM search android Sep 11, 2023
Copy link
Owner

@gchristov gchristov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome! 🚀

_state.postValue(newState)
// postValue vs setValue
// see: https://stackoverflow.com/questions/51299641/difference-of-setvalue-postvalue-in-mutablelivedata/51299672#51299672
_state.setValue(newState, false)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the false here referring to? Might be nice to set argument names here so that it's clear.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do in next PR

Comment on lines +178 to +179
onTextChange: (String) -> Unit,
onCloseClicked: () -> Unit,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: We could prefix this with onSearch so that it's clear what they refer to.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Next PR will tackle this too

@dfernandezm dfernandezm merged commit b6c73b2 into master Sep 11, 2023
6 checks passed
@dfernandezm dfernandezm deleted the feature/kmm-search-android branch September 11, 2023 08:06
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.

2 participants