Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zoothezoo
Copy link
Contributor

@zoothezoo zoothezoo commented Sep 14, 2020

TL;DR

  • close まだクローズはせんやん?

なんでこの変更が必要だった? (必須)

レイチェルのお願いは聞かなきゃだめでしょ

どんな変更した? (必須)

DialogFragmentを用いて, ダイアログを表示しました!

どうやったらこの変更を確認できる? (必須)

WannaDoFragmentでFAB押してください!

Screenshot

Before After

Notes(苦労したとこや参考にした記事など)

@zoothezoo zoothezoo changed the title WIP [wanna-do] やりたいことリストの追加ダイアログのベースを作った! [wanna-do] やりたいことリストの追加ダイアログのベースを作った! Sep 14, 2020
Comment on lines 50 to 51
val newFragment = WannaDoDialogFragment()
newFragment.show(fragmentManager, "wannado_dialog")
Copy link
Member

Choose a reason for hiding this comment

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

個人的な好みですけど!

Suggested change
val newFragment = WannaDoDialogFragment()
newFragment.show(fragmentManager, "wannado_dialog")
WannaDoDialogFragment().show(fragmentManager, "wannado_dialog")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

LGTM

@Izacchi16 Izacchi16 added the review fixing PRレビューを修正中 label Sep 14, 2020
@zoothezoo zoothezoo force-pushed the feature/wanna-do-add-bottom-sheet branch from 6d8659e to c7147f9 Compare September 14, 2020 15:49
@zoothezoo zoothezoo added review ready PRレビューしてほしい and removed review fixing PRレビューを修正中 labels Sep 14, 2020
}
})
WannadoDataBindingViewController.ClickListener {
override fun onClicked(item: String) {

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)

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 {

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)

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)
}

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)
}
})

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){

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")

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)

@zoothezoo
Copy link
Contributor Author

はちゃめちゃに怒られとるやんけ

@Izacchi16
Copy link
Member

ktlintFormatだけかけてもらえればLGTM!!

@zoothezoo zoothezoo added the no merge マージしちゃだめ label Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no merge マージしちゃだめ review ready PRレビューしてほしい
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants