Update package name to match Google Play's developer name

This commit is contained in:
Tanguy Herbron 2018-06-01 19:42:33 +02:00
parent 79484abb83
commit d29f808ca8
51 changed files with 215 additions and 320 deletions

View File

@ -1,4 +1,4 @@
package com.nauk.moodl; package com.herbron.moodl;
import android.content.Context; import android.content.Context;
import android.support.test.InstrumentationRegistry; import android.support.test.InstrumentationRegistry;

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nauk.moodl"> package="com.herbron.moodl">
<uses-feature android:name="android.hardware.fingerprint" <uses-feature android:name="android.hardware.fingerprint"
android:required="false"/> android:required="false"/>
@ -16,7 +16,7 @@
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme"> android:theme="@style/AppTheme">
<activity <activity
android:name="com.nauk.moodl.Activities.HomeActivity" android:name="com.herbron.moodl.Activities.HomeActivity"
android:label="@string/app_name" android:label="@string/app_name"
android:screenOrientation="portrait" android:screenOrientation="portrait"
android:theme="@style/AppTheme.NoActionBar" android:theme="@style/AppTheme.NoActionBar"
@ -28,30 +28,30 @@
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity
android:name="com.nauk.moodl.Activities.SettingsActivity" android:name="com.herbron.moodl.Activities.SettingsActivity"
android:label="@string/title_activity_settings" android:label="@string/title_activity_settings"
android:screenOrientation="portrait" /> android:screenOrientation="portrait" />
<activity <activity
android:name="com.nauk.moodl.Activities.CurrencySelectionActivity" android:name="com.herbron.moodl.Activities.CurrencySelectionActivity"
android:screenOrientation="portrait"> android:screenOrientation="portrait">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value="com.nauk.moodl.Activities.HomeActivity"/> android:value="com.herbron.moodl.Activities.HomeActivity"/>
</activity> </activity>
<activity <activity
android:name="com.nauk.moodl.Activities.RecordTransactionActivity" android:name="com.herbron.moodl.Activities.RecordTransactionActivity"
android:screenOrientation="portrait"> android:screenOrientation="portrait">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value="com.nauk.moodl.Activities.HomeActivity"/> android:value="com.herbron.moodl.Activities.HomeActivity"/>
</activity> </activity>
<activity <activity
android:name="com.nauk.moodl.Activities.CurrencyDetailsActivity" android:name="com.herbron.moodl.Activities.CurrencyDetailsActivity"
android:label="@string/title_activity_currency_details" android:label="@string/title_activity_currency_details"
android:screenOrientation="portrait"> android:screenOrientation="portrait">
<meta-data <meta-data
android:name="android.support.PARENT_ACTIVITY" android:name="android.support.PARENT_ACTIVITY"
android:value="com.nauk.moodl.Activities.HomeActivity"/> android:value="com.herbron.moodl.Activities.HomeActivity"/>
</activity> </activity>
</application> </application>

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.Activities; package com.herbron.moodl.Activities;
import android.content.res.Configuration; import android.content.res.Configuration;
import android.os.Bundle; import android.os.Bundle;

View File

