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.sample;
//w ww .  j  a v  a2s . c  o  m
import android.content.Context;

import com.github.fernandodev.androidproperties.lib.AssetsProperties;
import com.github.fernandodev.androidproperties.lib.Property;

/**
 * Created by fernando on 9/11/14.
 */
public class Config extends AssetsProperties {

  @Property int max;
  @Property("rate_value") float rateValue;
  @Property double temperature;
  @Property String message;
  @Property boolean condition;

  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