예제 #1
0
 public override void AfterAddNewEntry(EntryEditActivity entryEditActivity, PwEntry newEntry)
 {
     EntryActivity.Launch(entryEditActivity, newEntry, -1,
                          new SelectEntryTask {
         ShowUserNotifications = this.ShowUserNotifications
     },
                          ActivityFlags.ForwardResult);
     //no need to call Finish here, that's done in EntryEditActivity ("closeOrShowError")
 }
예제 #2
0
            public bool OnSuggestionClick(int position)
            {
                var cursor = _suggestionsAdapter.Cursor;

                cursor.MoveToPosition(position);
                string entryIdAsHexString = cursor.GetString(cursor.GetColumnIndexOrThrow(SearchManager.SuggestColumnIntentDataId));

                EntryActivity.Launch(_activity, App.Kp2a.GetDb().Entries[new PwUuid(MemUtil.HexStringToByteArray(entryIdAsHexString))], -1, _activity.AppTask);
                return(true);
            }
예제 #3
0
 public virtual void LaunchActivityForEntry(PwEntry pwEntry, int pos)
 {
     EntryActivity.Launch(this, pwEntry, pos, AppTask);
 }