@ -1,76 +1,28 @@
package com.nauk.moodl.Activities; package com.herbron.moodl.Activities;
import android.content.Intent; import android.content.Intent;
import android.graphics.Bitmap; import android.graphics.Bitmap;
import android.graphics.Canvas; import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint; import android.graphics.Paint;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Build; import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.os.Looper;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import android.support.design.widget.AppBarLayout;
import android.support.design.widget.BottomNavigationView; import android.support.design.widget.BottomNavigationView;
import android.support.v4.content.ContextCompat; import android.support.v4.content.ContextCompat;
import android.support.v4.view.ViewPager; import android.support.v4.view.ViewPager;
import android.support.v7.app.ActionBar; import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity; import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.CardView;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.view.LayoutInflater;
import android.view.MenuItem; import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.Transformation;
import android.widget.AbsListView;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.ProgressBar;
import android.widget.TextView;
import android.widget.ViewFlipper;
import com.github.mikephil.charting.charts.BarChart; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.github.mikephil.charting.charts.CandleStickChart; import com.herbron.moodl.DetailsActivityPagerAdapter;
import com.github.mikephil.charting.charts.LineChart; import com.herbron.moodl.MoodlBox;
import com.github.mikephil.charting.data.BarData; import com.herbron.moodl.R;
import com.github.mikephil.charting.data.BarDataSet;
import com.github.mikephil.charting.data.BarEntry;
import com.github.mikephil.charting.data.CandleData;
import com.github.mikephil.charting.data.CandleDataSet;
import com.github.mikephil.charting.data.CandleEntry;
import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.data.LineData;
import com.github.mikephil.charting.data.LineDataSet;
import com.github.mikephil.charting.highlight.Highlight;
import com.github.mikephil.charting.listener.OnChartValueSelectedListener;
import com.nauk.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDataChart;
import com.nauk.moodl.DataManagers.CurrencyData.Trade;
import com.nauk.moodl.DataManagers.CurrencyData.Transaction;
import com.nauk.moodl.DataManagers.DatabaseManager;
import com.nauk.moodl.DataManagers.ExchangeManager.BinanceManager;
import com.nauk.moodl.DataManagers.PreferencesManager;
import com.nauk.moodl.DetailsActivityPagerAdapter;
import com.nauk.moodl.LayoutManagers.TradeListAdapter;
import com.nauk.moodl.LayoutManagers.TransactionListAdapter;
import com.nauk.moodl.MoodlBox;
import com.nauk.moodl.PlaceholderManager;
import com.nauk.moodl.R;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects; import java.util.Objects;
import static com.nauk.moodl.MoodlBox.numberConformer; import static com.herbron.moodl.MoodlBox.numberConformer;
import static com.nauk.moodl.MoodlBox.getDateFromTimestamp;
import static java.lang.Math.abs; import static java.lang.Math.abs;
/**Create a Parcelable**/ /**Create a Parcelable**/

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.Activities; package com.herbron.moodl.Activities;
import android.content.Intent; import android.content.Intent;
import android.os.AsyncTask; import android.os.AsyncTask;
@ -6,8 +6,6 @@ import android.os.Bundle;
import android.os.Looper; import android.os.Looper;
import android.support.v7.app.AppCompatActivity; import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.CardView; import android.support.v7.widget.CardView;
import android.text.TextUtils;
import android.util.Log;
import android.view.View; import android.view.View;
import android.view.Window; import android.view.Window;
import android.view.WindowManager; import android.view.WindowManager;
@ -17,13 +15,13 @@ import android.widget.AdapterView;
import android.widget.ListView; import android.widget.ListView;
import android.widget.SearchView; import android.widget.SearchView;
import com.nauk.moodl.DataManagers.BalanceManager; import com.herbron.moodl.DataManagers.BalanceManager;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDetailsList; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyDetailsList;
import com.nauk.moodl.DataManagers.DatabaseManager; import com.herbron.moodl.DataManagers.DatabaseManager;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.DataManagers.PreferencesManager;
import com.nauk.moodl.LayoutManagers.CurrencyListAdapter; import com.herbron.moodl.LayoutManagers.CurrencyListAdapter;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.Activities.DetailsActivityFragments; package com.herbron.moodl.Activities.DetailsActivityFragments;
import android.graphics.Color; import android.graphics.Color;
import android.graphics.Paint; import android.graphics.Paint;
@ -7,7 +7,6 @@ import android.os.Bundle;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import android.support.annotation.Nullable; import android.support.annotation.Nullable;
import android.support.v4.app.Fragment; import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.MotionEvent; import android.view.MotionEvent;
import android.view.View; import android.view.View;
@ -30,21 +29,19 @@ import com.github.mikephil.charting.data.LineData;
import com.github.mikephil.charting.data.LineDataSet; import com.github.mikephil.charting.data.LineDataSet;
import com.github.mikephil.charting.highlight.Highlight; import com.github.mikephil.charting.highlight.Highlight;
import com.github.mikephil.charting.listener.OnChartValueSelectedListener; import com.github.mikephil.charting.listener.OnChartValueSelectedListener;
import com.nauk.moodl.Activities.CurrencyDetailsActivity; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyDataChart;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDataChart; import com.herbron.moodl.DataManagers.PreferencesManager;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.LayoutManagers.CustomViewPager;
import com.nauk.moodl.LayoutManagers.CustomViewPager; import com.herbron.moodl.MoodlBox;
import com.nauk.moodl.MoodlBox; import com.herbron.moodl.PlaceholderManager;
import com.nauk.moodl.PlaceholderManager; import com.herbron.moodl.R;
import com.nauk.moodl.R;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import static android.icu.text.DateTimePatternGenerator.DAY; import static com.herbron.moodl.MoodlBox.getDateFromTimestamp;
import static com.nauk.moodl.MoodlBox.getDateFromTimestamp; import static com.herbron.moodl.MoodlBox.numberConformer;
import static com.nauk.moodl.MoodlBox.numberConformer;
/** /**
* Created by Tiji on 13/05/2018. * Created by Tiji on 13/05/2018.

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.Activities.DetailsActivityFragments; package com.herbron.moodl.Activities.DetailsActivityFragments;
import android.graphics.PorterDuff; import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter; import android.graphics.PorterDuffColorFilter;
@ -15,12 +15,12 @@ import android.view.ViewGroup;
import android.widget.ProgressBar; import android.widget.ProgressBar;
import android.widget.TextView; import android.widget.TextView;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.DataManagers.PreferencesManager;
import com.nauk.moodl.PlaceholderManager; import com.herbron.moodl.PlaceholderManager;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import static com.nauk.moodl.MoodlBox.numberConformer; import static com.herbron.moodl.MoodlBox.numberConformer;
/** /**
* Created by Tiji on 13/05/2018. * Created by Tiji on 13/05/2018.

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.Activities.DetailsActivityFragments; package com.herbron.moodl.Activities.DetailsActivityFragments;
import android.graphics.PorterDuff; import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter; import android.graphics.PorterDuffColorFilter;
@ -16,15 +16,15 @@ import android.widget.AbsListView;
import android.widget.ListView; import android.widget.ListView;
import android.widget.ProgressBar; import android.widget.ProgressBar;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.CurrencyData.Trade; import com.herbron.moodl.DataManagers.CurrencyData.Trade;
import com.nauk.moodl.DataManagers.CurrencyData.Transaction; import com.herbron.moodl.DataManagers.CurrencyData.Transaction;
import com.nauk.moodl.DataManagers.DatabaseManager; import com.herbron.moodl.DataManagers.DatabaseManager;
import com.nauk.moodl.DataManagers.ExchangeManager.BinanceManager; import com.herbron.moodl.DataManagers.ExchangeManager.BinanceManager;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.DataManagers.PreferencesManager;
import com.nauk.moodl.LayoutManagers.TradeListAdapter; import com.herbron.moodl.LayoutManagers.TradeListAdapter;
import com.nauk.moodl.LayoutManagers.TransactionListAdapter; import com.herbron.moodl.LayoutManagers.TransactionListAdapter;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import java.util.ArrayList; import java.util.ArrayList;
@ -43,7 +43,7 @@ public class Transactions extends Fragment {
private BinanceManager binanceManager; private BinanceManager binanceManager;
private DatabaseManager databaseManager; private DatabaseManager databaseManager;
private TradeListAdapter tradeListAdapter; private TradeListAdapter tradeListAdapter;
private ArrayList<com.nauk.moodl.DataManagers.CurrencyData.Trade> returnedTrades; private ArrayList<com.herbron.moodl.DataManagers.CurrencyData.Trade> returnedTrades;
@Override @Override
public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
@ -83,7 +83,7 @@ public class Transactions extends Fragment {
tradeLayout.addFooterView(loadingFooter); tradeLayout.addFooterView(loadingFooter);
} }
private void drawTradeList(ArrayList<com.nauk.moodl.DataManagers.CurrencyData.Trade> trades) private void drawTradeList(ArrayList<com.herbron.moodl.DataManagers.CurrencyData.Trade> trades)
{ {
if(returnedTrades.size() > 20) if(returnedTrades.size() > 20)
{ {

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.Activities; package com.herbron.moodl.Activities;
import android.content.Intent; import android.content.Intent;
import android.graphics.Bitmap; import android.graphics.Bitmap;
@ -17,12 +17,12 @@ import android.view.WindowManager;
import android.widget.CompoundButton; import android.widget.CompoundButton;
import android.widget.Switch; import android.widget.Switch;
import com.nauk.moodl.Activities.HomeActivityFragments.MarketCapitalization; import com.herbron.moodl.Activities.HomeActivityFragments.MarketCapitalization;
import com.nauk.moodl.Activities.HomeActivityFragments.Overview; import com.herbron.moodl.Activities.HomeActivityFragments.Overview;
import com.nauk.moodl.Activities.HomeActivityFragments.Summary; import com.herbron.moodl.Activities.HomeActivityFragments.Summary;
import com.nauk.moodl.Activities.HomeActivityFragments.Watchlist; import com.herbron.moodl.Activities.HomeActivityFragments.Watchlist;
import com.nauk.moodl.HideBalanceSwitch; import com.herbron.moodl.HideBalanceSwitch;
import com.nauk.moodl.R; import com.herbron.moodl.R;
//Use WilliamChart for charts https://github.com/diogobernardino/WilliamChart //Use WilliamChart for charts https://github.com/diogobernardino/WilliamChart

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.Activities.HomeActivityFragments; package com.herbron.moodl.Activities.HomeActivityFragments;
import android.annotation.SuppressLint; import android.annotation.SuppressLint;
import android.graphics.Bitmap; import android.graphics.Bitmap;
@ -12,7 +12,6 @@ import android.support.v4.widget.DrawerLayout;
import android.support.v4.widget.SwipeRefreshLayout; import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.graphics.Palette; import android.support.v7.graphics.Palette;
import android.text.SpannableString; import android.text.SpannableString;
import android.util.Log;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.MotionEvent; import android.view.MotionEvent;
import android.view.View; import android.view.View;
@ -28,16 +27,16 @@ import com.github.mikephil.charting.data.PieEntry;
import com.github.mikephil.charting.formatter.PercentFormatter; import com.github.mikephil.charting.formatter.PercentFormatter;
import com.github.mikephil.charting.highlight.Highlight; import com.github.mikephil.charting.highlight.Highlight;
import com.github.mikephil.charting.listener.OnChartValueSelectedListener; import com.github.mikephil.charting.listener.OnChartValueSelectedListener;
import com.nauk.moodl.Activities.HomeActivity; import com.herbron.moodl.Activities.HomeActivity;
import com.nauk.moodl.DataManagers.BalanceManager; import com.herbron.moodl.DataManagers.BalanceManager;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDetailsList; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyDetailsList;
import com.nauk.moodl.DataManagers.MarketCapManager; import com.herbron.moodl.DataManagers.MarketCapManager;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.DataManagers.PreferencesManager;
import com.nauk.moodl.LayoutManagers.CustomPieChart; import com.herbron.moodl.LayoutManagers.CustomPieChart;
import com.nauk.moodl.MoodlBox; import com.herbron.moodl.MoodlBox;
import com.nauk.moodl.PlaceholderManager; import com.herbron.moodl.PlaceholderManager;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap; import java.util.HashMap;

View File

@ -1,10 +1,7 @@
package com.nauk.moodl.Activities.HomeActivityFragments; package com.herbron.moodl.Activities.HomeActivityFragments;
import android.graphics.Bitmap; import android.graphics.Bitmap;
import android.graphics.BitmapFactory; import android.graphics.BitmapFactory;
import android.graphics.PorterDuff;
import android.graphics.PorterDuffColorFilter;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask; import android.os.AsyncTask;
import android.support.v4.app.Fragment; import android.support.v4.app.Fragment;
import android.os.Bundle; import android.os.Bundle;
@ -12,26 +9,21 @@ import android.support.annotation.NonNull;
import android.support.v4.view.GravityCompat; import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout; import android.support.v4.widget.DrawerLayout;
import android.support.v7.graphics.Palette; import android.support.v7.graphics.Palette;
import android.util.Log;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.AbsListView; import android.widget.AbsListView;
import android.widget.ExpandableListView;
import android.widget.ImageButton; import android.widget.ImageButton;
import android.widget.LinearLayout;
import android.widget.ListView; import android.widget.ListView;
import android.widget.ProgressBar;
import com.nauk.moodl.Activities.HomeActivity; import com.herbron.moodl.Activities.HomeActivity;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyCardview; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyDetailsList;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDetailsList; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyTickerList;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyTickerList; import com.herbron.moodl.DataManagers.PreferencesManager;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.LayoutManagers.OverviewListAdapter;
import com.nauk.moodl.LayoutManagers.OverviewListAdapter; import com.herbron.moodl.MoodlBox;
import com.nauk.moodl.MoodlBox; import com.herbron.moodl.R;
import com.nauk.moodl.R;
import java.util.List; import java.util.List;

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.Activities.HomeActivityFragments; package com.herbron.moodl.Activities.HomeActivityFragments;
import android.app.Dialog; import android.app.Dialog;
import android.content.Intent; import android.content.Intent;
@ -16,7 +16,6 @@ import android.support.v4.view.GravityCompat;
import android.support.v4.widget.DrawerLayout; import android.support.v4.widget.DrawerLayout;
import android.support.v4.widget.SwipeRefreshLayout; import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.graphics.Palette; import android.support.v7.graphics.Palette;
import android.util.Log;
import android.view.Gravity; import android.view.Gravity;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
@ -27,22 +26,22 @@ import android.widget.LinearLayout;
import android.widget.ProgressBar; import android.widget.ProgressBar;
import android.widget.TextView; import android.widget.TextView;
import com.nauk.moodl.Activities.CurrencySelectionActivity; import com.herbron.moodl.Activities.CurrencySelectionActivity;
import com.nauk.moodl.Activities.HomeActivity; import com.herbron.moodl.Activities.HomeActivity;
import com.nauk.moodl.DataManagers.BalanceManager; import com.herbron.moodl.DataManagers.BalanceManager;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyCardview; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyCardview;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyTickerList; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyTickerList;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.DataManagers.PreferencesManager;
import com.nauk.moodl.HideBalanceSwitch; import com.herbron.moodl.HideBalanceSwitch;
import com.nauk.moodl.MoodlBox; import com.herbron.moodl.MoodlBox;
import com.nauk.moodl.PlaceholderManager; import com.herbron.moodl.PlaceholderManager;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import static com.nauk.moodl.MoodlBox.numberConformer; import static com.herbron.moodl.MoodlBox.numberConformer;
import static java.lang.Math.abs; import static java.lang.Math.abs;
/** /**

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.Activities.HomeActivityFragments; package com.herbron.moodl.Activities.HomeActivityFragments;
import android.content.Intent; import android.content.Intent;
import android.graphics.Bitmap; import android.graphics.Bitmap;
@ -19,23 +19,23 @@ import android.widget.Button;
import android.widget.ImageButton; import android.widget.ImageButton;
import android.widget.LinearLayout; import android.widget.LinearLayout;
import com.nauk.moodl.Activities.CurrencySelectionActivity; import com.herbron.moodl.Activities.CurrencySelectionActivity;
import com.nauk.moodl.Activities.HomeActivity; import com.herbron.moodl.Activities.HomeActivity;
import com.nauk.moodl.DataManagers.BalanceManager; import com.herbron.moodl.DataManagers.BalanceManager;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyCardview; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyCardview;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDetailsList; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyDetailsList;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyTickerList; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyTickerList;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.DataManagers.PreferencesManager;
import com.nauk.moodl.DataManagers.WatchlistManager; import com.herbron.moodl.DataManagers.WatchlistManager;
import com.nauk.moodl.MoodlBox; import com.herbron.moodl.MoodlBox;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import org.json.JSONException; import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;
import static com.nauk.moodl.MoodlBox.collapseW; import static com.herbron.moodl.MoodlBox.collapseW;
import static com.nauk.moodl.MoodlBox.expandW; import static com.herbron.moodl.MoodlBox.expandW;
import static java.lang.Math.abs; import static java.lang.Math.abs;
/** /**

View File

@ -1,9 +1,8 @@
package com.nauk.moodl.Activities; package com.herbron.moodl.Activities;
import android.content.Intent; import android.content.Intent;
import android.os.Bundle; import android.os.Bundle;
import android.support.design.widget.TextInputLayout; import android.support.design.widget.TextInputLayout;
import android.support.v4.app.NavUtils;
import android.support.v7.app.AppCompatActivity; import android.support.v7.app.AppCompatActivity;
import android.util.Log; import android.util.Log;
import android.view.Menu; import android.view.Menu;
@ -16,11 +15,11 @@ import android.widget.EditText;
import android.widget.TextView; import android.widget.TextView;
import android.widget.TimePicker; import android.widget.TimePicker;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.CurrencyData.Transaction; import com.herbron.moodl.DataManagers.CurrencyData.Transaction;
import com.nauk.moodl.DataManagers.DatabaseManager; import com.herbron.moodl.DataManagers.DatabaseManager;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.DataManagers.PreferencesManager;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
import java.util.Calendar; import java.util.Calendar;

View File

@ -1,10 +1,9 @@
package com.nauk.moodl.Activities; package com.herbron.moodl.Activities;
import android.Manifest; import android.Manifest;
import android.annotation.TargetApi; import android.annotation.TargetApi;
import android.app.KeyguardManager; import android.app.KeyguardManager;
import android.content.Context; import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import android.content.pm.PackageManager; import android.content.pm.PackageManager;
import android.content.res.Configuration; import android.content.res.Configuration;
@ -20,7 +19,6 @@ import android.preference.Preference;
import android.preference.PreferenceActivity; import android.preference.PreferenceActivity;
import android.preference.PreferenceFragment; import android.preference.PreferenceFragment;
import android.preference.PreferenceManager; import android.preference.PreferenceManager;
import android.preference.PreferenceScreen;
import android.preference.RingtonePreference; import android.preference.RingtonePreference;
import android.preference.SwitchPreference; import android.preference.SwitchPreference;
import android.security.keystore.KeyGenParameterSpec; import android.security.keystore.KeyGenParameterSpec;
@ -29,15 +27,13 @@ import android.security.keystore.KeyProperties;
import android.support.v4.app.ActivityCompat; import android.support.v4.app.ActivityCompat;
import android.support.v7.app.ActionBar; import android.support.v7.app.ActionBar;
import android.text.TextUtils; import android.text.TextUtils;
import android.util.Log;
import android.view.MenuItem; import android.view.MenuItem;
import android.view.View; import android.view.View;
import com.nauk.moodl.BuildConfig; import com.herbron.moodl.BuildConfig;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.FingerprintToolkit.FingerprintDialogFragment;
import com.nauk.moodl.FingerprintToolkit.FingerprintDialogFragment; import com.herbron.moodl.FingerprintToolkit.FingerprintHandler;
import com.nauk.moodl.FingerprintToolkit.FingerprintHandler; import com.herbron.moodl.R;
import com.nauk.moodl.R;
import java.io.IOException; import java.io.IOException;
import java.security.InvalidAlgorithmParameterException; import java.security.InvalidAlgorithmParameterException;

View File

@ -1,14 +1,14 @@
package com.nauk.moodl.DataManagers; package com.herbron.moodl.DataManagers;
import android.util.Log; import android.util.Log;
import com.android.volley.RequestQueue; import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley; import com.android.volley.toolbox.Volley;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDetailsList; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyDetailsList;
import com.nauk.moodl.DataManagers.ExchangeManager.BinanceManager; import com.herbron.moodl.DataManagers.ExchangeManager.BinanceManager;
import com.nauk.moodl.DataManagers.ExchangeManager.HitBtcManager; import com.herbron.moodl.DataManagers.ExchangeManager.HitBtcManager;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import org.json.JSONException; import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;

View File

@ -1,10 +1,9 @@
package com.nauk.moodl.DataManagers.CurrencyData; package com.herbron.moodl.DataManagers.CurrencyData;
import android.graphics.Bitmap; import android.graphics.Bitmap;
import android.graphics.Color; import android.graphics.Color;
import android.os.Parcel; import android.os.Parcel;
import android.os.Parcelable; import android.os.Parcelable;
import android.util.Log;
import org.json.JSONException; import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.DataManagers.CurrencyData; package com.herbron.moodl.DataManagers.CurrencyData;
import android.app.Activity; import android.app.Activity;
import android.app.ActivityOptions; import android.app.ActivityOptions;
@ -12,12 +12,10 @@ import android.os.Build;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import android.support.v4.content.ContextCompat; import android.support.v4.content.ContextCompat;
import android.support.v7.widget.CardView; import android.support.v7.widget.CardView;
import android.util.Log;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.ImageView; import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ProgressBar; import android.widget.ProgressBar;
import android.widget.TextView; import android.widget.TextView;
@ -25,21 +23,19 @@ import com.github.mikephil.charting.charts.LineChart;
import com.github.mikephil.charting.data.Entry; import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.data.LineData; import com.github.mikephil.charting.data.LineData;
import com.github.mikephil.charting.data.LineDataSet; import com.github.mikephil.charting.data.LineDataSet;
import com.nauk.moodl.Activities.CurrencyDetailsActivity; import com.herbron.moodl.Activities.CurrencyDetailsActivity;
import com.nauk.moodl.Activities.HomeActivityFragments.Summary; import com.herbron.moodl.DataManagers.DatabaseManager;
import com.nauk.moodl.DataManagers.DatabaseManager; import com.herbron.moodl.DataManagers.PreferencesManager;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.MoodlBox;
import com.nauk.moodl.MoodlBox; import com.herbron.moodl.PlaceholderManager;
import com.nauk.moodl.PlaceholderManager; import com.herbron.moodl.R;
import com.nauk.moodl.R;
import java.text.DecimalFormat;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import static com.nauk.moodl.MoodlBox.collapseH; import static com.herbron.moodl.MoodlBox.collapseH;
import static com.nauk.moodl.MoodlBox.expandH; import static com.herbron.moodl.MoodlBox.expandH;
import static com.nauk.moodl.MoodlBox.numberConformer; import static com.herbron.moodl.MoodlBox.numberConformer;
/** /**
* Created by Tiji on 12/05/2018. * Created by Tiji on 12/05/2018.

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.DataManagers.CurrencyData; package com.herbron.moodl.DataManagers.CurrencyData;
import android.os.Parcel; import android.os.Parcel;
import android.os.Parcelable; import android.os.Parcelable;

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.DataManagers.CurrencyData; package com.herbron.moodl.DataManagers.CurrencyData;
import android.util.Log; import android.util.Log;
@ -8,7 +8,7 @@ import com.android.volley.Response;
import com.android.volley.VolleyError; import com.android.volley.VolleyError;
import com.android.volley.toolbox.StringRequest; import com.android.volley.toolbox.StringRequest;
import com.android.volley.toolbox.Volley; import com.android.volley.toolbox.Volley;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import org.json.JSONException; import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.DataManagers.CurrencyData; package com.herbron.moodl.DataManagers.CurrencyData;
import android.content.Context; import android.content.Context;
import android.os.StrictMode; import android.os.StrictMode;
@ -10,8 +10,7 @@ import com.android.volley.Response;
import com.android.volley.VolleyError; import com.android.volley.VolleyError;
import com.android.volley.toolbox.StringRequest; import com.android.volley.toolbox.StringRequest;
import com.android.volley.toolbox.Volley; import com.android.volley.toolbox.Volley;
import com.nauk.moodl.DataManagers.BalanceManager; import com.herbron.moodl.DataManagers.BalanceManager;
import com.nauk.moodl.R;
import org.json.JSONException; import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;

View File

@ -1,7 +1,6 @@
package com.nauk.moodl.DataManagers.CurrencyData; package com.herbron.moodl.DataManagers.CurrencyData;
import android.content.Context; import android.content.Context;
import android.util.Log;
import com.android.volley.Request; import com.android.volley.Request;
import com.android.volley.RequestQueue; import com.android.volley.RequestQueue;
@ -9,8 +8,8 @@ import com.android.volley.Response;
import com.android.volley.VolleyError; import com.android.volley.VolleyError;
import com.android.volley.toolbox.StringRequest; import com.android.volley.toolbox.StringRequest;
import com.android.volley.toolbox.Volley; import com.android.volley.toolbox.Volley;
import com.nauk.moodl.Activities.HomeActivityFragments.Overview; import com.herbron.moodl.Activities.HomeActivityFragments.Overview;
import com.nauk.moodl.DataManagers.BalanceManager; import com.herbron.moodl.DataManagers.BalanceManager;
import org.json.JSONArray; import org.json.JSONArray;
import org.json.JSONException; import org.json.JSONException;

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.DataManagers.CurrencyData; package com.herbron.moodl.DataManagers.CurrencyData;
/** /**
* Created by Guitoune on 24/04/2018. * Created by Guitoune on 24/04/2018.

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.DataManagers.CurrencyData; package com.herbron.moodl.DataManagers.CurrencyData;
/** /**
* Created by Guitoune on 30/01/2018. * Created by Guitoune on 30/01/2018.

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.DataManagers; package com.herbron.moodl.DataManagers;
import android.content.ContentValues; import android.content.ContentValues;
import android.content.Context; import android.content.Context;
@ -6,8 +6,8 @@ import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase; import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper; import android.database.sqlite.SQLiteOpenHelper;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.CurrencyData.Transaction; import com.herbron.moodl.DataManagers.CurrencyData.Transaction;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;

View File

@ -1,6 +1,4 @@
package com.nauk.moodl.DataManagers.ExchangeManager; package com.herbron.moodl.DataManagers.ExchangeManager;
import android.util.Log;
import com.binance.api.client.BinanceApiClientFactory; import com.binance.api.client.BinanceApiClientFactory;
import com.binance.api.client.BinanceApiRestClient; import com.binance.api.client.BinanceApiRestClient;
@ -8,10 +6,9 @@ import com.binance.api.client.domain.account.Account;
import com.binance.api.client.domain.account.AssetBalance; import com.binance.api.client.domain.account.AssetBalance;
import com.binance.api.client.domain.account.Trade; import com.binance.api.client.domain.account.Trade;
import com.binance.api.client.exception.BinanceApiException; import com.binance.api.client.exception.BinanceApiException;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap;
import java.util.List; import java.util.List;
/** /**
@ -24,7 +21,7 @@ public class BinanceManager {
private String privateKey; private String privateKey;
private List<Currency> balance; private List<Currency> balance;
private ArrayList<com.nauk.moodl.DataManagers.CurrencyData.Trade> trades; private ArrayList<com.herbron.moodl.DataManagers.CurrencyData.Trade> trades;
private List<String> pairSymbolList; private List<String> pairSymbolList;
public BinanceManager(String publicKey, String privateKey) public BinanceManager(String publicKey, String privateKey)
@ -102,10 +99,10 @@ public class BinanceManager {
} }
public List<com.nauk.moodl.DataManagers.CurrencyData.Trade> updateTrades(String symbol, String pairSymbol) public List<com.herbron.moodl.DataManagers.CurrencyData.Trade> updateTrades(String symbol, String pairSymbol)
{ {
List<Trade> presentTrades = new ArrayList<>(); List<Trade> presentTrades = new ArrayList<>();
List<com.nauk.moodl.DataManagers.CurrencyData.Trade> customTrades = new ArrayList<>(); List<com.herbron.moodl.DataManagers.CurrencyData.Trade> customTrades = new ArrayList<>();
BinanceApiClientFactory factory = BinanceApiClientFactory.newInstance(publicKey, privateKey); BinanceApiClientFactory factory = BinanceApiClientFactory.newInstance(publicKey, privateKey);
BinanceApiRestClient client = factory.newRestClient(); BinanceApiRestClient client = factory.newRestClient();
@ -127,17 +124,17 @@ public class BinanceManager {
for(int i = 0; i < presentTrades.size(); i++) for(int i = 0; i < presentTrades.size(); i++)
{ {
customTrades.add(new com.nauk.moodl.DataManagers.CurrencyData.Trade(symbol, pairSymbol, presentTrades.get(i))); customTrades.add(new com.herbron.moodl.DataManagers.CurrencyData.Trade(symbol, pairSymbol, presentTrades.get(i)));
} }
return customTrades; return customTrades;
} }
public List<com.nauk.moodl.DataManagers.CurrencyData.Trade> updateTrades(String symbol, String pairSymbol, long fromId) public List<com.herbron.moodl.DataManagers.CurrencyData.Trade> updateTrades(String symbol, String pairSymbol, long fromId)
{ {
List<Trade> presentTrades = new ArrayList<>(); List<Trade> presentTrades = new ArrayList<>();
List<com.nauk.moodl.DataManagers.CurrencyData.Trade> customTrades = new ArrayList<>(); List<com.herbron.moodl.DataManagers.CurrencyData.Trade> customTrades = new ArrayList<>();
BinanceApiClientFactory factory = BinanceApiClientFactory.newInstance(publicKey, privateKey); BinanceApiClientFactory factory = BinanceApiClientFactory.newInstance(publicKey, privateKey);
BinanceApiRestClient client = factory.newRestClient(); BinanceApiRestClient client = factory.newRestClient();
@ -159,7 +156,7 @@ public class BinanceManager {
for(int i = 0; i < presentTrades.size(); i++) for(int i = 0; i < presentTrades.size(); i++)
{ {
customTrades.add(new com.nauk.moodl.DataManagers.CurrencyData.Trade(symbol, pairSymbol, presentTrades.get(i))); customTrades.add(new com.herbron.moodl.DataManagers.CurrencyData.Trade(symbol, pairSymbol, presentTrades.get(i)));
} }
return customTrades; return customTrades;
@ -170,7 +167,7 @@ public class BinanceManager {
return balance; return balance;
} }
public ArrayList<com.nauk.moodl.DataManagers.CurrencyData.Trade> getTrades() public ArrayList<com.herbron.moodl.DataManagers.CurrencyData.Trade> getTrades()
{ {
return trades; return trades;
} }

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.DataManagers.ExchangeManager; package com.herbron.moodl.DataManagers.ExchangeManager;
import android.util.Base64; import android.util.Base64;
import android.util.Log; import android.util.Log;
@ -10,8 +10,8 @@ import com.android.volley.Response;
import com.android.volley.VolleyError; import com.android.volley.VolleyError;
import com.android.volley.toolbox.JsonArrayRequest; import com.android.volley.toolbox.JsonArrayRequest;
import com.android.volley.toolbox.Volley; import com.android.volley.toolbox.Volley;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import org.json.JSONArray; import org.json.JSONArray;
import org.json.JSONException; import org.json.JSONException;

View File

@ -1,6 +1,4 @@
package com.nauk.moodl.DataManagers; package com.herbron.moodl.DataManagers;
import android.util.Log;
import com.android.volley.Request; import com.android.volley.Request;
import com.android.volley.RequestQueue; import com.android.volley.RequestQueue;
@ -8,18 +6,14 @@ import com.android.volley.Response;
import com.android.volley.VolleyError; import com.android.volley.VolleyError;
import com.android.volley.toolbox.StringRequest; import com.android.volley.toolbox.StringRequest;
import com.android.volley.toolbox.Volley; import com.android.volley.toolbox.Volley;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import org.json.JSONArray;
import org.json.JSONException; import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;
import java.math.BigDecimal;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import java.util.regex.Pattern;
/** /**
* Created by Guitoune on 02/03/2018. * Created by Guitoune on 02/03/2018.

View File

@ -1,8 +1,7 @@
package com.nauk.moodl.DataManagers; package com.herbron.moodl.DataManagers;
import android.content.SharedPreferences; import android.content.SharedPreferences;
import android.preference.PreferenceManager; import android.preference.PreferenceManager;
import android.util.Log;
/** /**
* Created by Guitoune on 09/01/2018. * Created by Guitoune on 09/01/2018.

View File

@ -1,8 +1,8 @@
package com.nauk.moodl.DataManagers; package com.herbron.moodl.DataManagers;
import com.android.volley.RequestQueue; import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley; import com.android.volley.toolbox.Volley;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import java.util.List; import java.util.List;

View File

@ -1,16 +1,12 @@
package com.nauk.moodl; package com.herbron.moodl;
import android.support.v4.app.Fragment; import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter; import android.support.v4.app.FragmentStatePagerAdapter;
import com.nauk.moodl.Activities.DetailsActivityFragments.Home; import com.herbron.moodl.Activities.DetailsActivityFragments.Home;
import com.nauk.moodl.Activities.DetailsActivityFragments.Informations; import com.herbron.moodl.Activities.DetailsActivityFragments.Informations;
import com.nauk.moodl.Activities.DetailsActivityFragments.Transactions; import com.herbron.moodl.Activities.DetailsActivityFragments.Transactions;
import com.nauk.moodl.Activities.HomeActivityFragments.MarketCapitalization;
import com.nauk.moodl.Activities.HomeActivityFragments.Summary;
import com.nauk.moodl.Activities.HomeActivityFragments.Watchlist;
import com.nauk.moodl.DataManagers.CurrencyData.Currency;
/** /**
* Created by Tiji on 13/05/2018. * Created by Tiji on 13/05/2018.

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.FingerprintToolkit; package com.herbron.moodl.FingerprintToolkit;
import android.app.DialogFragment; import android.app.DialogFragment;
import android.graphics.PorterDuff; import android.graphics.PorterDuff;
@ -9,7 +9,7 @@ import android.view.ViewGroup;
import android.widget.TextView; import android.widget.TextView;
import com.mattprecious.swirl.SwirlView; import com.mattprecious.swirl.SwirlView;
import com.nauk.moodl.R; import com.herbron.moodl.R;
/** /**
* Created by Guitoune on 28/02/2018. * Created by Guitoune on 28/02/2018.

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.FingerprintToolkit; package com.herbron.moodl.FingerprintToolkit;
import android.Manifest; import android.Manifest;
import android.content.Context; import android.content.Context;

View File

@ -1,4 +1,4 @@
package com.nauk.moodl; package com.herbron.moodl;
public interface HideBalanceSwitch { public interface HideBalanceSwitch {

View File

@ -1,12 +1,12 @@
package com.nauk.moodl; package com.herbron.moodl;
import android.support.v4.app.Fragment; import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentStatePagerAdapter; import android.support.v4.app.FragmentStatePagerAdapter;
import com.nauk.moodl.Activities.HomeActivityFragments.MarketCapitalization; import com.herbron.moodl.Activities.HomeActivityFragments.MarketCapitalization;
import com.nauk.moodl.Activities.HomeActivityFragments.Summary; import com.herbron.moodl.Activities.HomeActivityFragments.Summary;
import com.nauk.moodl.Activities.HomeActivityFragments.Watchlist; import com.herbron.moodl.Activities.HomeActivityFragments.Watchlist;
/** /**
* Created by Tiji on 13/04/2018. * Created by Tiji on 13/04/2018.

View File

@ -1,19 +1,17 @@
package com.nauk.moodl.LayoutManagers; package com.herbron.moodl.LayoutManagers;
import android.content.Context; import android.content.Context;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import android.util.Log;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.BaseAdapter; import android.widget.BaseAdapter;
import android.widget.Filter; import android.widget.Filter;
import android.widget.Filterable; import android.widget.Filterable;
import android.widget.TextView; import android.widget.TextView;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import java.util.ArrayList; import java.util.ArrayList;

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.LayoutManagers; package com.herbron.moodl.LayoutManagers;
import android.content.Context; import android.content.Context;
import android.util.AttributeSet; import android.util.AttributeSet;

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.LayoutManagers; package com.herbron.moodl.LayoutManagers;
import android.content.Context; import android.content.Context;
import android.support.v4.view.ViewPager; import android.support.v4.view.ViewPager;

View File

@ -1,29 +1,20 @@
package com.nauk.moodl.LayoutManagers; package com.herbron.moodl.LayoutManagers;
import android.app.Activity; import android.app.Activity;
import android.content.Context; import android.content.Context;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import android.support.annotation.Nullable; import android.support.annotation.Nullable;
import android.support.v7.widget.CardView;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.ArrayAdapter; import android.widget.ArrayAdapter;
import android.widget.ImageView;
import android.widget.LinearLayout; import android.widget.LinearLayout;
import android.widget.TextView;
import com.nauk.moodl.DataManagers.CurrencyData.Currency; import com.herbron.moodl.DataManagers.CurrencyData.Currency;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyCardview; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyCardview;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDetailsList; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyDetailsList;
import com.nauk.moodl.PlaceholderManager;
import com.nauk.moodl.R;
import java.util.List; import java.util.List;
import static com.nauk.moodl.MoodlBox.numberConformer;
/** /**
* Created by Administrator on 28/05/2018. * Created by Administrator on 28/05/2018.
*/ */

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.LayoutManagers; package com.herbron.moodl.LayoutManagers;
import android.content.Context; import android.content.Context;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
@ -9,15 +9,12 @@ import android.view.ViewGroup;
import android.widget.ArrayAdapter; import android.widget.ArrayAdapter;
import android.widget.TextView; import android.widget.TextView;
import com.nauk.moodl.DataManagers.CurrencyData.Trade; import com.herbron.moodl.DataManagers.CurrencyData.Trade;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import java.text.SimpleDateFormat;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date;
import java.util.Locale;
import static com.nauk.moodl.MoodlBox.getDateFromTimestamp; import static com.herbron.moodl.MoodlBox.getDateFromTimestamp;
/** /**
* Created by Guitoune on 24/04/2018. * Created by Guitoune on 24/04/2018.

View File

@ -1,4 +1,4 @@
package com.nauk.moodl.LayoutManagers; package com.herbron.moodl.LayoutManagers;
import android.app.Activity; import android.app.Activity;
import android.content.Context; import android.content.Context;
@ -13,17 +13,17 @@ import android.widget.LinearLayout;
import android.widget.TextView; import android.widget.TextView;
import com.daimajia.swipe.SwipeLayout; import com.daimajia.swipe.SwipeLayout;
import com.nauk.moodl.Activities.RecordTransactionActivity; import com.herbron.moodl.Activities.RecordTransactionActivity;
import com.nauk.moodl.DataManagers.CurrencyData.Transaction; import com.herbron.moodl.DataManagers.CurrencyData.Transaction;
import com.nauk.moodl.DataManagers.DatabaseManager; import com.herbron.moodl.DataManagers.DatabaseManager;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.DataManagers.PreferencesManager;
import com.nauk.moodl.R; import com.herbron.moodl.R;
import java.util.ArrayList; import java.util.ArrayList;
import static com.nauk.moodl.MoodlBox.collapseH; import static com.herbron.moodl.MoodlBox.collapseH;
import static com.nauk.moodl.MoodlBox.getDateFromTimestamp; import static com.herbron.moodl.MoodlBox.getDateFromTimestamp;
import static com.nauk.moodl.MoodlBox.numberConformer; import static com.herbron.moodl.MoodlBox.numberConformer;
import static java.lang.Math.abs; import static java.lang.Math.abs;
/** /**

View File

@ -1,4 +1,4 @@
package com.nauk.moodl; package com.herbron.moodl;
import android.content.Context; import android.content.Context;
import android.content.res.Resources; import android.content.res.Resources;
@ -11,14 +11,12 @@ import android.view.View;
import android.view.animation.Animation; import android.view.animation.Animation;
import android.view.animation.Transformation; import android.view.animation.Transformation;
import com.nauk.moodl.Activities.HomeActivity; import com.herbron.moodl.Activities.HomeActivity;
import com.nauk.moodl.DataManagers.CurrencyData.CurrencyDetailsList; import com.herbron.moodl.DataManagers.CurrencyData.CurrencyDetailsList;
import org.json.JSONException; import org.json.JSONException;
import org.json.JSONObject; import org.json.JSONObject;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream; import java.io.FileOutputStream;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;

View File

@ -1,6 +1,6 @@
package com.nauk.moodl; package com.herbron.moodl;
import com.nauk.moodl.DataManagers.PreferencesManager; import com.herbron.moodl.DataManagers.PreferencesManager;
/** /**
* Created by Tiji on 19/04/2018. * Created by Tiji on 19/04/2018.

View File

@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="com.nauk.moodl.Activities.CurrencySelectionActivity"> tools:context="com.herbron.moodl.Activities.CurrencySelectionActivity">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"

View File

@ -4,9 +4,9 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context="com.nauk.moodl.Activities.CurrencyDetailsActivity"> tools:context="com.herbron.moodl.Activities.CurrencyDetailsActivity">
<com.nauk.moodl.LayoutManagers.CustomViewPager <com.herbron.moodl.LayoutManagers.CustomViewPager
android:id="@+id/vfCurrencyDetails" android:id="@+id/vfCurrencyDetails"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"

View File

@ -6,7 +6,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
tools:context="com.nauk.moodl.Activities.HomeActivity"> tools:context="com.herbron.moodl.Activities.HomeActivity">
<FrameLayout <FrameLayout
android:id="@+id/content_frame" android:id="@+id/content_frame"

View File

@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="com.nauk.moodl.Activities.RecordTransactionActivity"> tools:context="com.herbron.moodl.Activities.RecordTransactionActivity">
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"

View File

@ -83,7 +83,7 @@
android:layout_height="350dp" android:layout_height="350dp"
android:layout_marginTop="5dp"> android:layout_marginTop="5dp">
<com.nauk.moodl.LayoutManagers.CustomPieChart <com.herbron.moodl.LayoutManagers.CustomPieChart
android:id="@+id/marketCapPieChart" android:id="@+id/marketCapPieChart"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"/> android:layout_height="match_parent"/>

View File

@ -6,7 +6,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:fitsSystemWindows="true" android:fitsSystemWindows="true"
tools:context="com.nauk.moodl.Activities.HomeActivity"> tools:context="com.herbron.moodl.Activities.HomeActivity">
<android.support.design.widget.AppBarLayout <android.support.design.widget.AppBarLayout
android:id="@+id/app_bar" android:id="@+id/app_bar"

View File

@ -3,12 +3,12 @@
<!-- These settings headers are only used on tablets. --> <!-- These settings headers are only used on tablets. -->
<header <header
android:fragment="com.nauk.moodl.Activities.SettingsActivity$GeneralPreferenceFragment" android:fragment="com.herbron.moodl.Activities.SettingsActivity$GeneralPreferenceFragment"
android:icon="@drawable/ic_info_black_24dp" android:icon="@drawable/ic_info_black_24dp"
android:title="@string/pref_header_general" /> android:title="@string/pref_header_general" />
<header <header
android:fragment="com.nauk.moodl.Activities.SettingsActivity$ExchangePreferenceFragment" android:fragment="com.herbron.moodl.Activities.SettingsActivity$ExchangePreferenceFragment"
android:icon="@drawable/ic_developer_board_black_24dp" android:icon="@drawable/ic_developer_board_black_24dp"
android:title="@string/pref_header_exchange" /> android:title="@string/pref_header_exchange" />

View File

@ -1,4 +1,4 @@
package com.nauk.moodl; package com.herbron.moodl;
import org.junit.Test; import org.junit.Test;