MiguelBennu / SimpleTodoExtended

0 stars 0 forks source link

Code path submission #1

Open MiguelBennu opened 8 years ago

MiguelBennu commented 8 years ago

Hello Codepath, my app is complete, please review. /cc @codepathreview @codepath.

MiguelBennu commented 8 years ago

Hello Codepath, After going over the code examples in http://guides.codepath.com/android/Using-DialogFragment

When using the custom fragment using the following instructions the DUT would stop suddenly at line 6..
1 @Override 2 public View onCreateView(LayoutInflater inflater, ViewGroup container, 3 Bundle savedInstanceState) { 4 // ... 5 // 2. Setup a callback when the "Done" button is pressed on keyboard 6 mEditText.setOnEditorActionListener(this); 7 }

After giving it some thinking and trought trial and error I came to the conclusion that such line needed to be in "onViewCreated" rather than "onCreateView" and by doing so the example runs fine :) Like this: 1 public void onViewCreated(View view, @Nullable Bundle savedInstanceState) { 2 super.onViewCreated(view, savedInstanceState); 3 // ... 4 mEditText2.setOnEditorActionListener(this); 5}

So I am wondering that maybe I am missing something here. Am I getting this wrong? Thanks in advance for your help /cc @codepathreview @codepath.

nesquena commented 8 years ago

Hi Miguel,

Stopping suddenly is a sign of an exception being thrown. Usually because a variable is null. This is a good exercise to get familiar with debugging Android apps. We have a detailed guide here on that topic. See if you can follow that to get a better understanding of what's going wrong.

MiguelBennu commented 8 years ago

Hi Nathan,

Going over it now.. thanks for the link.

Miguel

MiguelBennu commented 8 years ago

Hi Nathan,

Very good link.. very well explained. I use all the methods referred The big take away for me is the "Caused by line" which I often bypass to jump directly into the break points and the "errors in APP only" filtering mechanism... Very cool, thank you.

Miguel

MiguelBennu commented 8 years ago

Hello, not sure if my extended version of the todo list was reviewed or not.. Have the batch of students already been selected for the July course? /cc @codepathreview @codepath

nesquena commented 8 years ago

Great, thanks for the update and glad to see you got a number of optionals implemented. We will be determining final admittance into the program as soon as we can. For those not admitted as participants, we will offer access to applicants as a remote observer cohort that has access to the materials and is able to work on the projects at their own pace. You will be hearing from us again soon. Sorry for the delay, we have been a bit overwhelmed with interest this round.

MiguelBennu commented 8 years ago

Hi Nathan,

Thanks for your response, I figured I check in to get a grip on the progress.

Looking forward to hearing the results.

Luis M. Arango

2016-07-07 22:36 GMT-07:00 Nathan Esquenazi notifications@github.com:

Great, thanks for the update and glad to see you got a number of optionals implemented. We will be determining final admittance into the program as soon as we can. For those not admitted as participants, we will offer access to applicants as a remote observer cohort that has access to the materials and is able to work on the projects at their own pace. You will be hearing from us again soon. Sorry for the delay, we have been a bit overwhelmed with interest this round.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MiguelBennu/SimpleTodoExtended/issues/1#issuecomment-231279071, or mute the thread https://github.com/notifications/unsubscribe/AQhzhrG8Tt6uO9ShOoxz4NVX3-NXVXH8ks5qTeHogaJpZM4I5SLn .