I'm already using LrSelection.setX functions even though it's not documented yet. This works fine, as long as the number of selected fotos is small. It seems, as if these functions are done in an AsyncTask. The call itself is also in an AsyncTask. So, for the next steps I have to wait until setX is finished. But how?