From 3f5e93e5c30c937fe1efd10f947f538fcf7cb1a4 Mon Sep 17 00:00:00 2001 From: Zeapo Date: Sun, 27 Jul 2014 22:39:16 +0100 Subject: Inform the main activity that an item has been clicked, will handle it later --- app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java') diff --git a/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java b/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java index 2f9f655b..de5b0a58 100644 --- a/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java +++ b/app/src/main/java/com/zeapo/pwdstore/PasswordFragment.java @@ -88,7 +88,7 @@ public class PasswordFragment extends Fragment implements AbsListView.OnItemClic if (null != mListener) { // Notify the active callbacks interface (the activity, if the // fragment is attached to one) that an item has been selected. -// mListener.onFragmentInteraction(DummyContent.ITEMS.get(position).id); + mListener.onFragmentInteraction((String) mAdapter.getItem(position)); } } -- cgit v1.2.3