Skip to content

Homework/activity 03#45

Open
torukai-go wants to merge 4 commits intoAndroid-Developer-Basic:homework/activity_03from
torukai-go:homework/activity_03
Open

Homework/activity 03#45
torukai-go wants to merge 4 commits intoAndroid-Developer-Basic:homework/activity_03from
torukai-go:homework/activity_03

Conversation

@torukai-go
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown
Contributor

@antonkazakov antonkazakov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Привет. Оставил несколько комментариев


private lateinit var imageView: ImageView
private lateinit var editProfileBtn: Button
private lateinit var pickedImageUri: Uri
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Если здесь значения не будет, но кнопку отправки нажать, то будет краш

private lateinit var pickedImageUri: Uri
private var user = UserData("","","")

private val resultContract = registerForActivityResult(ActivityResultContracts.RequestPermission()){ granted ->
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Rationale диалога не вижу
  2. Диалога перед тем как идти в настройки тоже не вижу
  3. У тебя в настройки ведет сразу после второго нажатия "Не давать разрешение", а должно вести в настройки

android:id="@+id/input_name"
android:layout_width="wrap_content "
android:layout_height="wrap_content"
android:text="name"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

У тебя сейчас это как дефолтный текст в EditText, нужно поменять аттрибут на hint

@antonkazakov
Copy link
Copy Markdown
Contributor

Детект проверки тоже не прошли. Убедись что по код-стайлу все ок

@torukai-go torukai-go requested a review from antonkazakov April 1, 2023 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants