Friday, December 9, 2022

PYDroid 26

PYDroid 26 is being published which brings some significant API changes.

First, the hard requirement of having to extend an Application class to install PYDroid, and use the PYDroidActivity base class is gone. Now instead, you can install PYDroid into your application using the Application.installPYDroid extension function, and you can extend your own BaseActivity and use AppCompatActivity.installPYDroid() to initialize it's UI bits.

This should help developers implement PYDroid into their own applications more easily, as we no longer have a hard dependency on PYDroid existing as a BaseActivity.

Future work in 26.1.0 will refactor pydroid-inject to use an explicit object graph instead of overriding getSystemService in a very hacky way. This will help reduce crashes from bad system graph initializations, and should further remove our dependency on very specifically structured Android code.

PYDroid 26 will be present in all pyamsoft application updates, which will be hitting a Play Store near you hopefully in the next week or so.

Happy Holidays!

Stay tuned...

========================
Follow pyamsoft around the Web for updates and announcements about the newest applications!
Like what I do?

Send me an email at: pyam.soft@gmail.com
Or find me online at: https://pyamsoft.blogspot.com

Follow my Facebook Page
Check out my code on GitHub
=========================