Merge lp:~openerp-dev/openerp-mobile-client/trunk-note_grid_update-sla into lp:openerp-mobile-client

Proposed by Shailesh Lakum(OpenERP)
Status: Merged
Merged at revision: 158
Proposed branch: lp:~openerp-dev/openerp-mobile-client/trunk-note_grid_update-sla
Merge into: lp:openerp-mobile-client
Diff against target: 329 lines (+42/-36)
8 files modified
res/layout/fragment_note_compose.xml (+8/-12)
res/layout/fragment_note_detail.xml (+4/-4)
res/menu/menu_fragment_note_new_edit.xml (+4/-3)
res/values/strings.xml (+2/-0)
src/com/openerp/addons/note/Note.java (+3/-2)
src/com/openerp/addons/note/NoteComposeActivity.java (+14/-11)
src/com/openerp/addons/note/NoteDB.java (+2/-0)
src/com/openerp/addons/note/NoteDetail.java (+5/-4)
To merge this branch: bzr merge lp:~openerp-dev/openerp-mobile-client/trunk-note_grid_update-sla
Reviewer Review Type Date Requested Status
Dharmang Soni (OpenERP) Pending
Review via email: mp+217383@code.launchpad.net

Description of the change

Hello,

Following updates are done in Note module:

1) Attachment with Expandable Grid Support
2) Audio, File, Image attachment support
3) Speech to text in note compose

