How to check call to setContentView?

How to write unit test to determine that the layout used in has setContentView(int layoutId)been called and matches the correct location for a given activity?

+3
source share
1 answer

Check Calculon . There is an easy way to do what you want.

+1
source

Source: https://habr.com/ru/post/1747028/


All Articles