Implement basic progress dialog spinner during api call