-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Convert database quickstart to Kotlin #654
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
Conversation
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/MainActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/NewPostActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/NewPostActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/PostDetailActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/PostDetailActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/PostDetailActivity.kt
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/PostDetailActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/PostDetailActivity.kt
Outdated
Show resolved
Hide resolved
...pp/src/main/java/com/google/firebase/quickstart/database/kotlin/fragment/PostListFragment.kt
Outdated
Show resolved
Hide resolved
...pp/src/main/java/com/google/firebase/quickstart/database/kotlin/fragment/PostListFragment.kt
Outdated
Show resolved
Hide resolved
...src/main/java/com/google/firebase/quickstart/database/kotlin/fragment/RecentPostsFragment.kt
Outdated
Show resolved
Hide resolved
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.
Nicely done. Just got a few comments
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/MainActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/NewPostActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/NewPostActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/NewPostActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/NewPostActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/PostDetailActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/PostDetailActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/PostDetailActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/SignInActivity.kt
Outdated
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/SignInActivity.kt
Show resolved
Hide resolved
database/app/src/main/java/com/google/firebase/quickstart/database/kotlin/SignInActivity.kt
Outdated
Show resolved
Hide resolved
...pp/src/main/java/com/google/firebase/quickstart/database/kotlin/fragment/PostListFragment.kt
Show resolved
Hide resolved
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.
Added some comments, mostly nits
...pp/src/main/java/com/google/firebase/quickstart/database/kotlin/fragment/PostListFragment.kt
Outdated
Show resolved
Hide resolved
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.
Nothing major, good to merge!
Change-Id: Ifcb9ce439a1c3e383e11f75b3c5e159af1e5c6b8
Change-Id: I0f9de2781911366c29045fa1a312e97e019d5632
Change-Id: Iec50975804fd214827c63f36a0e617bf0509f64d
Change-Id: I9ac66f5c5f1bfe085b76e570a5c26c0d5dc785b0
Change-Id: Ic4b4315a504784432ffbf244e3086fe3c7b92590
d8c66b4 to
f1cfcde
Compare
|
@the-dagger hey the lint check found some errors in this PR (after I rebased) so, success! |
Change-Id: Ifcd9fda9e72eb9634b5c619f08b8fdf06274cb26
|
Woot! 💯 I've used it earlier and it's super helpful for monitoring common mistakes in pull requests. |
|
I've got to check the permissions on codacy, in general I like checks like
that but sometimes they require access to see the whole org. We have some
private repos.
…On Tue, Sep 11, 2018, 4:49 PM Harshit Dwivedi ***@***.***> wrote:
Woot! 💯
I too noticed some super helpful errors while converting the app-indexing
quickstarters.
I think that we should add more lint checks, also what do you think about
adding Codacy to the project?
https://www.codacy.com/
I've used it earlier and it's super helpful for monitoring common mistakes
in pull requests.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#654 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIEw6qTDu9zZ8mydME2QEVrXYGPbg9WDks5uaEwAgaJpZM4WiTw3>
.
|
|
Ah I see. |
|
@the-dagger yeah they use the broad permissions: I'm sure they never would, but granting read and write access means they could nuke all of our samples and snippets! So for now, no Codacy. |

Fixes #628
This was a pretty big one!