Commit 2c829959 authored by MUTTINENI NAVYA's avatar MUTTINENI NAVYA

corrected edit button in itemdetails

parent cbb45e4d
......@@ -6,6 +6,7 @@ import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
public class ItemDetails extends AppCompatActivity implements View.OnClickListener {
......@@ -25,6 +26,9 @@ int type;
cat_row.setText(category);
TextView name_row = (TextView) findViewById(R.id.name);
name_row.setText(name);
findViewById(R.id.edit_post).setOnClickListener(this);
findViewById(R.id.resolve_post).setOnClickListener(this);
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment