diff --git a/app/src/main/java/com/finogeeks/mop/demo/MainActivity.java b/app/src/main/java/com/finogeeks/mop/demo/MainActivity.java index 7b04ffc..e9c782b 100644 --- a/app/src/main/java/com/finogeeks/mop/demo/MainActivity.java +++ b/app/src/main/java/com/finogeeks/mop/demo/MainActivity.java @@ -21,16 +21,24 @@ public class MainActivity extends AppCompatActivity { Toolbar toolbar = findViewById(R.id.toolbar); setSupportActionBar(toolbar); - Button demoButton = findViewById(R.id.btnDemo); - demoButton.setOnClickListener(new View.OnClickListener() { + Button btnCharts = findViewById(R.id.btnCharts); + btnCharts.setOnClickListener(new View.OnClickListener() { + @Override + public void onClick(View v) { + FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5facb3a52dcbff00017469bd"); + } + }); + + Button btnDemo = findViewById(R.id.btnDemo); + btnDemo.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5fa214a29a6a7900019b5cc1"); } }); - Button profileButton = findViewById(R.id.btnProfile); - profileButton.setOnClickListener(new View.OnClickListener() { + Button btnProfile = findViewById(R.id.btnProfile); + btnProfile.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { FinAppClient.INSTANCE.getAppletApiManager().startApplet(MainActivity.this, "5fa215459a6a7900019b5cc3"); diff --git a/app/src/main/res/layout/content_main.xml b/app/src/main/res/layout/content_main.xml index 241487d..1a90007 100644 --- a/app/src/main/res/layout/content_main.xml +++ b/app/src/main/res/layout/content_main.xml @@ -9,16 +9,27 @@ tools:showIn="@layout/activity_main">