The Speaker remains in office "for all purposes" following a dissolution of Parliament until the day before the first day of the new Parliament, even if the Speaker was not a candidate for re-election or lost re-election.
Following a Parliament dissolution, the Speaker retains their position "for all purposes" up to the day before the new Parliament convenes, regardless of whether they were a candidate for re-election or did not win the election.