2016-04-04 3 views

risposta

4

Il motivo è il limite all'interno di Stetho. Nella classe

com.facebook.stetho.inspector.protocol.module.Database

https://github.com/facebook/stetho/blob/36aa5bd356d9cf5893b9424b06a83dda9ec5e44f/stetho/src/main/java/com/facebook/stetho/inspector/protocol/module/Database.java

Ci

è questa info -

/** 
    * The protocol doesn't offer an efficient means of pagination or anything like that so 
    * we'll just cap the result list to some arbitrarily large number that I think folks will 
    * actually need in practice. 
    * <p> 
    * Note that when this limit is exceeded, a dummy row will be introduced that indicates 
    * truncation occurred. 
    */ 
    private static final int MAX_EXECUTE_RESULTS = 250; 

Quindi, se si ha realmente bisogno di un numero più grande, si potrebbe modificare il codice sorgente della libreria, e aggiungere un diverso Max

+2

questo valore deve essere esposto nelle impostazioni!/facepalm –