--------- beginning of system 2024-06-22 10:43:54.640… · The Chat Archive
Explore --------- beginning of system 2024-06-22 10:43:54.640 1288-5295 WindowManager… Save Share Download ▾ Report--------- beginning of system
2024-06-22 10:43:54.640 1288-5295 WindowManager system_server E win=Window{9bc4dbd u0 it.unipi.di.sam.sprint/it.unipi.di.sam.sprint.MainActivity} destroySurfaces: appStopped=true cleanupOnResume=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6952 com.android.server.wm.ActivityRecord.destroySurfaces:6933 com.android.server.wm.ActivityRecord.activityStopped:7633 com.android.server.wm.ActivityClientController.activityStopped:310 android.app.IActivityClientControllerS t u b . o n T r a n s a c t : 702 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y C l i e n t C o n t r o l l e r . o n T r a n s a c t : 175 a n d r o i d . o s . B i n d e r . e x e c T r Stub.onTransact:702 com.android.server.wm.ActivityClientController.onTransact:175 android.os.Binder.execTransactInternal:1380
2024-06-22 10:51:47.360 1288-1866 WindowManager system_server E win=Window{9bc4dbd u0 it.unipi.di.sam.sprint/it.unipi.di.sam.sprint.MainActivity} destroySurfaces: appStopped=true cleanupOnResume=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6952 com.android.server.wm.ActivityRecord.destroySurfaces:6933 com.android.server.wm.ActivityRecord.activityStopped:7633 com.android.server.wm.ActivityClientController.activityStopped:310 android.app.IActivityClientController Stub.onTransact:702 com.android.server.wm.ActivityClientController.onTransact:175 android.os.Binder.execTransactInternal:1380
2024-06-22 11:03:19.264 1288-2050 WindowManager system_server E win=Window{9bc4dbd u0 it.unipi.di.sam.sprint/it.unipi.di.sam.sprint.MainActivity} destroySurfaces: appStopped=true cleanupOnResume=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6952 com.android.server.wm.ActivityRecord.destroySurfaces:6933 com.android.server.wm.ActivityRecord.activityStopped:7633 com.android.server.wm.ActivityClientController.activityStopped:310 android.app.IActivityClientController Stub.onTransact:702 com.android.server.wm.ActivityClientController.onTransact:175 android.os.Binder.execTransactInternal:1380
2024-06-22 11:12:50.407 1288-4563 WindowManager system_server E win=Window{9bc4dbd u0 it.unipi.di.sam.sprint/it.unipi.di.sam.sprint.MainActivity} destroySurfaces: appStopped=true cleanupOnResume=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6952 com.android.server.wm.ActivityRecord.destroySurfaces:6933 com.android.server.wm.ActivityRecord.activityStopped:7633 com.android.server.wm.ActivityClientController.activityStopped:310 android.app.IActivityClientController Stub.onTransact:702 com.android.server.wm.ActivityClientController.onTransact:175 android.os.Binder.execTransactInternal:1380
2024-06-22 11:18:14.581 1288-1323 WindowManager system_server E win=Window{9bc4dbd u0 it.unipi.di.sam.sprint/it.unipi.di.sam.sprint.MainActivity} destroySurfaces: appStopped=true cleanupOnResume=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6952 com.android.server.wm.ActivityRecord.destroySurfaces:6933 com.android.server.wm.ActivityRecord.activityStopped:7633 com.android.server.wm.ActivityClientController.activityStopped:310 android.app.IActivityClientController$Stub.onTransact:702 com.android.server.wm.ActivityClientController.onTransact:175 android.os.Binder.execTransactInternal:1380
--------- beginning of main
2024-06-22 11:46:31.474 32718-32718 Choreographer it.unipi.di.sam.sprin
Assistant2024-06-22 10:18 UTC Copy response
Il problema potrebbe essere un errore di distruzione delle superfici della finestra dell'applicazione "it.unipi.di.sam.sprint". Questo errore potrebbe essere causato da un'applicazione che si interrompe in modo anomalo o da un problema di gestione delle attività nell'applicazione stessa. Potresti investigare ulteriormente controllando i log dell'applicazione e verificando se ci sono ulteriori messaggi di errore che possono fornire maggiori dettagli sul problema.
Assistant2024-06-22 12:49 UTC Copy response
Sì, il problema specifico è un'eccezione di tipo ClassCastException che si verifica nella classe RVAdapter.kt alla riga 20. L'eccezione indica che viene tentato un cast di un oggetto di tipo Title a un oggetto di tipo Activity, che non è consentito. Questo potrebbe indicare un errore nella logica dell'applicazione che gestisce in modo errato i tipi di dati durante la visualizzazione dei contenuti nella RecyclerView.
Per risolvere questo problema, è necessario verificare la classe RVAdapter.kt e assicurarsi che il cast venga effettuato in modo corretto, utilizzando i tipi di dati corretti. Potrebbe essere necessario rivedere la logica dell'adapter e verificare se il cast tra i diversi tipi di oggetti è gestito correttamente per evitare questa eccezione di ClassCastException.
Assistant2024-06-22 13:06 UTC Copy response
Dal codice fornito, sembra che tu abbia due classi RVAdapter separate, una per la gestione degli elementi di tipo Stat e l'altra per la gestione degli elementi di tipo Activity. Se le RecyclerView che gestiscono queste due tipologie di elementi funzionano in maniera indipendente e non condividono la stessa logica di visualizzazione o gestione degli elementi, ha senso mantenerle separate come hai fatto.
Tuttavia, se gli adapter condividono molta logica di base e differiscono solo nella gestione di alcuni dettagli specifici per i diversi tipi di elementi, potresti considerare la possibilità di utilizzare un unico RVAdapter e gestire in modo dinamico la visualizzazione dei diversi tipi di elementi al suo interno.
In generale, la decisione di avere un unico adapter o più adapter dipende dalla complessità e dai requisiti della tua app. Se ti sembra che gestire due adapter distinti renda il codice più chiaro e manutenibile, allora potresti mantenere la separazione come attualmente implementato. Se invece pensi che unificare i due adapter possa semplificare il codice e renderlo più efficiente, potresti lavorare per creare un unico RVAdapter che possa gestire entrambi i tipi di elementi in modo efficiente.
Copy first prompt
Details
Provider OpenAI
Model provenance As recorded by source dataset
Turns 3 (6 messages)
Language en
Conversation date Jun 22, 2024
Added to archive Nov 16, 2026
ID 01m7h41r4p7y7h9w8f7fmeg82wSource & license Imported from WildChat-4.8M (AI2) (source ). Imported records earn no Research Points.
Upstream record: 3c21810712ef81bbeffd4987686d3463
Zhao et al., WildChat: 1M ChatGPT Interaction Logs in the Wild (ICLR 2024). Contains information from WildChat-4.8M, made available under the ODC Attribution License.
License: ODC-BY-1.0
a n s a c t I n t e r n a l : 13802024 − 06 − 2210 : 44 : 26.7481288 − 1413 W i n d o w M a n a g e r s y s t e m s e r v e r E w i n = W i n d o w 9 b c 4 d b d u 0 i t . u n i p i . d i . s a m . s p r i n t / i t . u n i p i . d i . s a m . s p r i n t . M a i n A c t i v i t y d e s t r o y S u r f a c e s : a p p S t o p p e d = t r u e c l e a n u p O n R e s u m e = f a l s e w i n . m W i n d o w R e m o v a l A l l o w e d = f a l s e w i n . m R e m o v e O n E x i t = f a l s e w i n . m V i e w V i s i b i l i t y = 8 c a l l e r = c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y R e c o r d . d e s t r o y S u r f a c e s : 6952 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y R e c o r d . d e s t r o y S u r f a c e s : 6933 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y R e c o r d . a c t i v i t y S t o p p e d : 7633 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y C l i e n t C o n t r o l l e r . a c t i v i t y S t o p p e d : 310 a n d r o i d . a p p . I A c t i v i t y C l i e n t C o n t r o l l e r Stub.onTransact:702 com.android.server.wm.ActivityClientController.onTransact:175 android.os.Binder.execTransactInternal:1380
2024-06-22 10:44:26.748 1288-1413 WindowManager system_server E win=Window{9bc4dbd u0 it.unipi.di.sam.sprint/it.unipi.di.sam.sprint.MainActivity} destroySurfaces: appStopped=true cleanupOnResume=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6952 com.android.server.wm.ActivityRecord.destroySurfaces:6933 com.android.server.wm.ActivityRecord.activityStopped:7633 com.android.server.wm.ActivityClientController.activityStopped:310 android.app.IActivityClientController S t u b . o n T r an s a c t : 702 co m . an d r o i d . ser v er . w m . A c t i v i t y C l i e n tC o n t r o l l er . o n T r an s a c t : 175 an d r o i d . os . B in d er . e x ec T r an s a c t I n t er na l : 13802024 − 06 − 2210 : 44 : 26.7481288 − 1413 W in d o w M ana g er sy s t e m s er v er E w in = W in d o w 9 b c 4 d b d u 0 i t . u ni p i . d i . s am . s p r in t / i t . u ni p i . d i . s am . s p r in t . M ain A c t i v i a ppS t o pp e d = t r u ec l e an u pO n R es u m e = f a l se w in . mW in d o w R e m o v a l A l l o w e d = f a l se w in . m R e m o v e O n E x i t = f a l se w in . mV i e w V i s ibi l i t y = 8 c a l l er = co m . an d r o i d . ser v er . w m . A c t i v i t y R ecor d . d es t r oy S u r f a ces : 6952 co m . an d r o i d . ser v er . w m . A c t i v i t y R ecor d . d es t r oy S u r f a ces : 6933 co m . an d r o i d . ser v er . w m . A c t i v i t y R ecor d . a c t i v i t y S t o pp e d : 7633 co m . an d r o i d . ser v er . w m . A c t i v i t y C l i e n tC o n t r o l l er . a c t i v i t y S t o pp e d 310 an d r o i d . a pp . I A c t i v i t y C l i e n tC o n t r o l l er
S t u b . o n T r a n s a c t : 702 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y C l i e n t C o n t r o l l e r . o n T r a n s a c t : 175 a n d r o i d . o s . B i n d e r . e x e c T r a n s a c t I n t e r n a l : 13802024 − 06 − 2210 : 54 : 33.8401288 − 1867 W i n d o w M a n a g e r s y s t e m s e r v e r E w i n = W i n d o w 9 b c 4 d b d u 0 i t . u n i p i . d i . s a m . s p r i n t / i t . u n i p i . d i . s a m . s p r i n t . M a i n A c t i v i t y d e s t r o y S u r f a c e s : a p p S t o p p e d = t r u e c l e a n u p O n R e s u m e = f a l s e w i n . m W i n d o w R e m o v a l A l l o w e d = f a l s e w i n . m R e m o v e O n E x i t = f a l s e w i n . m V i e w V i s i b i l i t y = 8 c a l l e r = c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y R e c o r d . d e s t r o y S u r f a c e s : 6952 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y R e c o r d . d e s t r o y S u r f a c e s : 6933 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y R e c o r d . a c t i v i t y S t o p p e d : 7633 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y C l i e n t C o n t r o l l e r . a c t i v i t y S t o p p e d : 310 a n d r o i d . a p p . I A c t i v i t y C l i e n t C o n t r o l l e r Stub.onTransact:702 com.android.server.wm.ActivityClientController.onTransact:175 android.os.Binder.execTransactInternal:1380
2024-06-22 10:54:33.840 1288-1867 WindowManager system_server E win=Window{9bc4dbd u0 it.unipi.di.sam.sprint/it.unipi.di.sam.sprint.MainActivity} destroySurfaces: appStopped=true cleanupOnResume=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6952 com.android.server.wm.ActivityRecord.destroySurfaces:6933 com.android.server.wm.ActivityRecord.activityStopped:7633 com.android.server.wm.ActivityClientController.activityStopped:310 android.app.IActivityClientController S t u b . o n T r an s a c t : 702 co m . an d r o i d . ser v er . w m . A c t i v i t y C l i e n tC o n t r o l S t u b . o n T r a n s a c t : 702 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y C l i e n t C o n t r o l l e r . o n T r a n s a c t : 175 a n d r o i d . o s . B i n d e r . e x e c T r a n s a c t I n t e r n a l : 13802024 − 06 − 2211 : 10 : 24.7651288 − 5299 W i n d o w M a n a g e r s y s t e m s e r v e r E w i n = W i n d o w 9 b c 4 d b d u 0 i t . u n i p i . d i . s a m . s p r i n t / i t . u n i p i . d i . s a m . s p r i n t . M a i n A c t i v i t y d e s t r o y S u r f a c e s : a p p S t o p p e d = t r u e c l e a n u p O n R e s u m e = f a l s e w i n . m W i n d o w R e m o v a l A l l o w e d = f a l s e w i n . m R e m o v e O n E x i t = f a l s e w i n . m V i e w V i s i b i l i t y = 8 c a l l e r = c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y R e c o r d . d e s t r o y S u r f a c e s : 6952 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y R e c o r d . d e s t r o y S u r f a c e s : 6933 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y R e c o r d . a c t i v i t y S t o p p e d : 7633 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y C l i e n t C o n t r o l l e r . a c t i v i t y S t o p p e d : 310 a n d r o i d . a p p . I A c t i v i t y C l i e n t C o n t r o l l e r Stub.onTransact:702 com.android.server.wm.ActivityClientController.onTransact:175 android.os.Binder.execTransactInternal:1380
2024-06-22 11:10:24.765 1288-5299 WindowManager system_server E win=Window{9bc4dbd u0 it.unipi.di.sam.sprint/it.unipi.di.sam.sprint.MainActivity} destroySurfaces: appStopped=true cleanupOnResume=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6952 com.android.server.wm.ActivityRecord.destroySurfaces:6933 com.android.server.wm.ActivityRecord.activityStopped:7633 com.android.server.wm.ActivityClientController.activityStopped:310 android.app.IActivityClientController S t u b . o n T r an s a c t : 702 co m . an d r o i d . ser v er . w m . A c t i v i t y C l i e n tC o n t r o l S t u b . o n T r a n s a c t : 702 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y C l i e n t C o n t r o l l e r . o n T r a n s a c t : 175 a n d r o i d . o s . B i n d e r . e x e c T r a n s a c t I n t e r n a l : 13802024 − 06 − 2211 : 15 : 58.2941288 − 1866 W i n d o w M a n a g e r s y s t e m s e r v e r E w i n = W i n d o w 9 b c 4 d b d u 0 i t . u n i p i . d i . s a m . s p r i n t / i t . u n i p i . d i . s a m . s p r i n t . M a i n A c t i v i t y d e s t r o y S u r f a c e s : a p p S t o p p e d = t r u e c l e a n u p O n R e s u m e = f a l s e w i n . m W i n d o w R e m o v a l A l l o w e d = f a l s e w i n . m R e m o v e O n E x i t = f a l s e w i n . m V i e w V i s i b i l i t y = 8 c a l l e r = c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y R e c o r d . d e s t r o y S u r f a c e s : 6952 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y R e c o r d . d e s t r o y S u r f a c e s : 6933 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y R e c o r d . a c t i v i t y S t o p p e d : 7633 c o m . a n d r o i d . s e r v e r . w m . A c t i v i t y C l i e n t C o n t r o l l e r . a c t i v i t y S t o p p e d : 310 a n d r o i d . a p p . I A c t i v i t y C l i e n t C o n t r o l l e r Stub.onTransact:702 com.android.server.wm.ActivityClientController.onTransact:175 android.os.Binder.execTransactInternal:1380
2024-06-22 11:15:58.294 1288-1866 WindowManager system_server E win=Window{9bc4dbd u0 it.unipi.di.sam.sprint/it.unipi.di.sam.sprint.MainActivity} destroySurfaces: appStopped=true cleanupOnResume=false win.mWindowRemovalAllowed=false win.mRemoveOnExit=false win.mViewVisibility=8 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6952 com.android.server.wm.ActivityRecord.destroySurfaces:6933 com.android.server.wm.ActivityRecord.activityStopped:7633 com.android.server.wm.ActivityClientController.activityStopped:310 android.app.IActivityClientController S t u b . o n T r an s a c t : 702 co m . an d r o i d . ser v er . w m . A c t i v i t y C l i e n tC o n t r o l E FATAL EXCEPTION: main
Process: it.unipi.di.sam.sprint, PID: 28598
java.lang.ClassCastException: it.unipi.di.sam.sprint.ui.stats.Title cannot be cast to it.unipi.di.sam.sprint.ui.activities.Activity
at it.unipi.di.sam.sprint.ui.activities.RVAdapter.onBindViewHolder(RVAdapter.kt:20)
at androidx.recyclerview.widget.RecyclerViewA d a p t e r . o n B i n d V i e w H o l d e r ( R e c y c l e r V i e w . j a v a : 7065 ) a t a n d r o i d x . r e c y c l e r v i e w . w i d g e t . R e c y c l e r V i e w Adapter.onBindViewHolder(RecyclerView.java:7065)
at androidx.recyclerview.widget.RecyclerView A d a pt er . o n B in d V i e w H o l d er ( R ecy c l er V i e w . j a v a : 7065 ) a t an d r o i d x . r ecy c l er v i e w . w i d g e t . R ecy c l er V i e w Adapter.bindViewHolder(RecyclerView.java:7107)
at androidx.recyclerview.widget.RecyclerViewR e c y c l e r . t r y B i n d V i e w H o l d e r B y D e a d l i n e ( R e c y c l e r V i e w . j a v a : 6012 ) a t a n d r o i d x . r e c y c l e r v i e w . w i d g e t . R e c y c l e r V i e w Recycler.tryBindViewHolderByDeadline(RecyclerView.java:6012)
at androidx.recyclerview.widget.RecyclerView R ecy c l er Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6279)
at androidx.recyclerview.widget.RecyclerViewR e c y c l e r . g e t V i e w F o r P o s i t i o n ( R e c y c l e r V i e w . j a v a : 6118 ) a t a n d r o i d x . r e c y c l e r v i e w . w i d g e t . R e c y c l e r V i e w Recycler.getViewForPosition(RecyclerView.java:6118)
at androidx.recyclerview.widget.RecyclerView R ecy c l er . g e t Recycler.getViewForPosition(RecyclerView.java:6114)
at androidx.recyclerview.widget.LinearLayoutManagerL a y o u t S t a t e . n e x t ( L i n e a r L a y o u t M a n a g e r . j a v a : 2303 ) a t a n d r o i d x . r e c y c l e r v i e w . w i d g e t . L i n e a r L a y o u t M a n a g e r . l a y o u t C h u n k ( L i n e a r L a y o u t M a n a g e r . j TraversalRunnable.run(ViewRootImpl.java:11344)
at android.view.ChoreographerC a l l b a c k R e c o r d . r u n ( C h o r e o g r a p h e r . j a v a : 1689 ) a t a n d r o i d . v i e w . C h o r e o g r a p h e r CallbackRecord.run(Choreographer.java:1689)
at android.view.Choreographer C a l l ba c k R ecor d . r u n ( C h or CallbackRecord.run(Choreographer.java:1698)
at android.view.Choreographer.doCallbacks(Choreographer.java:1153)
at android.view.Choreographer.doFrame(Choreographer.java:1079)
at android.view.ChoreographerF r a m e D i s p l a y E v e n t R e c e i v e r . r u n ( C h o r e o g r a p h e r . j a v a : 1646 ) a t a n d r o i d . o s . H a n d l e r . h a n d l e C a l l b a c k ( H a n d l e r . j a v a : 958 ) a t a n d r o i d . o s . H a n d l e r . d i s p MethodAndArgsCaller.run(RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Ora riesci a capire???
package it.unipi.di.sam.sprint.ui.home
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import it.unipi.di.sam.sprint.databinding.ReadmoreButtonItemBinding
import it.unipi.di.sam.sprint.databinding.StatItemBinding
import it.unipi.di.sam.sprint.ui.Stat
class RVAdapter(private val items: List) : RecyclerView.Adapter<RecyclerView.ViewHolder>() {
private val TYPE_ITEM = 0
private val TYPE_READ_MORE_BUTTON = 1
override fun getItemViewType(position: Int): Int {
return when (items[position]) {
is Stat -> TYPE_ITEM
"READ_MORE_BUTTON" -> TYPE_READ_MORE_BUTTON
else -> TYPE_ITEM
}
}
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecyclerView.ViewHolder {
return when (viewType) {
TYPE_READ_MORE_BUTTON -> {
val binding = ReadmoreButtonItemBinding.inflate(LayoutInflater.from(parent.context), parent, false)
ReadMoreButtonViewHolder(binding)
}
else -> {
val binding = StatItemBinding.inflate(LayoutInflater.from(parent.context), parent, false)
StatViewHolder(binding)
}
}
}
override fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int) {
when (holder) {
is StatViewHolder -> {
val stats = items[position] as Stat
holder.bind(stats)
}
is ReadMoreButtonViewHolder -> {
// Bind the read more button if necessary
}
}
}
override fun getItemCount(): Int = items.size
class StatViewHolder(private val binding: StatItemBinding) : RecyclerView.ViewHolder(binding.root) {
fun bind(stat: Stat) {
binding.statName.text = stat.name
binding.statValue.text = stat.value
}
}
class ReadMoreButtonViewHolder(binding: ReadmoreButtonItemBinding) : RecyclerView.ViewHolder(binding.root) {
// Initialize your read more button view here
}
}
package it.unipi.di.sam.sprint.ui.activities
import android.view.LayoutInflater
import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView
import it.unipi.di.sam.sprint.databinding.ActivityItemBinding
class RVAdapter(private val items: List) : RecyclerView.Adapter<RecyclerView.ViewHolder>() {
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecyclerView.ViewHolder {
val binding = ActivityItemBinding.inflate(LayoutInflater.from(parent.context), parent, false)
return ActivityViewHolder(binding)
}
override fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int) {
if (holder is ActivityViewHolder) {
val activity = items[position] as Activity
holder.bind(activity)
}
}
override fun getItemCount(): Int = items.size
class ActivityViewHolder(private val binding: ActivityItemBinding) : RecyclerView.ViewHolder(binding.root) {
fun bind(activity: Activity) {
binding.activityTitle.text = activity.title
binding.activityDate.text = activity.date.toString()
binding.activityDistance.text = activity.distance
binding.activityPace.text = activity.pace
binding.activityTime.text = activity.time
binding.activityImage.setImageResource(activity.photoId)
}
}
}
Ha senso avere RVAdapter distinti o sarebbe meglio farne uno unico
Copy first response
Not yet included in a published release.
t
y
d
es
t
r
oy
S
u
r
f
a
ces
:
:
l
er
.
o
n
T
r
an
s
a
c
t
:
175 an d r o i d . os . B in d er . e x ec T r an s a c t I n t er na l :
13802024 −
06 −
2210 :
54 :
33.8401288 −
1867 W in d o w M ana g er sy s t e m s er v er E w in =
W in d o w 9 b c 4 d b d u 0 i t . u ni p i . d i . s am . s p r in t / i t . u ni p i . d i . s am . s p r in t . M ain A c t i v i t y d es t r oy S u r f a ces :
a ppS t o pp e d =
t r u ec l e an u pO n R es u m e =
f a l se w in . mW in d o w R e m o v a l A l l o w e d =
f a l se w in . m R e m o v e O n E x i t =
f a l se w in . mV i e w V i s ibi l i t y =
8 c a l l er =
co m . an d r o i d . ser v er . w m . A c t i v i t y R ecor d . d es t r oy S u r f a ces :
6952 co m . an d r o i d . ser v er . w m . A c t i v i t y R ecor d . d es t r oy S u r f a ces :
6933 co m . an d r o i d . ser v er . w m . A c t i v i t y R ecor d . a c t i v i t y S t o pp e d :
7633 co m . an d r o i d . ser v er . w m . A c t i v i t y C l i e n tC o n t r o l l er . a c t i v i t y S t o pp e d :
310 an d r o i d . a pp . I A c t i v i t y C l i e n tC o n t r o l l er
l
er
.
o
n
T
r
an
s
a
c
t
:
175 an d r o i d . os . B in d er . e x ec T r an s a c t I n t er na l :
13802024 −
06 −
2211 :
10 :
24.7651288 −
5299 W in d o w M ana g er sy s t e m s er v er E w in =
W in d o w 9 b c 4 d b d u 0 i t . u ni p i . d i . s am . s p r in t / i t . u ni p i . d i . s am . s p r in t . M ain A c t i v i t y d es t r oy S u r f a ces :
a ppS t o pp e d =
t r u ec l e an u pO n R es u m e =
f a l se w in . mW in d o w R e m o v a l A l l o w e d =
f a l se w in . m R e m o v e O n E x i t =
f a l se w in . mV i e w V i s ibi l i t y =
8 c a l l er =
co m . an d r o i d . ser v er . w m . A c t i v i t y R ecor d . d es t r oy S u r f a ces :
6952 co m . an d r o i d . ser v er . w m . A c t i v i t y R ecor d . d es t r oy S u r f a ces :
6933 co m . an d r o i d . ser v er . w m . A c t i v i t y R ecor d . a c t i v i t y S t o pp e d :
7633 co m . an d r o i d . ser v er . w m . A c t i v i t y C l i e n tC o n t r o l l er . a c t i v i t y S t o pp e d :
310 an d r o i d . a pp . I A c t i v i t y C l i e n tC o n t r o l l er
l
er
.
o
n
T
r
an
s
a
c
t
:
175 an d r o i d . os . B in d er . e x ec T r an s a c t I n t er na l :
13802024 −
06 −
2211 :
15 :
58.2941288 −
1866 W in d o w M ana g er sy s t e m s er v er E w in =
W in d o w 9 b c 4 d b d u 0 i t . u ni p i . d i . s am . s p r in t / i t . u ni p i . d i . s am . s p r in t . M ain A c t i v i t y d es t r oy S u r f a ces :
a ppS t o pp e d =
t r u ec l e an u pO n R es u m e =
f a l se w in . mW in d o w R e m o v a l A l l o w e d =
f a l se w in . m R e m o v e O n E x i t =
f a l se w in . mV i e w V i s ibi l i t y =
8 c a l l er =
co m . an d r o i d . ser v er . w m . A c t i v i t y R ecor d . d es t r oy S u r f a ces :
6952 co m . an d r o i d . ser v er . w m . A c t i v i t y R ecor d . d es t r oy S u r f a ces :
6933 co m . an d r o i d . ser v er . w m . A c t i v i t y R ecor d . a c t i v i t y S t o pp e d :
7633 co m . an d r o i d . ser v er . w m . A c t i v i t y C l i e n tC o n t r o l l er . a c t i v i t y S t o pp e d :
310 an d r o i d . a pp . I A c t i v i t y C l i e n tC o n t r o l l er
.
t
r
y
B
in
d
V
i
e
w
H
o
l
d
er
B
y
D
e
a
d
l
in
e
(
R
ecy
c
l
er
V
i
e
w
.
j
a
v
a
:
6012 ) a t an d r o i d x . r ecy c l er v i e w . w i d g e t . R ecy c l er V i e w
V
i
e
w
F
or
P
os
i
t
i
o
n
(
R
ecy
c
l
er
V
i
e
w
.
j
a
v
a
:
6118 ) a t an d r o i d x . r ecy c l er v i e w . w i d g e t . R ecy c l er V i e w
a v a : 1627 ) a t a n d r o i d x . r e c y c l e r v i e w . w i d g e t . L i n e a r L a y o u t M a n a g e r . f i l l ( L i n e a r L a y o u t M a n a g e r . j a v a : 1587 ) a t a n d r o i d x . r e c y c l e r v i e w . w i d g e t . L i n e a r L a y o u t M a n a g e r . o n L a y o u t C h i l d r e n ( L i n e a r L a y o u t M a n a g e r . j a v a : 665 ) a t a n d r o i d x . r e c y c l e r v i e w . w i d g e t . R e c y c l e r V i e w . d i s p a t c h L a y o u t S t e p 2 ( R e c y c l e r V i e w . j a v a : 4134 ) a t a n d r o i d x . r e c y c l e r v i e w . w i d g e t . R e c y c l e r V i e w . d i s p a t c h L a y o u t ( R e c y c l e r V i e w . j a v a : 3851 ) a t a n d r o i d x . r e c y c l e r v i e w . w i d g e t . R e c y c l e r V i e w . o n L a y o u t ( R e c y c l e r V i e w . j a v a : 4404 ) a t a n d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t a n d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t a n d r o i d x . c o n s t r a i n t l a y o u t . w i d g e t . C o n s t r a i n t L a y o u t . o n L a y o u t ( C o n s t r a i n t L a y o u t . j a v a : 1873 ) a t a n d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t a n d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t a n d r o i d . w i d g e t . F r a m e L a y o u t . l a y o u t C h i l d r e n ( F r a m e L a y o u t . j a v a : 332 ) a t a n d r o i d . w i d g e t . F r a m e L a y o u t . o n L a y o u t ( F r a m e L a y o u t . j a v a : 270 ) a t a n d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t a n d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t a n d r o i d x . c o n s t r a i n t l a y o u t . w i d g e t . C o n s t r a i n t L a y o u t . o n L a y o u t ( C o n s t r a i n t L a y o u t . j a v a : 1873 ) a t a n d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t a n d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t a n d r o i d . w i d g e t . F r a m e L a y o u t . l a y o u t C h i l d r e n ( F r a m e L a y o u t . j a v a : 332 ) a t a n d r o i d . w i d g e t . F r a m e L a y o u t . o n L a y o u t ( F r a m e L a y o u t . j a v a : 270 ) a t a n d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t a n d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t a n d r o i d . w i d g e t . F r a m e L a y o u t . l a y o u t C h i l d r e n ( F r a m e L a y o u t . j a v a : 332 ) a t a n d r o i d . w i d g e t . F r a m e L a y o u t . o n L a y o u t ( F r a m e L a y o u t . j a v a : 270 ) a t a n d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t a n d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t a n d r o i d . w i d g e t . L i n e a r L a y o u t . s e t C h i l d F r a m e ( L i n e a r L a y o u t . j a v a : 1891 ) a t a n d r o i d . w i d g e t . L i n e a r L a y o u t . l a y o u t V e r t i c a l ( L i n e a r L a y o u t . j a v a : 1729 ) a t a n d r o i d . w i d g e t . L i n e a r L a y o u t . o n L a y o u t ( L i n e a r L a y o u t . j a v a : 1638 ) a t a n d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t a n d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t a n d r o i d . w i d g e t . F r a m e L a y o u t . l a y o u t C h i l d r e n ( F r a m e L a y o u t . j a v a : 332 ) a t a n d r o i d . w i d g e t . F r a m e L a y o u t . o n L a y o u t ( F r a m e L a y o u t . j a v a : 270 ) a t a n d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t a n d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t a n d r o i d . w i d g e t . L i n e a r L a y o u t . s e t C h i l d F r a m e ( L i n e a r L a y o u t . j a v a : 1891 ) a t a n d r o i d . w i d g e t . L i n e a r L a y o u t . l a y o u t V e r t i c a l ( L i n e a r L a y o u t . j a v a : 1729 ) a t a n d r o i d . w i d g e t . L i n e a r L a y o u t . o n L a y o u t ( L i n e a r L a y o u t . j a v a : 1638 ) a t a n d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t a n d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t a n d r o i d . w i d g e t . F r a m e L a y o u t . l a y o u t C h i l d r e n ( F r a m e L a y o u t . j a v a : 332 ) a t a n d r o i d . w i d g e t . F r a m e L a y o u t . o n L a y o u t ( F r a m e L a y o u t . j a v a : 270 ) a t c o m . a n d r o i d . i n t e r n a l . p o l i c y . D e c o r V i e w . o n L a y o u t ( D e c o r V i e w . j a v a : 1084 ) a t a n d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t a n d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t a n d r o i d . v i e w . V i e w R o o t I m p l . p e r f o r m L a y o u t ( V i e w R o o t I m p l . j a v a : 5279 ) a t a n d r o i d . v i e w . V i e w R o o t I m p l . p e r f o r m T r a v e r s a l s ( V i e w R o o t I m p l . j a v a : 4526 ) 2024 − 06 − 2212 : 14 : 40.99928598 − 28598 A n d r o i d R u n t i m e i t . u n i p i . d i . s a m . s p r i n t E a t a n d r o i d . v i e w . V i e w R o o t I m p l . d o T r a v e r s a l ( V i e w R o o t I m p l . j a v a : 3288 ) a t a n d r o i d . v i e w . V i e w R o o t I m p l LayoutState.next(LinearLayoutManager.java:2303)
at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1627)
at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1587)
at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:665)
at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4134)
at androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:3851)
at androidx.recyclerview.widget.RecyclerView.onLayout(RecyclerView.java:4404)
at android.view.View.layout(View.java:25771)
at android.view.ViewGroup.layout(ViewGroup.java:6822)
at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1873)
at android.view.View.layout(View.java:25771)
at android.view.ViewGroup.layout(ViewGroup.java:6822)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:25771)
at android.view.ViewGroup.layout(ViewGroup.java:6822)
at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1873)
at android.view.View.layout(View.java:25771)
at android.view.ViewGroup.layout(ViewGroup.java:6822)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:25771)
at android.view.ViewGroup.layout(ViewGroup.java:6822)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:25771)
at android.view.ViewGroup.layout(ViewGroup.java:6822)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1891)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1729)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1638)
at android.view.View.layout(View.java:25771)
at android.view.ViewGroup.layout(ViewGroup.java:6822)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:25771)
at android.view.ViewGroup.layout(ViewGroup.java:6822)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1891)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1729)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1638)
at android.view.View.layout(View.java:25771)
at android.view.ViewGroup.layout(ViewGroup.java:6822)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at com.android.internal.policy.DecorView.onLayout(DecorView.java:1084)
at android.view.View.layout(View.java:25771)
at android.view.ViewGroup.layout(ViewGroup.java:6822)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:5279)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:4526)
2024-06-22 12:14:40.999 28598-28598 AndroidRuntime it.unipi.di.sam.sprint E at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3288)
at android.view.ViewRootImpl L a y o u tS t a t e . n e x t ( L in e a r L a y o u tM ana g er . j a v a : 2303 ) a t an d r o i d x . r ecy c l er v i e w . w i d g e t . L in e a r L a y o u tM ana g er . l a y o u tC h u nk ( L in e a r L a y o u tM ana g er . j a v a : 1627 ) a t an d r o i d x . r ecy c l er v i e w . w i d g e t . L in e a r L a y o u tM ana g er . f i l l ( L in e a r L 1587 ) a t an d r o i d x . r ecy c l er v i e w . w i d g e t . L in e a r L a y o u tM ana g er . o n L a y o u tC hi l d r 665 ) a t an d r o i d x . r ecy c l er v i e w . w i d g e t . R ecy c l er V i e w . d i s p a t c h L a y o u tS t e p 4134 ) a t an d r o i d x . r ecy c l er v i e w . w i d g e t . R ecy c l er V i e w . d i s p a t c h L a y o u t ( R ecy 3851 ) a t an d r o i d x . r ecy c l er v i e w . w i d g e t . R ecy c l er V i e w . o n L a y o u t ( R ecy c l er V 4404 ) a t an d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t an d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t an d r o i d x . co n s t r ain tl a y o u t . w i d g e t . C o n s t r ain t L a y o u t . o n L a y o u t ( C o n 1873 ) a t an d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t an d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t an d r o i d . w i d g e t . F r am e L a y o u t . l a y o u tC hi l d r e n ( F r am e L a y o u t . j a v 332 ) a t an d r o i d . w i d g e t . F r am e L a y o u t . o n L a y o u t ( F r am e L a y o u t . j a v a : 270 ) a t an d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t an d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t an d r o i d x . co n s t r ain tl a y o u t . w i d g e t . C o n s t r ain t L a y o u t . o n L a y o u t ( C o n 1873 ) a t an d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t an d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t an d r o i d . w i d g e t . F r am e L a y o u t . l a y o u tC hi l d r e n ( F r am e L a y o u t . j a v 332 ) a t an d r o i d . w i d g e t . F r am e L a y o u t . o n L a y o u t ( F r am e L a y o u t . j a v a : 270 ) a t an d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t an d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t an d r o i d . w i d g e t . F r am e L a y o u t . l a y o u tC hi l d r e n ( F r am e L a y o u t . j a v 332 ) a t an d r o i d . w i d g e t . F r am e L a y o u t . o n L a y o u t ( F r am e L a y o u t . j a v a : 270 ) a t an d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t an d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t an d r o i d . w i d g e t . L in e a r L a y o u t . se tC hi l d F r am e ( L in e a r L a y o u t . j a v a : 1891 ) a t an d r o i d . w i d g e t . L in e a r L a y o u t . l a y o u t V er t i c a l ( L in e a r L a y o u t . j a 1729 ) a t an d r o i d . w i d g e t . L in e a r L a y o u t . o n L a y o u t ( L in e a r L a y o u t . j a v a : 1638 ) a t an d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t an d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t an d r o i d . w i d g e t . F r am e L a y o u t . l a y o u tC hi l d r e n ( F r am e L a y o u t . j a v 332 ) a t an d r o i d . w i d g e t . F r am e L a y o u t . o n L a y o u t ( F r am e L a y o u t . j a v a : 270 ) a t an d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t an d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t an d r o i d . w i d g e t . L in e a r L a y o u t . se tC hi l d F r am e ( L in e a r L a y o u t . j a v a : 1891 ) a t an d r o i d . w i d g e t . L in e a r L a y o u t . l a y o u t V er t i c a l ( L in e a r L a y o u t . j a 1729 ) a t an d r o i d . w i d g e t . L in e a r L a y o u t . o n L a y o u t ( L in e a r L a y o u t . j a v a : 1638 ) a t an d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t an d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t an d r o i d . w i d g e t . F r am e L a y o u t . l a y o u tC hi l d r e n ( F r am e L a y o u t . j a v 332 ) a t an d r o i d . w i d g e t . F r am e L a y o u t . o n L a y o u t ( F r am e L a y o u t . j a v a : 270 ) a t co m . an d r o i d . in t er na l . p o l i cy . D ecor V i e w . o n L a y o u t ( D ecor V i e w . j a v a : 1084 ) a t an d r o i d . v i e w . V i e w . l a y o u t ( V i e w . j a v a : 25771 ) a t an d r o i d . v i e w . V i e w G r o u p . l a y o u t ( V i e w G r o u p . j a v a : 6822 ) a t an d r o i d . v i e w . V i e w R oo t I m pl . p er f or m L a y o u t ( V i e w R oo t I m pl . j a v a 5279 ) a t an d r o i d . v i e w . V i e w R oo t I m pl . p er f or m T r a v er s a l s ( V i e w R oo t I m pl . j 4526 ) 2024 − 06 − 2212 : 14 : 40.99928598 − 28598 A n d r o i d R u n t im e i t . u ni p i . d i . s am . s p r in tE a t an d r o i d . v i e w . V i e w R oo t I m pl . d 3288 ) a t an d r o i d . v i e w . V i e w R oo t I m pl
eo
g
r
a
p
h
er
.
j
a
v
a
:
1689 ) a t an d r o i d . v i e w . C h or eo g r a p h er
a t c h M e s s a g e ( H a n d l e r . j a v a : 99 ) a t a n d r o i d . o s . L o o p e r . l o o p O n c e ( L o o p e r . j a v a : 230 ) a t a n d r o i d . o s . L o o p e r . l o o p ( L o o p e r . j a v a : 319 ) a t a n d r o i d . a p p . A c t i v i t y T h r e a d . m a i n ( A c t i v i t y T h r e a d . j a v a : 8919 ) a t j a v a . l a n g . r e f l e c t . M e t h o d . i n v o k e ( N a t i v e M e t h o d ) a t c o m . a n d r o i d . i n t e r n a l . o s . R u n t i m e I n i t FrameDisplayEventReceiver.run(Choreographer.java:1646)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8919)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit F r am eD i s pl a y E v e n tR ece i v er . r u n ( C h or eo g r a p h er . j a v a : 1646 ) a t an d r o i d . os . H an d l er . han d l e C a l l ba c k ( H an d l er . j a v a : 958 ) a t an d r o i d . os . H an d l er . d i s p a t c h M ess a g e ( H an d l er . j a v a : 99 ) a t an d r o i d . os . L oo p er . l oo pO n ce ( L oo p er . j a v a : 230 ) a t an d r o i d . os . L oo p er . l oo p ( L oo p er . j a v a : 319 ) a t an d r o i d . a pp . A c t i v i t y T h r e a d . main ( A c t i v i t y T h r e a d . j a v a : 8919 ) a t j a v a . l an g . r e f l ec t . M e t h o d . in v o k e ( N a t i v e M e t h o d ) a t co m . an d r o i d .
a
y
o
u
tM
ana
g
er
.
j
a
v
a
:
e
n
(
L
in
e
a
r
L
a
y
o
u
tM
ana
g
er
.
j
a
v
a
:
2
(
R
ecy
c
l
er
V
i
e
w
.
j
a
v
a
:
c
l
er
V
i
e
w
.
j
a
v
a
:
i
e
w
.
j
a
v
a
:
s
t
r
ain
t
L
a
y
o
u
t
.
j
a
v
a
:
a
:
s
t
r
ain
t
L
a
y
o
u
t
.
j
a
v
a
:
a
:
a
:
v
a
:
a
:
v
a
:
a
:
:
a
v
a
:
o
T
r
a
v
er
s
a
l
(
V
i
e
w
R
oo
t
I
m
pl
.
j
a
v
a
:
in
t
er
na
l
.
os
.
R
u
n
t
im
e
I
ni
t