Paquete com.example.coreocean.rama;
importa Android.app.ProgressDialog; import Android.content.Intent; import Android.content.SharedPreferences; import Android.support.v7.app.AppCompatActivity; import Android.os.Bundle; import Android.text.Layout; import Android.view.View; import Android.webkit.WebView; import Android.widget.EditText; import Android.widget.TextView; import Android.widget.Toast;
import com.Android.volley.Request; import com.Android.volley.RequestQueue; import com.Android.volley.Response; import com.Android.volley.VolleyError; import com.Android.volley.toolbox.JsonObjectRequest; import com.Android.volley.toolbox.StringRequest; import com.Android.volley.toolbox.Volley;
import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject;
import java.util.HashMap; importar java.util.Map;
import static com.example.coreocean.rama.R.id.user_address;
public class perfil extends AppCompatActivity {
TextView textViewUN, textViewMB, textViewEM, textViewAD;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_profile);
textViewAD = (TextView) findViewById(user_address);
textViewUN = (TextView) findViewById(R.id.unameText);
textViewEM = (TextView) findViewById(R.id.emailText);
textViewMB = (TextView) findViewById(R.id.mobileText);
textViewUN.setText(SharedPrefmanager.getInstance(this).getUserFname());
textViewMB.setText(SharedPrefmanager.getInstance(this).getMobile());
textViewEM.setText(SharedPrefmanager.getInstance(this).getEmail());
textViewAD.setText(SharedPrefmanager.getInstance(this).getAddress());
}
}