-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[wanna-do] やりたいことリストの追加ダイアログのベースを作った! #63
base: master
Are you sure you want to change the base?
Conversation
val newFragment = WannaDoDialogFragment() | ||
newFragment.show(fragmentManager, "wannado_dialog") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
個人的な好みですけど!
val newFragment = WannaDoDialogFragment() | |
newFragment.show(fragmentManager, "wannado_dialog") | |
WannaDoDialogFragment().show(fragmentManager, "wannado_dialog") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
6d8659e
to
c7147f9
Compare
} | ||
}) | ||
WannadoDataBindingViewController.ClickListener { | ||
override fun onClicked(item: String) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected indentation (12) (should be 16) |
WannadoDataBindingViewController.ClickListener { | ||
override fun onClicked(item: String) { | ||
val action = WannadoFragmentDirections.actionWannadoToWannadoDetail(item) | ||
findNavController().navigate(action) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected indentation (16) (should be 20) |
findNavController().navigate(action) | ||
} | ||
}) | ||
WannadoDataBindingViewController.ClickListener { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected indentation (12) (should be 16) |
}) | ||
WannadoDataBindingViewController.ClickListener { | ||
override fun onClicked(item: String) { | ||
val action = WannadoFragmentDirections.actionWannadoToWannadoDetail(item) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected indentation (16) (should be 20) |
override fun onClicked(item: String) { | ||
val action = WannadoFragmentDirections.actionWannadoToWannadoDetail(item) | ||
findNavController().navigate(action) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected indentation (12) (should be 16) |
val action = WannadoFragmentDirections.actionWannadoToWannadoDetail(item) | ||
findNavController().navigate(action) | ||
} | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unexpected indentation (8) (should be 12) |
adapter = wishListDataBindingViewController.adapter | ||
layoutManager = LinearLayoutManager(context).apply { | ||
orientation = LinearLayoutManager.VERTICAL | ||
with(binding){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing spacing before “{“ |
} | ||
} | ||
fabWannado.setOnClickListener { | ||
WannaDoDialogFragment().show(requireActivity().supportFragmentManager, "wannado_dialog") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exceeded max line length (100) (cannot be auto-corrected) |
はちゃめちゃに怒られとるやんけ |
ktlintFormatだけかけてもらえればLGTM!! |
TL;DR
なんでこの変更が必要だった? (必須)
レイチェルのお願いは聞かなきゃだめでしょ
どんな変更した? (必須)
DialogFragmentを用いて, ダイアログを表示しました!
どうやったらこの変更を確認できる? (必須)
WannaDoFragmentでFAB押してください!
Screenshot
Notes(苦労したとこや参考にした記事など)