Thanks,
Shailesh Lakum (sla)

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added file 'res/drawable-hdpi/ic_action_cancel.png'
0Binary files res/drawable-hdpi/ic_action_cancel.png 1970-01-01 00:00:00 +0000 and res/drawable-hdpi/ic_action_cancel.png 2014-04-28 07:01:36 +0000 differ0Binary files res/drawable-hdpi/ic_action_cancel.png 1970-01-01 00:00:00 +0000 and res/drawable-hdpi/ic_action_cancel.png 2014-04-28 07:01:36 +0000 differ
=== added file 'res/drawable-hdpi/ic_menu_action_content_new_attachment.png'
1Binary files res/drawable-hdpi/ic_menu_action_content_new_attachment.png 1970-01-01 00:00:00 +0000 and res/drawable-hdpi/ic_menu_action_content_new_attachment.png 2014-04-28 07:01:36 +0000 differ1Binary files res/drawable-hdpi/ic_menu_action_content_new_attachment.png 1970-01-01 00:00:00 +0000 and res/drawable-hdpi/ic_menu_action_content_new_attachment.png 2014-04-28 07:01:36 +0000 differ
=== added file 'res/drawable-mdpi/ic_action_cancel.png'
2Binary files res/drawable-mdpi/ic_action_cancel.png 1970-01-01 00:00:00 +0000 and res/drawable-mdpi/ic_action_cancel.png 2014-04-28 07:01:36 +0000 differ2Binary files res/drawable-mdpi/ic_action_cancel.png 1970-01-01 00:00:00 +0000 and res/drawable-mdpi/ic_action_cancel.png 2014-04-28 07:01:36 +0000 differ
=== added file 'res/drawable-mdpi/ic_menu_action_content_new_attachment.png'
3Binary files res/drawable-mdpi/ic_menu_action_content_new_attachment.png 1970-01-01 00:00:00 +0000 and res/drawable-mdpi/ic_menu_action_content_new_attachment.png 2014-04-28 07:01:36 +0000 differ3Binary files res/drawable-mdpi/ic_menu_action_content_new_attachment.png 1970-01-01 00:00:00 +0000 and res/drawable-mdpi/ic_menu_action_content_new_attachment.png 2014-04-28 07:01:36 +0000 differ
=== added file 'res/drawable-xhdpi/ic_action_cancel.png'
4Binary files res/drawable-xhdpi/ic_action_cancel.png 1970-01-01 00:00:00 +0000 and res/drawable-xhdpi/ic_action_cancel.png 2014-04-28 07:01:36 +0000 differ4Binary files res/drawable-xhdpi/ic_action_cancel.png 1970-01-01 00:00:00 +0000 and res/drawable-xhdpi/ic_action_cancel.png 2014-04-28 07:01:36 +0000 differ
=== added file 'res/drawable-xhdpi/ic_menu_action_content_new_attachment.png'
5Binary files res/drawable-xhdpi/ic_menu_action_content_new_attachment.png 1970-01-01 00:00:00 +0000 and res/drawable-xhdpi/ic_menu_action_content_new_attachment.png 2014-04-28 07:01:36 +0000 differ5Binary files res/drawable-xhdpi/ic_menu_action_content_new_attachment.png 1970-01-01 00:00:00 +0000 and res/drawable-xhdpi/ic_menu_action_content_new_attachment.png 2014-04-28 07:01:36 +0000 differ
=== added file 'res/drawable-xxhdpi/ic_action_cancel.png'
6Binary files res/drawable-xxhdpi/ic_action_cancel.png 1970-01-01 00:00:00 +0000 and res/drawable-xxhdpi/ic_action_cancel.png 2014-04-28 07:01:36 +0000 differ6Binary files res/drawable-xxhdpi/ic_action_cancel.png 1970-01-01 00:00:00 +0000 and res/drawable-xxhdpi/ic_action_cancel.png 2014-04-28 07:01:36 +0000 differ
=== added file 'res/drawable-xxhdpi/ic_menu_action_content_new_attachment.png'
7Binary files res/drawable-xxhdpi/ic_menu_action_content_new_attachment.png 1970-01-01 00:00:00 +0000 and res/drawable-xxhdpi/ic_menu_action_content_new_attachment.png 2014-04-28 07:01:36 +0000 differ7Binary files res/drawable-xxhdpi/ic_menu_action_content_new_attachment.png 1970-01-01 00:00:00 +0000 and res/drawable-xxhdpi/ic_menu_action_content_new_attachment.png 2014-04-28 07:01:36 +0000 differ
=== modified file 'res/layout/fragment_note_compose.xml'
--- res/layout/fragment_note_compose.xml 2014-04-14 13:27:33 +0000
+++ res/layout/fragment_note_compose.xml 2014-04-28 07:01:36 +0000
@@ -4,17 +4,13 @@
4 android:layout_height="match_parent"4 android:layout_height="match_parent"
5 android:background="#f5f5f5"5 android:background="#f5f5f5"
6 android:clipToPadding="false"6 android:clipToPadding="false"
7 android:fillViewport="true"
8 android:paddingBottom="10dp"
9 android:paddingLeft="10dp"
10 android:paddingRight="10dp"
11 android:paddingTop="?android:attr/actionBarSize" >7 android:paddingTop="?android:attr/actionBarSize" >
128
13 <LinearLayout9 <LinearLayout
14 android:layout_width="match_parent"10 android:layout_width="match_parent"
15 android:layout_height="wrap_content"11 android:layout_height="wrap_content"
16 android:orientation="vertical"12 android:orientation="vertical"
17 android:padding="15dp" >13 android:padding="10dp" >
1814
19 <EditText15 <EditText
20 android:id="@+id/edtNoteTitleInput"16 android:id="@+id/edtNoteTitleInput"
@@ -48,19 +44,19 @@
48 android:fontFamily="sans-serif-light"44 android:fontFamily="sans-serif-light"
49 android:hint="@string/compose_note_description" />45 android:hint="@string/compose_note_description" />
5046
51 <GridView47 <WebView
48 android:id="@+id/webNoteComposeWebViewPad"
49 android:layout_width="match_parent"
50 android:layout_height="wrap_content"
51 android:visibility="invisible" />
52
53 <com.openerp.util.controls.ExpandableHeightGridView
52 android:id="@+id/noteAttachmentGrid"54 android:id="@+id/noteAttachmentGrid"
53 android:layout_width="match_parent"55 android:layout_width="match_parent"
54 android:layout_height="match_parent"56 android:layout_height="match_parent"
55 android:horizontalSpacing="5dp"57 android:horizontalSpacing="5dp"
56 android:numColumns="2"58 android:numColumns="2"
57 android:verticalSpacing="5dp" />59 android:verticalSpacing="5dp" />
58
59 <WebView
60 android:id="@+id/webNoteComposeWebViewPad"
61 android:layout_width="match_parent"
62 android:layout_height="match_parent"
63 android:visibility="invisible" />
64 </LinearLayout>60 </LinearLayout>
6561
66</ScrollView>62</ScrollView>
67\ No newline at end of file63\ No newline at end of file
6864
=== modified file 'res/layout/fragment_note_detail.xml'
--- res/layout/fragment_note_detail.xml 2014-04-14 13:27:33 +0000
+++ res/layout/fragment_note_detail.xml 2014-04-28 07:01:36 +0000
@@ -40,23 +40,23 @@
40 android:layout_width="fill_parent"40 android:layout_width="fill_parent"
41 android:layout_height="wrap_content"41 android:layout_height="wrap_content"
42 android:layout_marginBottom="10dp"42 android:layout_marginBottom="10dp"
43 android:fontFamily="sans-serif-condensed"
43 android:padding="10dp"44 android:padding="10dp"
44 android:fontFamily="sans-serif-condensed"
45 android:textAppearance="?android:attr/textAppearanceMedium"45 android:textAppearance="?android:attr/textAppearanceMedium"
46 android:textStyle="bold" />46 android:textStyle="bold" />
4747
48 <TextView48 <TextView
49 android:id="@+id/txvNoteDetailMemo"49 android:id="@+id/txvNoteDetailMemo"
50 android:fontFamily="sans-serif-light"
51 android:layout_width="fill_parent"50 android:layout_width="fill_parent"
52 android:layout_height="wrap_content"51 android:layout_height="wrap_content"
53 android:layout_marginBottom="10dp"52 android:layout_marginBottom="10dp"
54 android:autoLink="web"53 android:autoLink="web"
55 android:background="@android:color/transparent"54 android:background="@android:color/transparent"
55 android:fontFamily="sans-serif-light"
56 android:padding="10dp"56 android:padding="10dp"
57 android:textAppearance="?android:attr/textAppearanceMedium" />57 android:textAppearance="?android:attr/textAppearanceMedium" />
58 58
59 <GridView59 <com.openerp.util.controls.ExpandableHeightGridView
60 android:id="@+id/noteGridViewAttach"60 android:id="@+id/noteGridViewAttach"
61 android:layout_width="fill_parent"61 android:layout_width="fill_parent"
62 android:layout_height="fill_parent"62 android:layout_height="fill_parent"
6363
=== modified file 'res/menu/menu_fragment_note_new_edit.xml'
--- res/menu/menu_fragment_note_new_edit.xml 2014-04-14 13:27:33 +0000
+++ res/menu/menu_fragment_note_new_edit.xml 2014-04-28 07:01:36 +0000
@@ -4,10 +4,10 @@
4 android:id="@+id/menu_note_speech_to_text"4 android:id="@+id/menu_note_speech_to_text"
5 android:icon="@drawable/ic_action_speech_to_text"5 android:icon="@drawable/ic_action_speech_to_text"
6 android:showAsAction="always"6 android:showAsAction="always"
7 android:title="Speech to text"/>7 android:title="@string/note_menu_title_speech_to_text"/>
8 <item8 <item
9 android:id="@+id/menu_note_attach"9 android:id="@+id/menu_note_attach"
10 android:icon="@drawable/ic_action_content_new_attachment"10 android:icon="@drawable/ic_menu_action_content_new_attachment"
11 android:showAsAction="always"11 android:showAsAction="always"
12 android:title="Attachement">12 android:title="Attachement">
13 <menu>13 <menu>
@@ -27,7 +27,8 @@
27 </item>27 </item>
28 <item28 <item
29 android:id="@+id/menu_note_cancel"29 android:id="@+id/menu_note_cancel"
30 android:showAsAction="never"30 android:icon="@drawable/ic_action_cancel"
31 android:showAsAction="always"
31 android:title="Cancel">32 android:title="Cancel">
32 </item>33 </item>
3334
3435
=== modified file 'res/values/strings.xml'
--- res/values/strings.xml 2014-04-14 13:27:33 +0000
+++ res/values/strings.xml 2014-04-28 07:01:36 +0000
@@ -27,5 +27,7 @@
27 <!-- Detail Note Fragment Strings -->27 <!-- Detail Note Fragment Strings -->
28 <string name="detail_note_name">Note Name</string>28 <string name="detail_note_name">Note Name</string>
29 <string name="detail_note_memo">Note Memo</string>29 <string name="detail_note_memo">Note Memo</string>
30
31 <string name="note_menu_title_speech_to_text">Speech to text</string>
3032
31</resources>33</resources>
32\ No newline at end of file34\ No newline at end of file
3335
=== modified file 'src/com/openerp/addons/note/Note.java'
--- src/com/openerp/addons/note/Note.java 2014-04-14 13:27:33 +0000
+++ src/com/openerp/addons/note/Note.java 2014-04-28 07:01:36 +0000
@@ -250,8 +250,9 @@
250 whereArgs = new String[] { "true", mStageId + "" };250 whereArgs = new String[] { "true", mStageId + "" };
251 break;251 break;
252 }252 }
253 mNotesList.addAll(db().select(where, whereArgs, null, null,253 List<OEDataRow> result = db().select(where, whereArgs, null, null,
254 "id DESC"));254 "id DESC");
255 mNotesList.addAll(result);
255 return null;256 return null;
256 }257 }
257258
258259
=== modified file 'src/com/openerp/addons/note/NoteComposeActivity.java'
--- src/com/openerp/addons/note/NoteComposeActivity.java 2014-04-14 13:27:33 +0000
+++ src/com/openerp/addons/note/NoteComposeActivity.java 2014-04-28 07:01:36 +0000
@@ -52,7 +52,6 @@
52import android.view.ViewGroup;52import android.view.ViewGroup;
53import android.webkit.WebView;53import android.webkit.WebView;
54import android.widget.EditText;54import android.widget.EditText;
55import android.widget.GridView;
56import android.widget.ImageView;55import android.widget.ImageView;
57import android.widget.TextView;56import android.widget.TextView;
58import android.widget.Toast;57import android.widget.Toast;
@@ -70,6 +69,7 @@
70import com.openerp.support.OEUser;69import com.openerp.support.OEUser;
71import com.openerp.support.listview.OEListAdapter;70import com.openerp.support.listview.OEListAdapter;
72import com.openerp.util.HTMLHelper;71import com.openerp.util.HTMLHelper;
72import com.openerp.util.controls.ExpandableHeightGridView;
73import com.openerp.util.tags.MultiTagsTextView.TokenListener;73import com.openerp.util.tags.MultiTagsTextView.TokenListener;
74import com.openerp.util.tags.TagsView;74import com.openerp.util.tags.TagsView;
75import com.openerp.util.tags.TagsView.CustomTagViewListener;75import com.openerp.util.tags.TagsView.CustomTagViewListener;
@@ -121,12 +121,12 @@
121 EditText edtNoteTitle = null;121 EditText edtNoteTitle = null;
122 EditText edtNoteDescription = null;122 EditText edtNoteDescription = null;
123 TagsView mNoteTagsView = null;123 TagsView mNoteTagsView = null;
124 GridView mNoteAttachmentGrid = null;124 ExpandableHeightGridView mNoteAttachmentGrid = null;
125 List<Object> mNoteAttachmentList = new ArrayList<Object>();125 List<Object> mNoteAttachmentList = new ArrayList<Object>();
126 OEListAdapter mNoteListAdapterAttach = null;126 OEListAdapter mNoteListAdapterAttach = null;
127 Attachment mAttachment = null;127 Attachment mAttachment = null;
128
129 PackageManager mPackageManager = null;128 PackageManager mPackageManager = null;
129 String oldName = null;
130130
131 @Override131 @Override
132 protected void onCreate(Bundle savedInstanceState) {132 protected void onCreate(Bundle savedInstanceState) {
@@ -153,7 +153,6 @@
153 private void handleIntent() {153 private void handleIntent() {
154 Log.d(TAG, "NoteComposeActivity->handleIntent()");154 Log.d(TAG, "NoteComposeActivity->handleIntent()");
155 Intent intent = getIntent();155 Intent intent = getIntent();
156
157 if (intent.hasExtra("request_code")) {156 if (intent.hasExtra("request_code")) {
158 Attachment.Types type = (Types) intent.getExtras().get(157 Attachment.Types type = (Types) intent.getExtras().get(
159 "request_code");158 "request_code");
@@ -175,7 +174,8 @@
175 @SuppressLint("SetJavaScriptEnabled")174 @SuppressLint("SetJavaScriptEnabled")
176 private void initNote() {175 private void initNote() {
177 Intent intent = getIntent();176 Intent intent = getIntent();
178 mNoteAttachmentGrid = (GridView) findViewById(R.id.noteAttachmentGrid);177 mNoteAttachmentGrid = (ExpandableHeightGridView) findViewById(R.id.noteAttachmentGrid);
178 mNoteAttachmentGrid.setExpanded(true);
179 edtNoteTitle = (EditText) findViewById(R.id.edtNoteTitleInput);179 edtNoteTitle = (EditText) findViewById(R.id.edtNoteTitleInput);
180 edtNoteDescription = (EditText) findViewById(R.id.edtNoteComposeDescription);180 edtNoteDescription = (EditText) findViewById(R.id.edtNoteComposeDescription);
181 mWebViewPad = (WebView) findViewById(R.id.webNoteComposeWebViewPad);181 mWebViewPad = (WebView) findViewById(R.id.webNoteComposeWebViewPad);
@@ -200,6 +200,7 @@
200 .get("key_" + mStageId));200 .get("key_" + mStageId));
201 if (intent.hasExtra("note_title")) {201 if (intent.hasExtra("note_title")) {
202 edtNoteTitle.setText(intent.getStringExtra("note_title"));202 edtNoteTitle.setText(intent.getStringExtra("note_title"));
203 oldName = intent.getStringExtra("note_title");
203 }204 }
204205
205 if (mPadInstalled) {206 if (mPadInstalled) {
@@ -230,6 +231,7 @@
230 }231 }
231 if (mEditMode) {232 if (mEditMode) {
232 edtNoteTitle.setText(mNoteRow.getString("name"));233 edtNoteTitle.setText(mNoteRow.getString("name"));
234 oldName = mNoteRow.getString("name");
233 List<OEDataRow> tags = mNoteRow.getM2MRecord("tag_ids")235 List<OEDataRow> tags = mNoteRow.getM2MRecord("tag_ids")
234 .browseEach();236 .browseEach();
235 if (tags != null) {237 if (tags != null) {
@@ -515,7 +517,9 @@
515 }517 }
516518
517 public void saveNote(Integer mNoteId) {519 public void saveNote(Integer mNoteId) {
518 if (mOpenERP != null) {520 if (mOpenERP == null) {
521 Toast.makeText(mContext, "No Connection", Toast.LENGTH_LONG).show();
522 } else {
519 OEValues values = new OEValues();523 OEValues values = new OEValues();
520 String name = edtNoteTitle.getText().toString();524 String name = edtNoteTitle.getText().toString();
521 String memo = "";525 String memo = "";
@@ -536,7 +540,9 @@
536 } catch (Exception e) {540 } catch (Exception e) {
537 }541 }
538 } else {542 } else {
539 memo = name + "<br/>" + edtNoteDescription.getText().toString();543 memo = edtNoteDescription.getText().toString();
544 if (oldName != name)
545 memo = name + "<br/>" + memo.replace(oldName, "");
540 }546 }
541 name = noteName(name + "\n" + memo);547 name = noteName(name + "\n" + memo);
542 List<Integer> tag_ids = new ArrayList<Integer>();548 List<Integer> tag_ids = new ArrayList<Integer>();
@@ -569,10 +575,8 @@
569 data.putExtra("result", id);575 data.putExtra("result", id);
570 data.putExtra("is_new", is_new);576 data.putExtra("is_new", is_new);
571 setResult(RESULT_OK, data);577 setResult(RESULT_OK, data);
572 finish();
573 } else {
574 Toast.makeText(mContext, "No Connection", Toast.LENGTH_LONG).show();
575 }578 }
579 finish();
576 }580 }
577581
578 private String noteName(String memo) {582 private String noteName(String memo) {
@@ -637,7 +641,6 @@
637641
638 builder.setPositiveButton("Create", new OnClickListener() {642 builder.setPositiveButton("Create", new OnClickListener() {
639 public void onClick(DialogInterface di, int i) {643 public void onClick(DialogInterface di, int i) {
640 // do something with onClick
641 String mToast = "No Connection ";644 String mToast = "No Connection ";
642 if ((stage.getText().toString()).equalsIgnoreCase("Add New")645 if ((stage.getText().toString()).equalsIgnoreCase("Add New")
643 || (stage.getText().toString())646 || (stage.getText().toString())
644647
=== modified file 'src/com/openerp/addons/note/NoteDB.java'
--- src/com/openerp/addons/note/NoteDB.java 2014-04-09 12:50:36 +0000
+++ src/com/openerp/addons/note/NoteDB.java 2014-04-28 07:01:36 +0000
@@ -82,8 +82,10 @@
82 public List<OEColumn> getModelColumns() {82 public List<OEColumn> getModelColumns() {
83 List<OEColumn> cols = new ArrayList<OEColumn>();83 List<OEColumn> cols = new ArrayList<OEColumn>();
84 cols.add(new OEColumn("name", "Name", OEFields.text()));84 cols.add(new OEColumn("name", "Name", OEFields.text()));
85 cols.add(new OEColumn("sequence", "Sequence", OEFields.integer()));
85 cols.add(new OEColumn("stage_color", "Stage Color", OEFields86 cols.add(new OEColumn("stage_color", "Stage Color", OEFields
86 .varchar(10), false));87 .varchar(10), false));
88
87 return cols;89 return cols;
88 }90 }
8991
9092
=== modified file 'src/com/openerp/addons/note/NoteDetail.java'
--- src/com/openerp/addons/note/NoteDetail.java 2014-04-15 11:59:20 +0000
+++ src/com/openerp/addons/note/NoteDetail.java 2014-04-28 07:01:36 +0000
@@ -38,7 +38,6 @@
38import android.view.View;38import android.view.View;
39import android.view.View.OnClickListener;39import android.view.View.OnClickListener;
40import android.view.ViewGroup;40import android.view.ViewGroup;
41import android.widget.GridView;
42import android.widget.ImageView;41import android.widget.ImageView;
43import android.widget.TextView;42import android.widget.TextView;
44import android.widget.Toast;43import android.widget.Toast;
@@ -55,6 +54,7 @@
55import com.openerp.support.listview.OEListAdapter;54import com.openerp.support.listview.OEListAdapter;
56import com.openerp.util.HTMLHelper;55import com.openerp.util.HTMLHelper;
57import com.openerp.util.TextViewTags;56import com.openerp.util.TextViewTags;
57import com.openerp.util.controls.ExpandableHeightGridView;
58import com.openerp.util.drawer.DrawerItem;58import com.openerp.util.drawer.DrawerItem;
5959
60public class NoteDetail extends BaseFragment {60public class NoteDetail extends BaseFragment {
@@ -69,7 +69,7 @@
69 String mPadURL = "";69 String mPadURL = "";
70 String mNoteMemo = "";70 String mNoteMemo = "";
71 String mMessageBody = "";71 String mMessageBody = "";
72 GridView mNoteGridViewAttach = null;72 ExpandableHeightGridView mNoteGridViewAttach = null;
73 List<Object> mNotesListAttach = new ArrayList<Object>();73 List<Object> mNotesListAttach = new ArrayList<Object>();
74 OEListAdapter mNoteListAdapterAttach = null;74 OEListAdapter mNoteListAdapterAttach = null;
75 Ir_AttachmentDBHelper mAttachmentDB = null;75 Ir_AttachmentDBHelper mAttachmentDB = null;
@@ -103,8 +103,9 @@
103 private void showNoteDetails(int note_id) {103 private void showNoteDetails(int note_id) {
104 mNoteDetailTitle = (TextView) mView104 mNoteDetailTitle = (TextView) mView
105 .findViewById(R.id.txvNoteDetailTitle);105 .findViewById(R.id.txvNoteDetailTitle);
106 mNoteGridViewAttach = (GridView) mView106 mNoteGridViewAttach = (ExpandableHeightGridView) mView
107 .findViewById(R.id.noteGridViewAttach);107 .findViewById(R.id.noteGridViewAttach);
108 mNoteGridViewAttach.setExpanded(true);
108 mNoteDetailMemo = (TextView) mView.findViewById(R.id.txvNoteDetailMemo);109 mNoteDetailMemo = (TextView) mView.findViewById(R.id.txvNoteDetailMemo);
109 mNoteTags = (TextView) mView.findViewById(R.id.edtNoteTagsView);110 mNoteTags = (TextView) mView.findViewById(R.id.edtNoteTagsView);
110111
@@ -251,7 +252,7 @@
251 NoteComposeActivity.class);252 NoteComposeActivity.class);
252 Bundle noteArgs = new Bundle();253 Bundle noteArgs = new Bundle();
253 noteArgs.putInt("note_id", mArgument.getInt("note_id"));254 noteArgs.putInt("note_id", mArgument.getInt("note_id"));
254 noteArgs.putString("Attachment", "New");255 // noteArgs.putString("Attachment", "New");
255 manageNote.putExtras(noteArgs);256 manageNote.putExtras(noteArgs);
256 startActivity(manageNote);257 startActivity(manageNote);
257 return true;258 return true;

Subscribers

People subscribed via source and target branches

to all changes: