Java Code Examples for com.google.zxing.client.android.history.HistoryManager#addHistoryItemDetails()
The following examples show how to use
com.google.zxing.client.android.history.HistoryManager#addHistoryItemDetails() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SupplementalInfoRetriever.java From ZXing-Standalone-library with Apache License 2.0 | 6 votes |
@Override protected final void onPostExecute(Object arg) { TextView textView = textViewRef.get(); if (textView != null) { for (CharSequence content : newContents) { textView.append(content); } textView.setMovementMethod(LinkMovementMethod.getInstance()); } HistoryManager historyManager = historyManagerRef.get(); if (historyManager != null) { for (String[] text : newHistories) { historyManager.addHistoryItemDetails(text[0], text[1]); } } }
Example 2
Source File: SupplementalInfoRetriever.java From analyzer-of-android-for-Apache-Weex with Apache License 2.0 | 6 votes |
@Override protected final void onPostExecute(Object arg) { TextView textView = textViewRef.get(); if (textView != null) { for (CharSequence content : newContents) { textView.append(content); } textView.setMovementMethod(LinkMovementMethod.getInstance()); } HistoryManager historyManager = historyManagerRef.get(); if (historyManager != null) { for (String[] text : newHistories) { historyManager.addHistoryItemDetails(text[0], text[1]); } } }
Example 3
Source File: SupplementalInfoRetriever.java From weex with Apache License 2.0 | 6 votes |
@Override protected final void onPostExecute(Object arg) { TextView textView = textViewRef.get(); if (textView != null) { for (CharSequence content : newContents) { textView.append(content); } textView.setMovementMethod(LinkMovementMethod.getInstance()); } HistoryManager historyManager = historyManagerRef.get(); if (historyManager != null) { for (String[] text : newHistories) { historyManager.addHistoryItemDetails(text[0], text[1]); } } }
Example 4
Source File: SupplementalInfoRetriever.java From Study_Android_Demo with Apache License 2.0 | 6 votes |
@Override protected final void onPostExecute(Object arg) { TextView textView = textViewRef.get(); if (textView != null) { for (CharSequence content : newContents) { textView.append(content); } textView.setMovementMethod(LinkMovementMethod.getInstance()); } HistoryManager historyManager = historyManagerRef.get(); if (historyManager != null) { for (String[] text : newHistories) { historyManager.addHistoryItemDetails(text[0], text[1]); } } }
Example 5
Source File: SupplementalInfoRetriever.java From barcodescanner-lib-aar with MIT License | 6 votes |
@Override protected final void onPostExecute(Object arg) { TextView textView = textViewRef.get(); if (textView != null) { for (CharSequence content : newContents) { textView.append(content); } textView.setMovementMethod(LinkMovementMethod.getInstance()); } HistoryManager historyManager = historyManagerRef.get(); if (historyManager != null) { for (String[] text : newHistories) { historyManager.addHistoryItemDetails(text[0], text[1]); } } }
Example 6
Source File: SupplementalInfoRetriever.java From reacteu-app with MIT License | 6 votes |
@Override protected void onPostExecute(Object arg) { TextView textView = textViewRef.get(); if (textView != null) { for (Spannable content : newContents) { textView.append(content); } textView.setMovementMethod(LinkMovementMethod.getInstance()); } HistoryManager historyManager = historyManagerRef.get(); if (historyManager != null) { for (String[] text : newHistories) { historyManager.addHistoryItemDetails(text[0], text[1]); } } }
Example 7
Source File: SupplementalInfoRetriever.java From zxingfragmentlib with Apache License 2.0 | 6 votes |
@Override protected final void onPostExecute(Object arg) { TextView textView = textViewRef.get(); if (textView != null) { for (CharSequence content : newContents) { textView.append(content); } textView.setMovementMethod(LinkMovementMethod.getInstance()); } HistoryManager historyManager = historyManagerRef.get(); if (historyManager != null) { for (String[] text : newHistories) { historyManager.addHistoryItemDetails(text[0], text[1]); } } }