Giter VIP home page Giter VIP logo

easysettings's People

Contributors

or-dvir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

easysettings's Issues

Importing with jitpack

I was unable to import the project following the description:

implementation 'com.github.or-dvir.EasySettings:easysettings-basic:1.1.3
implementation 'com.github.or-dvir.EasySettings:easysettings-dialogs:1.1.3

but it worked like this:

implementation 'com.github.or-dvir.EasySettings:1.1.3

Any idea why this is the case? Thanks

Index of bound when HeaderSettingsObject is the first element in array

Hello,

played around with EasySettings today and I really like it. Found a crash when HeaderSettingsObject is the first element in array. To reproduce use:

mySettingsList = EasySettings.createSettingsArray(
                new HeaderSettingsObject.Builder("this will cause index of bound")
                        .build(),
                new CheckBoxSettingsObject.Builder("checkBoxKey", "checkbox title", false)
                        .setSummary("checkbox summary")
                        .addDivider()
                        .build());

Change text color

Hey, thanks for the library.
I'm using a dark theme for my app, so i need to use custom colored text. How can i do that?

Linked settings

Hello,
first, thanks for this library. It makes settings management much easier !
I'd like to link settings.
For example :

  • setting1 (checkbox)
  • setting2 (text)

I'd liked to gray/disable setting2 if setting1 is not enabled.

How can I do that ?
I found nothing in the example or the documentation.

Thanks

Suggestion: Overload setIcon to accept drawable

Hello,

I may have overlooked something but, when building the array, it would be tremendously helpful to overload the setIcon method to accept also a drawable instead of only a resource id like:

new BasicSettingsObject.Builder(SETTINGS_KEY_EXAMPLE, getString(R.string.pref_example))
                .setIcon(new ExampleDrawable(this).icon(ExampleDrawable.MyIconName))
                .build() 

As a workaround one can dig into the image view to achieve this:

View root = findViewById(settingsObject.getRootId());
ImageView imageView = root.findViewById(settingsObject.getImageViewIconId());
imageView.setImageDrawable(drawable);

Store data in sqlite

It would be useful to store data in a sqlite database
Is it possible to integrate external saving ?

Issue: No subscriber event found

All the things are working properly while I was working locally. But When I uploaded the app on play store the app got crashed when Setting Activity was opened, showing the issue of no Subscriber event found.

Then I found that because I enabled the proguard, it removed the subscriber methods because It was unused as we don't have to call it anywhere in the Activity. Also, I can't disable proguard.
Is there anything that can help?

Dependency on eventbus is not good idea for a library

I like the project but, a library, ideally, should have not external dependencies, or the less possible.

Eventbus is a library that imposes a pattern so it will make difficult adoption. On the other hand, it looks an unnecessary dependency IMHO.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.