Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;
/*
 * The MIT License (MIT)
 * Copyright (c) 2014 longkai
 * The software shall be used for good, not evil.
 */

import android.content.SharedPreferences;

public class Main {

    public static float getLineSpacing(SharedPreferences preferences, String key, String defaultValue) {
        return Float.parseFloat(preferences.getString(key, defaultValue));
    }
}