Open buihdk opened 8 years ago
:smiley: Everything looks good with the format of your submission. We'll be reviewing your submission soon!
hi @buihdk
Thanks for the prework
In general:
Details & Suggestions
hi @hoanle
I has made the following changes to the app:
I have a few questions:
Thanks!
@buihdk
Button btnAddItem = (Button) findViewById(R.id.btnAddItem);
btnAddItem.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
//Do add item here
}
});
@hoanle Thank you for your help. I has fixed the following:
Please check my work again and let me know if the issues you found still exist.
Hi @hoanle I was able to add the due dates for each ToDo Item successfully using a custom Array Adapter. Now, I am struggling with the Delete action (using setOnItemLongClickListener on the ListView). It seems like I cannot click on the new custom list. Could you please advise?
Thanks, Khoa
@buihdk Please add android:descendantFocusability="blocksDescendants" to the LinearLayout of your item_date. The click fails to transfer to the view The code should look like this
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:descendantFocusability="blocksDescendants"
android:layout_height="match_parent">
My initial submission of ToDo App with the required functionality. Thank you.
/cc @coderschoolreview