summaryrefslogtreecommitdiff
path: root/app/src/main/java/se/leap/bitmaskclient/LoginActivity.java
blob: a5cbf5f55d0b9422f075a6d5316766ecb5cfa0e7 (plain)
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
28
29
30
31
32
33
34
35
package se.leap.bitmaskclient;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.util.Log;

import butterknife.OnClick;

/**
 * Created by fupduck on 09.01.18.
 */

public class LoginActivity extends ProviderCredentialsBaseActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.a_login);

        setProviderHeaderText("providerNAME");
        setProviderHeaderLogo(R.drawable.mask);
    }

    @Override
    protected void onResume() {
        super.onResume();
    }

    @Override
    @OnClick(R.id.button)
    void handleButton() {
        login(getUsername(), getPassword());
    }

}