たり~たりする・とか~とか: the difference
たり~たりするN5
Meaning
Things like ~ and ~
Past papers
Tested 5 times in past papers
Example
家でゲームをしたり、食べたりした。
At home, I did things like play video games and eat.
とか~とかN4
Meaning
Among other things, For example, Such as
Past papers
Tested 2 times in past papers
Example
青とか水色が好き。
I like colors like blue and light blue.
How to tell them apart
「AやBなど」 mainly lists nouns and also fits writing and formal speech.
「~たり~たりする」 is for listing actions and states, and is the standard pattern on exams.
「とか~とか」 lists nouns or verbs and is the most casual; avoid stacking it in formal writing or business documents.