Android Open Source - ShareManager R E S T Function






From Project

Back to project page ShareManager.

License

The source code is released under:

Copyright (c) 2013, Nelspike All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Red...

If you think the Android project ShareManager 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 share.manager.utils;
//from   w w w  .j  a v  a  2 s  . c o m
public enum RESTFunction {
  GET_COMPANY_STOCK(1), GET_COMPANY_RANGE_STOCK(2), GET_COMPANY_STOCK_PORTFOLIO(
      3), GET_COMPANY_RANGE_STOCK_PORTFOLIO(4), GET_COMPANY_NAMES(5), VALIDITY_CHECK(
      6), NONE(-1);

  private final int what;

  private RESTFunction(int s) {
    what = s;
  }

  public boolean equalsName(int otherWhat) {
    return (otherWhat == -1) ? false : what == otherWhat;
  }

  public int toInt() {
    return what;
  }
}




Java Source Code List

share.manager.adapters.CompanyAdapter.java
share.manager.adapters.DialogAdapter.java
share.manager.adapters.MainPagerAdapter.java
share.manager.adapters.SharesAdapter.java
share.manager.connection.ConnectionRunnable.java
share.manager.connection.ConnectionThread.java
share.manager.fragments.MineFragment.java
share.manager.fragments.PortfolioFragment.java
share.manager.fragments.SharesFragment.java
share.manager.listeners.ShareTabListener.java
share.manager.listeners.SwipeListener.java
share.manager.stock.CompanyActivity.java
share.manager.stock.MainActivity.java
share.manager.stock.ResultsActivity.java
share.manager.stock.SettingsActivity.java
share.manager.stock.ShareManager.java
share.manager.utils.CompanyGraphicsBuilder.java
share.manager.utils.FileHandler.java
share.manager.utils.GraphType.java
share.manager.utils.RESTFunction.java
share.manager.utils.ShareUtils.java
share.manager.utils.SharesGraphicsBuilder.java