Subversion Repository Public Repository

Nextrek

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
package it.fedeloper.smartcharging;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;
import android.support.v4.view.ViewPager;

import it.fedeloper.smartcharging.CustomPagerAdapter;
import it.fedeloper.smartcharging.R;

public class MainActivity extends FragmentActivity {

    CustomPagerAdapter mCustomPagerAdapter;
    ViewPager mViewPager;
    public static String path="";
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        // == Setting up the ViewPager ==

        mCustomPagerAdapter = new CustomPagerAdapter(getSupportFragmentManager(), this);

        mViewPager = (ViewPager) findViewById(R.id.pager);
        mViewPager.setAdapter(mCustomPagerAdapter);
    }
}

Commits for Nextrek/Android/SmartCharging/SmartCharging/app/src/main/java/it/fedeloper/smartcharging/MainActivity.java

Diff revisions: vs.
Revision Author Commited Message
516 Diff Diff FFontana picture FFontana Thu 20 Aug, 2015 14:20:01 +0000
505 Diff Diff FFontana picture FFontana Wed 19 Aug, 2015 08:54:46 +0000
181 Diff Diff FFontana picture FFontana Mon 15 Jun, 2015 12:06:44 +0000
172 FFontana picture FFontana Tue 09 Jun, 2015 11:19:19 +0000