Java Code Examples for net.bither.bitherj.BitherjSettings#getMarketType()
The following examples show how to use
net.bither.bitherj.BitherjSettings#getMarketType() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: UserPreference.java From bither-desktop-java with Apache License 2.0 | 5 votes |
private MarketType getMarketType() { int orderValue = getInt(DEFAULT_MARKET, -1); if (orderValue == -1) { return null; } int type = orderValue + 1; return BitherjSettings.getMarketType(type); }
Example 2
Source File: AppSharedPreference.java From bither-android with Apache License 2.0 | 5 votes |
private MarketType getMarketType() { int orderValue = this.mPreferences.getInt(DEFAULT_MARKET, -1); if (orderValue == -1) { return null; } int type = orderValue + 1; return BitherjSettings.getMarketType(type); }
Example 3
Source File: UserPreference.java From bither-desktop-java with Apache License 2.0 | 5 votes |
private MarketType getMarketType() { int orderValue = getInt(DEFAULT_MARKET, -1); if (orderValue == -1) { return null; } int type = orderValue + 1; return BitherjSettings.getMarketType(type); }