Skip to content

این پروژه یک تمرین آموزشی برای آشنایی با ویو گروپ های می باشد

Notifications You must be signed in to change notification settings

MegasisIR/ProfileNew

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProfileNew

این پروژه یک تمرین آموزشی برای آشنایی با ویو گروپ های می باشد

ویژگی های این تمرین 

1. دارای تصویر پروفایل  
2. نام کاربر 
3. ویرایش نام به کمک intent
4. رفتن به ادرسی در اینترنت به کمک intent 
5. مهارت های کاربر 
6. شهر محل زندگی کاربر 

drawing drawing
نکته ای  مفید  این پروژه شاید استفاده از  دو نوع intent باشد
1.صریح Explicit Intents
editProfileBtn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(MainActivity.this, EditFullNameActivity.class);
                intent.putExtra("name", fullNameTv.getText().toString().length() > 0 ? fullNameTv.getText().toString() : "");
                startActivityForResult(intent, REQUEST_CODE);
            }
        });
2. ضمنیImplicit Intents
  viewWebSiteBtn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
            Intent intent = new Intent(Intent.ACTION_VIEW,Uri.parse("7learn.com"));
            startActivity(intent);
            }
        });

About

این پروژه یک تمرین آموزشی برای آشنایی با ویو گروپ های می باشد

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages