Back to project page cartographer.
The source code is released under:
Apache License
If you think the Android project cartographer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.segment.cartographer.sample; //from w ww.j a v a 2 s. c om import android.app.Activity; import android.os.Bundle; import android.widget.Button; import android.widget.Toast; import butterknife.ButterKnife; import butterknife.OnClick; import static android.widget.Toast.LENGTH_SHORT; public class SampleActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.sample_activity); ButterKnife.inject(this); } @OnClick({ R.id.hello, R.id.hey, R.id.hi }) public void greetingClicked(Button button) { Toast.makeText(this, "Do something here!", LENGTH_SHORT).show(); } }