realm / realm-android-adapters

Adapters for combining Realm Java with Android UI components and framework classes
realm.io
Apache License 2.0
414 stars 134 forks source link

Refector Android Support to AndroidX #147

Closed cyberdean closed 4 years ago

cyberdean commented 6 years ago

Goal

Refector Android Support to AndroidX https://developer.android.com/topic/libraries/support-library/refactor

Expected Results

Usage of AndroidX

Actual Results

Android Support v7, ...

cmelchior commented 6 years ago

Yes, we should do this, but probably need to wait until it is stable. In the meantime, there is the automatic dependency translator in Android Studio 3.2-alpha14 as described in https://android-developers.googleblog.com/2018/05/hello-world-androidx.html

AndroFlo commented 6 years ago

I make a PR for this https://github.com/realm/realm-android-adapters/pull/151

gazanfarov commented 6 years ago

How am I supposed to migrate to androidX? Since it's been considered as stable

Yayo-Arellano commented 6 years ago

I updated to androidX and realize my project will not compile anymore. Is it possible to add @AndroFlo PR to the SNAPSHOTS so we can start using/testing??

Grohden commented 5 years ago

@Yayo-Arellano the project will compile fine if you have jetifier enabled, AS will show some lines as "errors" as it doesn't know that jetifier will solve the problems at project compilation

KennyGoers commented 5 years ago

Is this project auto deployed any where any more? I looked at the readme and the current version os way out of date and it appears to SNAPSHOTS haven't built since 3.0.0 in March.

Zhuinden commented 5 years ago

You should use Jetifier for AndroidX support to use libraries that use Support Library stuff.

Realm was totally correct with waiting for AndroidX to be more popular, because Support Library can be used even in AndroidX projects with Jetifier, but AndroidX cannot be used in Support Library-using projects.

cmelchior commented 4 years ago

4.0.0 was released which moved all dependencies to AndroidX