Back to project page DistributedMemory.
The source code is released under:
Apache License
If you think the Android project DistributedMemory 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 org.faudroids.distributedmemory.ui; //from w ww .ja va 2s.c o m import android.content.Intent; import android.os.Bundle; import com.google.common.collect.Lists; import org.faudroids.distributedmemory.R; import org.faudroids.distributedmemory.common.BaseActivity; import java.util.List; import butterknife.ButterKnife; import butterknife.OnClick; import timber.log.Timber; public class HelpActivity extends BaseActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_help); ButterKnife.inject(this); } @OnClick(R.id.activity_help_host) public void onHelpHostClicked() { Intent dialogActivity = new Intent(this, HelpDialogActivity.class); String helpText = getResources().getString(R.string.activity_help_host_text); dialogActivity.putExtra("org.faudroids.distributedmemory.helpText", helpText); startActivity(dialogActivity); } @OnClick(R.id.activity_help_join) public void onHelpJoinClick() { Intent dialogActivity = new Intent(this, HelpDialogActivity.class); String helpText = getResources().getString(R.string.activity_help_join_text); dialogActivity.putExtra("org.faudroids.distributedmemory.helpText", helpText); startActivity(dialogActivity); } @OnClick(R.id.activity_help_troubleshooting) public void onHelpTroubleshootingClick() { Intent dialogActivity = new Intent(this, HelpDialogActivity.class); String helpText = getResources().getString(R.string.activity_help_troubleshooting_text); dialogActivity.putExtra("org.faudroids.distributedmemory.helpText", helpText); startActivity(dialogActivity); } @Override protected List<Object> getModules() { return Lists.<Object>newArrayList(new UiModule()); } }