Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void checkForDelete()
- {
- List<CallServicePart> currentList = mUnansweredQuestionMap.get(mCurrentCallServiceCall);
- Observable.fromIterable(currentList) //
- .count()//
- .subscribe(iCount ->
- {
- if (iCount == 1)
- {
- mUnansweredQuestionMap.remove(mCurrentCallServiceCall);
- }
- else
- {
- List<CallServicePart> list = Observable.fromIterable(currentList)//
- .toList()//
- .blockingGet();
- list.remove(0);
- }
- });
- }
Add Comment
Please, Sign In to add comment