It's slightly different but I don't see why there should be a notable difference in difficulty. You need to somehow represent what you saw so far and act based on that.
With infinite scroll, “what you saw so far” is in the client. With pagination, it exists only in the user’s mind.
With infinite scroll, “what you saw so far” is in the client. With pagination, it exists only in the user’s mind.