Has android KTX been deprecated completely or only some parts or extensions?

679 Views Asked by At

After reading the announcement that android KTX is now deprecated, I have been reading about the alternatives and find a confusing point.

Have all KTX modules been deprecated or only some of them such as synthetic, serialized, etc?

sharedPreferences.edit {
    putBoolean("key", value)
}

Or the way of working with collections?

I enter the official KTX documentation and see no deprecation notice.

I give an example, has the way of writing sharedpreferences been deprecated with KTX?

I would be very grateful for a confirmation of all this.

1

There are 1 best solutions below

1
On BEST ANSWER

The Kotlin Android Extensions compiler plugin will be deprecated not the Android KTX. More information you can get here.