Giter VIP home page Giter VIP logo

simple-settings's Introduction



Hi, I'm Marc. Compiler Engineer at SAP and Software and OpenSource enthusiast. Thanks for visiting my GitHub profile!

🚀 Latest releases for projects I've contributed to

👨‍💻 Repositories I created recently

GitHub stats

simple-settings's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar marcauberer avatar timauberer 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

Watchers

 avatar  avatar  avatar

simple-settings's Issues

Could not find com.github.ibrahimsn98:live-preferences:1.9.

After i add implementation 'com.chillibits:simplesettings:1.2.0' to my app build.gradle, i get this error when i try to compile:

Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
   > Could not find com.github.ibrahimsn98:live-preferences:1.9.
     Required by:
         project :app > com.chillibits:simplesettings:1.2.0

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Maven repository is added:

allprojects {
    repositories {
        google()
        jcenter()

        maven { url "https://repo.chillibits.com/artifactory/android" }
    }
}

Also i start to get a Plugin version (1.4.31) is not the same as library version (1.4.21) warning for some reason. Right after i add this implementation.

Loading strings etc. in show stub not working

Loading string resources does not work within the show stub. The reason for that is, that the strings are loaded in the context of the settings screen and not the source context.

SimpleSettings(this, config).show {
   Section {
      title = getString(R.string.about)
      TextPref {
         title = getString(R.string.colorconverter_on_github)
         summary = getString(R.string.tap_to_visit_us_on_github)
         onClick = WebsiteClickListener(this@MainActivity, getString(R.string.url_github))
      }
   }
}

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.