-
Notifications
You must be signed in to change notification settings - Fork 58
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
Full overhaul of the repository #52
base: master
Are you sure you want to change the base?
Conversation
Introduction Android Material Components Migration to Kotlin Migration to AndroidX Android Architecture Navigation: mainly for Safe Arguments Switch to Fragment & Fragment ViewModel instead of single Activity Use of databinding Read Contacts Permission requester integrated Introduction Timber for logging Hilt dependency injection (for viewmodel) Sample App added to showcase the library Configure strings added to arguments Latest version of Android build tools and other dependencies
Excellent stuff Peter... thank you. I sadly have not had the time to work on this anymore and my primary development platform is no longer Android which makes it even harder! I've invited you as a collaborator on the project, please feel free to integrate this changes as you see fit :) |
Hi J,
thank you very much. I'm not yet up to speed on github and the library
build system (android-maven-gradle-plugin) so that will take some more time
to investigate.
Once I have the possibility I will look into this further and try to
prepare a new update! Thanks.
Kind regards,
Peter
…On Wed, 26 Aug 2020 at 21:42, J ***@***.***> wrote:
Excellent stuff Peter... thank you. I sadly have not had the time to work
on this anymore and my primary development platform is no longer Android
which makes it even harder! I've invited you as a collaborator on the
project, please feel free to integrate this changes as you see fit :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#52 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANE6PZFNWHQNEGDPK5TSD3SCTYKVANCNFSM4QLWJVYQ>
.
|
dest.writeTypedList(mPhoneNumbers) | ||
} | ||
|
||
companion object { |
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.
You can use @parcelize to avoid creating all this manually
dest.writeString(number) | ||
} | ||
|
||
companion object { |
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
import kotlin.properties.ReadOnlyProperty | ||
import kotlin.reflect.KProperty | ||
|
||
fun <T> Fragment.viewLifecycleLazy(initialise: () -> T): ReadOnlyProperty<Fragment, T> = object : ReadOnlyProperty<Fragment, T>, DefaultLifecycleObserver { |
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.
Typo in initialise
@@ -0,0 +1,67 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<navigation xmlns:android="http://schemas.android.com/apk/res/android" |
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.
👍
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.
Looks good, just minor comments, not really a blocker apart from the conflicts and should be G2G
Guys, I'm interested on contributing in this repo. @peterhav may I take this branch and solved conflicts? |
Hello, you're welcome to contribute if still interested? Thanks. |
To the developer of this library,
I have been using this library in one of my Android applications and really appreciate it. Recently I have migrated all my sources to Android X and found this library to be the last dependency that was not yet using AndroidX.
After looking at the sources; I've decided to make several more improvements and ended up with the list below:
Updates
I've tried to keep the original code and interface in place where possible. Happy for you to decide if you want to use this or not.
Kind regards,
Peter