On VS persista

Compare On vs persista and see what are their differences.

On

Kotlin Dependency Injection with zero setup and zero boilerplate code (by Queatz)

persista

Small kotlin library for persisting _single instances_ of kotlin data classes (by erdo)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
On persista
1 4
9 7
- -
2.7 5.9
about 2 years ago 20 days ago
Kotlin Kotlin
- Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

On

Posts with mentions or reviews of On. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-31.

persista

Posts with mentions or reviews of persista. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-31.
  • Any good examples of manual dependency injection?
    4 projects | /r/androiddev | 31 Jan 2022
    I use manual DI whenever I don't want to force Koin or Dagger on a project, or I want to keep things super simple. This method gives you either single instance or factory, no lazy initialization, and no scoping (you'd have to add the ViewModel scoped stuff) simple app that has it: https://github.com/erdo/persista/tree/main/example-app/src/main/java/foo/bar/example (dependencies constructed here): https://github.com/erdo/persista/blob/main/example-app/src/main/java/foo/bar/example/OG.kt (getting the dependencies into your UI here): https://github.com/erdo/persista/blob/main/example-app/src/main/java/foo/bar/example/ui/wallet/WalletsActivity.kt ``` private val wallet: Wallet = OG[Wallet::class.java] ``` another larger app example: https://github.com/erdo/apollo3-android-sample It looks quite like a ServiceLocator but the difference is these things are not statically referenced and can easily be mocked in tests
  • New Android Dev Sanity Check
    1 project | /r/androiddev | 29 Jun 2021
    If you actually want to serialize your data structures to a json file, I wrote a library to do it here https://github.com/erdo/persista bit it's really just one class, feel free to copy bits of it
  • Do you use SharedPreferences?
    2 projects | /r/androiddev | 26 Jun 2021
    I ended up doing something similar to store data classes because I wanted something in pure kotlin ( https://github.com/erdo/persista no encryption though).
  • library to persistently store kotlin data classes
    1 project | /r/androiddev | 15 May 2021
    I did a library, it lets you store single instances of kotlin data classes persistently with not much effort / boilerplate https://github.com/erdo/persista

What are some alternatives?

When comparing On and persista you can also consider the following projects:

androidx - Development environment for Android Jetpack extension libraries under the androidx namespace. Synchronized with Android Jetpack's primary development branch on AOSP.

leakcanary - A memory leak detection library for Android.