Ejemplo n.º 1
0
  private void init() {
    initActionBar();

    ImageLoader.getInstance()
        .displayImage(people.getImage(), (ImageView) findViewById(R.id.image_detail));
    ((TextView) findViewById(R.id.mobile_detail)).setText(people.getPhone());

    findViewById(R.id.image_detail)
        .setOnClickListener(
            new View.OnClickListener() {
              @Override
              public void onClick(View view) {
                showPeople();
              }
            });
  }
Ejemplo n.º 2
0
 private void showPeople() {
   UIUtils.safeOpenBrowser(getBaseContext(), people.getUrl());
 }
Ejemplo n.º 3
0
 protected void initActionBar() {
   getSupportActionBar().setTitle(people.getFullName());
   getSupportActionBar().setDisplayHomeAsUpEnabled(true);
 }