Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

create scoop #91

Closed
wants to merge 1 commit into from
Closed

create scoop #91

wants to merge 1 commit into from

Conversation

tyetech
Copy link

@tyetech tyetech commented May 22, 2018

@ViewController(MyController.class)
public class MyScreen extends Screen {
}
public class MyController extends ViewController {

@Override
protected int layoutId() {
    return R.layout.my;
}

@Override
public void onAttach() {
    super.onAttach();
}

@Override
public void onDetach() {
    super.onDetach();

}

@OnClick(R.id.do_smth)
public void doSomething() {

}

}

@ViewController(MyController.class)
public class MyScreen extends Screen {
}
public class MyController extends ViewController {

    @OverRide
    protected int layoutId() {
        return R.layout.my;
    }

    @OverRide
    public void onAttach() {
        super.onAttach();
    }

    @OverRide
    public void onDetach() {
        super.onDetach();

    }

    @OnClick(R.id.do_smth)
    public void doSomething() {

    }
}
@Bencodes Bencodes closed this Jul 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants