Contrato de segurança e processamento de dados
wx.previewImage for multimedia selection.
/*** Opens the image preview page* Calling environment: Subprocess** @param context - Current Activity* @param selectedIndex - Index of the selected image* @param pathList - Image path list* @return - Returns false if this API is not supported*/public abstract boolean openImagePreview(Context context, int selectedIndex, List<String> pathList);
/*** Opens the image preview page** @param context - Current Activity* @param selectedIndex - Index of the selected image* @param pathList - Image path list* @return - Returns false if this API is not supported*/@Overridepublic boolean openImagePreview(Context context, int selectedIndex, List<String> pathList) {//todo start your image previewIntent intent = new Intent(context, CustomPreviewActivity.class);intent.putExtra("curIndex",selectedIndex);intent.putStringArrayListExtra("pathList", pathList);context.startActivity(intent);return true;}
Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários