// Path: app/src/main/java/pl/hypeapp/endoscope/view/NfcView.java
// public interface NfcView extends TiView {
// 
//     @CallOnMainThread
//     void initNfcAdapter();
// }


import android.nfc.NdefRecord;
import android.os.Build;
import android.support.annotation.NonNull;
import net.grandcentrix.thirtyinch.TiPresenter;
import java.nio.charset.Charset;
import java.util.ArrayList;
import pl.hypeapp.endoscope.view.NfcView;
package pl.hypeapp.endoscope.presenter;





public class NfcPresenter extends TiPresenter<NfcView> {
    private static final String PACKAGE_NAME = "pl.hypeapp.endoscope";
    private ArrayList<String> messagesToSendArray = new ArrayList<>();
    private String ipAddress;

    public NfcPresenter(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    @Override
    protected void onCreate() {
        super.onCreate();
        messagesToSendArray.add(ipAddress);
    }

    @Override
// Path: app/src/main/java/pl/hypeapp/endoscope/view/NfcView.java
// public interface NfcView extends TiView {
// 
//     @CallOnMainThread
//     void initNfcAdapter();
// }


// Path: app/src/main/java/pl/hypeapp/endoscope/presenter/NfcPresenter.java
import android.nfc.NdefRecord;
import android.os.Build;
import android.support.annotation.NonNull;
import net.grandcentrix.thirtyinch.TiPresenter;
import java.nio.charset.Charset;
import java.util.ArrayList;
import pl.hypeapp.endoscope.view.NfcView;

package pl.hypeapp.endoscope.presenter;





public class NfcPresenter extends TiPresenter<NfcView> {
    private static final String PACKAGE_NAME = "pl.hypeapp.endoscope";
    private ArrayList<String> messagesToSendArray = new ArrayList<>();
    private String ipAddress;

    public NfcPresenter(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    @Override
    protected void onCreate() {
        super.onCreate();
        messagesToSendArray.add(ipAddress);
    }

    @Override
    protected void onAttachView(@NonNull NfcView view) {