-
Notifications
You must be signed in to change notification settings - Fork 46
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
Refactor to AndroidX support library v1.0.0-alpha1 #146
Comments
According to the AndroidX refactoring page the new version number will be 1.0.0(-alpha1 for now). This will result in a new artifact ( |
@Gericop I have now upgraded my project to Android X, but the code has got an error Can now use |
It's gonna be |
Now that When can I use |
In the next few days probably. |
Ok. |
Sorry, I had a lot to do recently. It's gonna be out only next Tuesday (May 22). |
Ok. |
Any update? |
It's work in progress. This week has been a bit busy unfortunately. |
So, I've finally started working on the refactor (first the DateTimePicker and ColorPicker sublibs). Updates coming soon in a new repo. |
Meanwhile what about 28.0.0-alpha3? |
Work in progress now. |
The AndroidX version is available now. Check out https://bintray.com/takisoft/android for the available modules. Note that it has some breaking changes, like the missing |
I think we can close this for now. |
I'll leave this open until the lib's AndroidX version is released to the master branch and the repo is transferred to its new place. Just a few more days (probably Monday). |
any update on that? AndroidX has now a rc version. |
@divadsn Not much. You can use the AndroidX version, however, from the link mentioned above (https://bintray.com/takisoft/android) by adding these to your gradle file: implementation 'androidx.preference:preference:1.0.0-rc02'
implementation 'com.takisoft.preferencex:preferencex:1.0.0-alpha2' |
The AndroidX 1.0.0 and the 28.0.0 are now stable. Looking forward to upgrade my app ;) |
Yeah, probably will publish the final version of the support lib (28.0.0.0) on Monday and AndroidX 1.0.0 the same or the next day. |
@RocketRider v28.0.0.0 is out. AndroidX has to wait til tomorrow. |
The AndroidX version is basically ready to roll, however, I need to wait until the two external packages (ColorPicker and DateTimePicker) are available on jcenter. |
1.0.0 is available on jcenter. Thanks for the patience, and everyone who contributed, especially @Mygod. Use this to add it to your project: implementation 'androidx.preference:preference:1.0.0'
implementation 'com.takisoft.preferencex:preferencex:1.0.0'
|
@Gericop I updated the library as you recommended previously. However, Android Studio is not finding the @style/PreferenceFixTheme on my style.xml file. Do you know about this problem? |
@andreluizreis That theme is no longer needed, thus it was removed. Just use a regular |
@Gericop , I changed the theme to I continue to use the Could you please give an explanation with the differences between the new library and the current rep. documentation? |
@andreluizreis Could you open a separate issue with the stack trace and some details, like the version of Android? I cannot reproduce the issue. |
Yes. I will do tomorrow. Thanks for helping me. |
@Gericop My app is not giving that error anymore. I can run it now without crash but I don't see any difference with your fix and without it. The items are showing with the wrong indentation. Title
|
@andreluizreis Are you talking about the icon space before the preferences (marked with red rectangle in the picture below)? |
@andreluizreis Open a new issue and post your XML file as well as this image. Your category elements seem weird. |
@Gericop Ok. I posted now. |
No description provided.
The text was updated successfully, but these errors were encountered: