preferences-helper | lightweight library for config | Configuration Management library

 by   tntkhang Java Version: 1.1.0 License: No License

kandi X-RAY | preferences-helper Summary

kandi X-RAY | preferences-helper Summary

preferences-helper is a Java library typically used in Devops, Configuration Management applications. preferences-helper has no bugs, it has no vulnerabilities, it has build file available and it has low support. You can download it from GitHub, Maven.

A lightweight library for config and using SharedPreferences

            kandi-support Support

              preferences-helper has a low active ecosystem.
              It has 23 star(s) with 7 fork(s). There are 3 watchers for this library.
              It had no major release in the last 12 months.
              preferences-helper has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of preferences-helper is 1.1.0

            kandi-Quality Quality

              preferences-helper has 0 bugs and 0 code smells.

            kandi-Security Security

              preferences-helper has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              preferences-helper code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              preferences-helper does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              preferences-helper releases are not available. You will need to build from source code and install.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed preferences-helper and discovered the below as its top functions. This is intended to give you an instant insight into preferences-helper implemented functionality, and help decide if they suit your requirements.
            • Called when the activity is created
            • Set value to preferences
            • Get an array value
            • Get values from preferences
            • Initialize the preference
            • Init the PrefHelper
            • Remove all keys
            • Gets the PrefHelper
            • Checks if the preferences contain a key
            • Gets all preferences
            • Registers a listener for when a shared preference changes
            • Removes prefs
            • Unregister a listener for shared preferences
            Get all kandi verified functions for this library.

            preferences-helper Key Features

            No Key Features are available at this moment for preferences-helper.

            preferences-helper Examples and Code Snippets

            SET VALUE:
            Javadot img1Lines of Code : 26dot img1no licencesLicense : No License
            copy iconCopy
                    PrefHelper.setVal(KEY_BOOLEAN, true);
                    PrefHelper.setVal(KEY_DOUBLE, 123.123);
                    PrefHelper.setVal(KEY_FLOAT, 234.234f);
                    PrefHelper.setVal(KEY_INT, 345);
                    PrefHelper.setVal(KEY_LONG, Long.MAX_VALUE);
            GET VALUE:
            Javadot img2Lines of Code : 12dot img2no licencesLicense : No License
            copy iconCopy
            boolean booleanValue = PrefHelper.getBooleanVal(KEY_BOOLEAN, false);
            double doubleValue = PrefHelper.getDoubleVal(KEY_DOUBLE, Double.MIN_VALUE);
            float floatValue = PrefHelper.getFloatVal(KEY_FLOAT, Float.MIN_VALUE);
            int intValue = PrefHelper.getIntVa  
            Javadot img3Lines of Code : 1dot img3no licencesLicense : No License
            copy iconCopy
            implementation 'com.github.tntkhang:preferences-helper:1.3.2'

            Community Discussions


            Button Link library in Bintray to jCenter not available
            Asked 2017-Dec-26 at 08:28

            Could you please help me how to Link Bintray Library to jCenter.

            I research a lot and found that we have to be an OSS or Premium account to Update. I also create an Issue on and also get a response.

            I also config the OSS account link into bintray account but couldn't see Link To jCenter button.

            Library URL:

            Below a screenshot, could you please take a look and guide me what wrong with my configuration.



            Answered 2017-Dec-26 at 08:28

            Finally, I found the problem is my Account is Trial Account, so I delete it and re-create it with the "oss" and then setups project the same with the previous and I can add it to jCenter.



            Unable to compile under Android Studio 3.0 Canary 1
            Asked 2017-Nov-08 at 12:50

            I attempt to compile my Android project under AS 3.0 Canary 1 (it works fine on AS 2.3.2 stable version) but failed with the following error:



            Answered 2017-May-22 at 08:30

            I am seeing the "Execution failed for task" error starting with Android studio 2.4 and now 3.0 canary running on my Win7 PC. What seems to help for me is to run Task Manager and then kill the java.exe process. The build runs through cleanly after that for me.


            Community Discussions, Code Snippets contain sources that include Stack Exchange Network


            No vulnerabilities reported

            Install preferences-helper

            Init the PreferencesHelper in your extend from Application with 2 ways:.
            Add to build.gradle in app level
            Init the PreferencesHelper in your extend from Application with 2 ways: Will use app name as of Preferences file name PrefHelper.initHelper(this); Will use CustomName as the name of SharePreferences file PrefHelper.initHelper(this, "CustomName");
            How to use SET VALUE:


            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
          • HTTPS


          • CLI

            gh repo clone tntkhang/preferences-helper

          • sshUrl


          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Configuration Management Libraries


            by mathiasbynens


            by hashicorp


            by spf13


            by Netflix


            by kelseyhightower

            Try Top Libraries by tntkhang


            by tntkhangJava


            by tntkhangJava


            by tntkhangJava


            by tntkhangJava