Android Open Source - Webby Webby






From Project

Back to project page Webby.

License

The source code is released under:

MIT License

If you think the Android project Webby 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.swampmobile.webby;
//w  w  w .  j ava  2s.c om
import com.squareup.otto.Bus;
import com.squareup.otto.ThreadEnforcer;

import retrofit.RestAdapter;

/**
 * Webby system configuration object.
 */
public class Webby
{
    private static RestAdapter.LogLevel retrofitLogLevel = RestAdapter.LogLevel.NONE;
    private static final Bus bus = new Bus(ThreadEnforcer.ANY);

    public static RestAdapter.LogLevel getRetrofitLogLevel()
    {
        return retrofitLogLevel;
    }

    public static void setRetrofitLoggingLevel(RestAdapter.LogLevel retrofitLogLevel)
    {
        Webby.retrofitLogLevel = retrofitLogLevel;
    }

    public static Bus getBus()
    {
        return bus;
    }
}




Java Source Code List

com.swampmobile.webby.WebbyManager.java
com.swampmobile.webby.Webby.java
com.swampmobile.webby.examples.activities.MainActivity.java
com.swampmobile.webby.examples.activities.WebbyActivity.java
com.swampmobile.webby.examples.activities.WebbyFragmentActivity.java
com.swampmobile.webby.examples.apis.FeedzillaApi.java
com.swampmobile.webby.examples.fragments.WebbyFragment.java
com.swampmobile.webby.examples.requests.TestWebbyRequest.java
com.swampmobile.webby.requests.WebbyRequest.java
com.swampmobile.webby.requests.WebbyResponse.java
com.swampmobile.webby.services.WebbyService.java
com.swampmobile.webby.util.cache.DataCache.java
com.swampmobile.webby.util.cache.FlatFileDataCache.java
com.swampmobile.webby.util.logging.WebbyLog.java
com.swampmobile.webby.util.time.Duration.java