Android Open Source - android-properties Config






From Project

Back to project page android-properties.

License

The source code is released under:

Apache License

If you think the Android project android-properties listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.github.fernandodev.androidproperties.lib;
/*from  ww  w .j  a  va2  s. co  m*/
import android.content.Context;

/**
 * Created by fernando on 9/13/14.
 */
public class Config extends AssetsProperties {
  @Property("my_message") String myMessage;
  @Property double tax;
  @Property("max_messages") int maxMessages;
  @Property boolean flag;
  @Property float rate;

  public Config(Context context) {
    super(context);
  }
}




Java Source Code List

com.github.fernandodev.androidproperties.lib.AssetsPropertiesTest.java
com.github.fernandodev.androidproperties.lib.AssetsProperties.java
com.github.fernandodev.androidproperties.lib.ConfigTest.java
com.github.fernandodev.androidproperties.lib.Config.java
com.github.fernandodev.androidproperties.lib.Property.java
com.github.fernandodev.androidproperties.sample.AnotherConfig.java
com.github.fernandodev.androidproperties.sample.Config.java
com.github.fernandodev.androidproperties.sample.MainActivity.java