MultiImagePicker
MultiImagePicker copied to clipboard
getting no result
I run this lib, select some images but I get no result here is the debug :
08-03 16:04:04.982 16113-16113/com.goodrequest.dofeparticipant.debug D/Event﹕ No subscribers registered for event class net.yazeed44.imagepicker.util.Events$OnPublishPickOptionsEvent
08-03 16:04:04.982 16113-16113/com.goodrequest.dofeparticipant.debug D/Event﹕ No subscribers registered for event class de.greenrobot.event.NoSubscriberEvent
08-03 16:04:05.005 16113-16113/com.goodrequest.dofeparticipant.debug D/Event﹕ No subscribers registered for event class net.yazeed44.imagepicker.util.Events$OnAttachFabEvent
08-03 16:04:05.005 16113-16113/com.goodrequest.dofeparticipant.debug D/Event﹕ No subscribers registered for event class de.greenrobot.event.NoSubscriberEvent
08-03 16:04:05.008 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:489﹕ 16:04:05.008 main adding request to request queue
08-03 16:04:05.009 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:489﹕ 16:04:05.009 main adding request to request queue
08-03 16:04:05.010 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:212﹕ 16:04:05.009 main SpiceManager started.
08-03 16:04:05.020 16113-16587/com.goodrequest.dofeparticipant.debug V//SpiceManager.java:1191﹕ 16:04:05.019 SpiceManagerThread 0 Binding to service.
08-03 16:04:05.026 16113-16587/com.goodrequest.dofeparticipant.debug V//SpiceManager.java:1197﹕ 16:04:05.025 SpiceManagerThread 0 Binding to service succeeded.
08-03 16:04:05.027 16113-16587/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:1245﹕ 16:04:05.026 SpiceManagerThread 0 Waiting for service to be bound.
08-03 16:04:05.049 16113-16113/com.goodrequest.dofeparticipant.debug E/RecyclerView﹕ No adapter attached; skipping layout
08-03 16:04:05.051 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceService.java:134﹕ 16:04:05.051 main SpiceService instance created.
08-03 16:04:05.054 16113-16113/com.goodrequest.dofeparticipant.debug V//SpiceService.java:506﹕ 16:04:05.054 main Pending requests : 0
08-03 16:04:05.054 16113-16113/com.goodrequest.dofeparticipant.debug V//SpiceService.java:508﹕ 16:04:05.054 main Stop foreground
08-03 16:04:05.056 16113-16113/com.goodrequest.dofeparticipant.debug E/RecyclerView﹕ No adapter attached; skipping layout
08-03 16:04:05.062 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:33﹕ 16:04:05.062 main Message Queue starting
08-03 16:04:05.063 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:1088﹕ 16:04:05.062 main Bound to service : OfflineSpiceService
08-03 16:04:05.070 16113-16587/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:1252﹕ 16:04:05.069 SpiceManagerThread 0 Bound ok.
08-03 16:04:05.072 16113-16587/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:286﹕ 16:04:05.071 SpiceManagerThread 0 Sending request to service : CachedSpiceRequest
08-03 16:04:05.072 16113-16587/com.goodrequest.dofeparticipant.debug D//RequestProcessor.java:63﹕ 16:04:05.072 SpiceManagerThread 0 Adding request to queue 541781102: CachedSpiceRequest [requestCacheKey=null, cacheDuration=0, spiceRequest=net.yazeed44.imagepicker.util.LoadingAlbumsRequest@1f045f0f] size is 0
08-03 16:04:05.073 16113-16587/com.goodrequest.dofeparticipant.debug D//RequestProcessor.java:85﹕ 16:04:05.073 SpiceManagerThread 0 Adding entry for type class java.util.ArrayList and cacheKey null.
08-03 16:04:05.074 16113-16587/com.goodrequest.dofeparticipant.debug D//RequestProgressManager.java:61﹕ 16:04:05.073 SpiceManagerThread 0 Request was added to queue.
08-03 16:04:05.074 16113-16587/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:146﹕ 16:04:05.074 SpiceManagerThread 0 Message queue is Handler (android.os.Handler) {1e6d3b9c}
08-03 16:04:05.078 16113-16587/com.goodrequest.dofeparticipant.debug D//RequestProgressManager.java:82﹕ 16:04:05.075 SpiceManagerThread 0 Sending progress PENDING
08-03 16:04:05.080 16113-16587/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:146﹕ 16:04:05.078 SpiceManagerThread 0 Message queue is Handler (android.os.Handler) {1e6d3b9c}
08-03 16:04:05.081 16113-16587/com.goodrequest.dofeparticipant.debug V//SpiceService.java:506﹕ 16:04:05.081 SpiceManagerThread 0 Pending requests : 1
08-03 16:04:05.081 16113-16587/com.goodrequest.dofeparticipant.debug V//SpiceService.java:508﹕ 16:04:05.081 SpiceManagerThread 0 Stop foreground
08-03 16:04:05.085 16113-16590/com.goodrequest.dofeparticipant.debug D//DefaultRequestRunner.java:83﹕ 16:04:05.085 Thread-28284 Processing request : CachedSpiceRequest [requestCacheKey=null, cacheDuration=0, spiceRequest=net.yazeed44.imagepicker.util.LoadingAlbumsRequest@1f045f0f]
08-03 16:04:05.086 16113-16590/com.goodrequest.dofeparticipant.debug D//DefaultRequestRunner.java:129﹕ 16:04:05.085 Thread-28284 Cache content not available or expired or disabled
08-03 16:04:05.088 16113-16587/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:286﹕ 16:04:05.087 SpiceManagerThread 0 Sending request to service : CachedSpiceRequest
08-03 16:04:05.088 16113-16587/com.goodrequest.dofeparticipant.debug D//RequestProcessor.java:63﹕ 16:04:05.088 SpiceManagerThread 0 Adding request to queue 541781102: CachedSpiceRequest [requestCacheKey=null, cacheDuration=0, spiceRequest=net.yazeed44.imagepicker.util.LoadingAlbumsRequest@353d617a] size is 1
08-03 16:04:05.089 16113-16587/com.goodrequest.dofeparticipant.debug D//RequestProcessor.java:85﹕ 16:04:05.089 SpiceManagerThread 0 Adding entry for type class java.util.ArrayList and cacheKey null.
08-03 16:04:05.089 16113-16590/com.goodrequest.dofeparticipant.debug D//DefaultRequestRunner.java:148﹕ 16:04:05.086 Thread-28284 Calling netwok request.
08-03 16:04:05.090 16113-16587/com.goodrequest.dofeparticipant.debug D//RequestProgressManager.java:61﹕ 16:04:05.090 SpiceManagerThread 0 Request was added to queue.
08-03 16:04:05.092 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:175﹕ 16:04:05.092 main Processing request added: CachedSpiceRequest [requestCacheKey=null, cacheDuration=0, spiceRequest=net.yazeed44.imagepicker.util.LoadingAlbumsRequest@1f045f0f]
08-03 16:04:05.092 16113-16587/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:146﹕ 16:04:05.092 SpiceManagerThread 0 Message queue is Handler (android.os.Handler) {1e6d3b9c}
08-03 16:04:05.093 16113-16113/com.goodrequest.dofeparticipant.debug V//DefaultRequestListenerNotifier.java:131﹕ 16:04:05.092 main Notifying 1 listeners of progress com.octo.android.robospice.request.listener.RequestProgress@3d31dd2b
08-03 16:04:05.093 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:175﹕ 16:04:05.093 main Processing request added: CachedSpiceRequest [requestCacheKey=null, cacheDuration=0, spiceRequest=net.yazeed44.imagepicker.util.LoadingAlbumsRequest@353d617a]
08-03 16:04:05.094 16113-16587/com.goodrequest.dofeparticipant.debug D//RequestProgressManager.java:82﹕ 16:04:05.094 SpiceManagerThread 0 Sending progress PENDING
08-03 16:04:05.096 16113-16587/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:146﹕ 16:04:05.095 SpiceManagerThread 0 Message queue is Handler (android.os.Handler) {1e6d3b9c}
08-03 16:04:05.096 16113-16113/com.goodrequest.dofeparticipant.debug V//DefaultRequestListenerNotifier.java:131﹕ 16:04:05.096 main Notifying 1 listeners of progress com.octo.android.robospice.request.listener.RequestProgress@39e07588
08-03 16:04:05.097 16113-16587/com.goodrequest.dofeparticipant.debug V//SpiceService.java:506﹕ 16:04:05.096 SpiceManagerThread 0 Pending requests : 2
08-03 16:04:05.097 16113-16587/com.goodrequest.dofeparticipant.debug V//SpiceService.java:508﹕ 16:04:05.097 SpiceManagerThread 0 Stop foreground
08-03 16:04:05.098 16113-16590/com.goodrequest.dofeparticipant.debug D//RequestProgressManager.java:82﹕ 16:04:05.096 Thread-28284 Sending progress LOADING_FROM_NETWORK
08-03 16:04:05.099 16113-16590/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:146﹕ 16:04:05.098 Thread-28284 Message queue is Handler (android.os.Handler) {1e6d3b9c}
08-03 16:04:05.100 16113-16113/com.goodrequest.dofeparticipant.debug V//DefaultRequestListenerNotifier.java:131﹕ 16:04:05.099 main Notifying 1 listeners of progress com.octo.android.robospice.request.listener.RequestProgress@3791ab21
08-03 16:04:05.121 16113-16590/com.goodrequest.dofeparticipant.debug D//DefaultRequestRunner.java:151﹕ 16:04:05.121 Thread-28284 Network request call ended.
08-03 16:04:05.121 16113-16590/com.goodrequest.dofeparticipant.debug D//RequestProgressManager.java:82﹕ 16:04:05.121 Thread-28284 Sending progress COMPLETE
08-03 16:04:05.122 16113-16590/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:146﹕ 16:04:05.122 Thread-28284 Message queue is Handler (android.os.Handler) {1e6d3b9c}
08-03 16:04:05.124 16113-16113/com.goodrequest.dofeparticipant.debug V//DefaultRequestListenerNotifier.java:131﹕ 16:04:05.124 main Notifying 1 listeners of progress com.octo.android.robospice.request.listener.RequestProgress@7b01b46
08-03 16:04:05.126 16113-16590/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:146﹕ 16:04:05.126 Thread-28284 Message queue is Handler (android.os.Handler) {1e6d3b9c}
08-03 16:04:05.128 16113-16113/com.goodrequest.dofeparticipant.debug V//DefaultRequestListenerNotifier.java:166﹕ 16:04:05.128 main Notifying 1 listeners of request success
08-03 16:04:05.129 16113-16113/com.goodrequest.dofeparticipant.debug V//DefaultRequestListenerNotifier.java:172﹕ 16:04:05.129 main Notifying AlbumsFragment
08-03 16:04:05.129 16113-16113/com.goodrequest.dofeparticipant.debug D/Event﹕ No subscribers registered for event class net.yazeed44.imagepicker.util.Events$onAlbumsLoadedEvent
08-03 16:04:05.129 16113-16113/com.goodrequest.dofeparticipant.debug D/Event﹕ No subscribers registered for event class de.greenrobot.event.NoSubscriberEvent
08-03 16:04:05.130 16113-16590/com.goodrequest.dofeparticipant.debug V//RequestProgressManager.java:161﹕ 16:04:05.130 Thread-28284 Removing CachedSpiceRequest [requestCacheKey=null, cacheDuration=0, spiceRequest=net.yazeed44.imagepicker.util.LoadingAlbumsRequest@1f045f0f] size is 2
08-03 16:04:05.132 16113-16590/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:146﹕ 16:04:05.131 Thread-28284 Message queue is Handler (android.os.Handler) {1e6d3b9c}
08-03 16:04:05.132 16113-16590/com.goodrequest.dofeparticipant.debug D//DefaultRequestRunner.java:295﹕ 16:04:05.132 Thread-28284 It tooks 49 ms to process request CachedSpiceRequest [requestCacheKey=null, cacheDuration=0, spiceRequest=net.yazeed44.imagepicker.util.LoadingAlbumsRequest@1f045f0f].
08-03 16:04:05.133 16113-16590/com.goodrequest.dofeparticipant.debug D//DefaultRequestRunner.java:83﹕ 16:04:05.133 Thread-28284 Processing request : CachedSpiceRequest [requestCacheKey=null, cacheDuration=0, spiceRequest=net.yazeed44.imagepicker.util.LoadingAlbumsRequest@353d617a]
08-03 16:04:05.134 16113-16590/com.goodrequest.dofeparticipant.debug D//DefaultRequestRunner.java:129﹕ 16:04:05.133 Thread-28284 Cache content not available or expired or disabled
08-03 16:04:05.135 16113-16590/com.goodrequest.dofeparticipant.debug D//DefaultRequestRunner.java:148﹕ 16:04:05.134 Thread-28284 Calling netwok request.
08-03 16:04:05.136 16113-16590/com.goodrequest.dofeparticipant.debug D//RequestProgressManager.java:82﹕ 16:04:05.135 Thread-28284 Sending progress LOADING_FROM_NETWORK
08-03 16:04:05.136 16113-16590/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:146﹕ 16:04:05.136 Thread-28284 Message queue is Handler (android.os.Handler) {1e6d3b9c}
08-03 16:04:05.153 16113-16590/com.goodrequest.dofeparticipant.debug D//DefaultRequestRunner.java:151﹕ 16:04:05.153 Thread-28284 Network request call ended.
08-03 16:04:05.154 16113-16590/com.goodrequest.dofeparticipant.debug D//RequestProgressManager.java:82﹕ 16:04:05.154 Thread-28284 Sending progress COMPLETE
08-03 16:04:05.154 16113-16590/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:146﹕ 16:04:05.154 Thread-28284 Message queue is Handler (android.os.Handler) {1e6d3b9c}
08-03 16:04:05.155 16113-16590/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:146﹕ 16:04:05.155 Thread-28284 Message queue is Handler (android.os.Handler) {1e6d3b9c}
08-03 16:04:05.155 16113-16590/com.goodrequest.dofeparticipant.debug V//RequestProgressManager.java:161﹕ 16:04:05.155 Thread-28284 Removing CachedSpiceRequest [requestCacheKey=null, cacheDuration=0, spiceRequest=net.yazeed44.imagepicker.util.LoadingAlbumsRequest@353d617a] size is 1
08-03 16:04:05.156 16113-16590/com.goodrequest.dofeparticipant.debug D//RequestProgressManager.java:91﹕ 16:04:05.155 Thread-28284 Sending all request complete.
08-03 16:04:05.157 16113-16590/com.goodrequest.dofeparticipant.debug V//SpiceService.java:495﹕ 16:04:05.156 Thread-28284 Pending requests : 0
08-03 16:04:05.158 16113-16590/com.goodrequest.dofeparticipant.debug D//SpiceServiceListenerNotifier.java:146﹕ 16:04:05.158 Thread-28284 Message queue is Handler (android.os.Handler) {1e6d3b9c}
08-03 16:04:05.159 16113-16590/com.goodrequest.dofeparticipant.debug D//DefaultRequestRunner.java:295﹕ 16:04:05.159 Thread-28284 It tooks 26 ms to process request CachedSpiceRequest [requestCacheKey=null, cacheDuration=0, spiceRequest=net.yazeed44.imagepicker.util.LoadingAlbumsRequest@353d617a].
08-03 16:04:05.165 16113-16113/com.goodrequest.dofeparticipant.debug V//DefaultRequestListenerNotifier.java:131﹕ 16:04:05.165 main Notifying 1 listeners of progress com.octo.android.robospice.request.listener.RequestProgress@ab05283
08-03 16:04:05.169 16113-16113/com.goodrequest.dofeparticipant.debug V//DefaultRequestListenerNotifier.java:131﹕ 16:04:05.169 main Notifying 1 listeners of progress com.octo.android.robospice.request.listener.RequestProgress@1a893c00
08-03 16:04:05.170 16113-16113/com.goodrequest.dofeparticipant.debug V//DefaultRequestListenerNotifier.java:166﹕ 16:04:05.169 main Notifying 1 listeners of request success
08-03 16:04:05.170 16113-16113/com.goodrequest.dofeparticipant.debug V//DefaultRequestListenerNotifier.java:172﹕ 16:04:05.170 main Notifying AlbumsFragment
08-03 16:04:05.170 16113-16113/com.goodrequest.dofeparticipant.debug D/Event﹕ No subscribers registered for event class net.yazeed44.imagepicker.util.Events$onAlbumsLoadedEvent
08-03 16:04:05.170 16113-16113/com.goodrequest.dofeparticipant.debug D/Event﹕ No subscribers registered for event class de.greenrobot.event.NoSubscriberEvent
08-03 16:04:06.013 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:326﹕ 16:04:06.013 main SpiceManager stopping. Joining
08-03 16:04:06.014 16113-16113/com.goodrequest.dofeparticipant.debug V//SpiceManager.java:767﹕ 16:04:06.013 main Cleared listeners of all requests to launch
08-03 16:04:06.014 16113-16113/com.goodrequest.dofeparticipant.debug V//SpiceManager.java:796﹕ 16:04:06.014 main Cleared listeners of all pending requests
08-03 16:04:06.015 16113-16587/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:265﹕ 16:04:06.015 SpiceManagerThread 0 Interrupted while waiting for new request.
08-03 16:04:06.015 16113-16587/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:271﹕ 16:04:06.015 SpiceManagerThread 0 SpiceManager request runner terminated. Requests count: 0, stopped true, interrupted false
08-03 16:04:06.017 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:339﹕ 16:04:06.017 main Runner join time (ms) when should stop 2
08-03 16:04:06.018 16113-16113/com.goodrequest.dofeparticipant.debug V//SpiceManager.java:1221﹕ 16:04:06.018 main Unbinding from service start.
08-03 16:04:06.019 16113-16113/com.goodrequest.dofeparticipant.debug V//SpiceManager.java:1225﹕ 16:04:06.019 main Unbinding from service.
08-03 16:04:06.026 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:1227﹕ 16:04:06.026 main Unbound from service : OfflineSpiceService
08-03 16:04:06.027 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceManager.java:345﹕ 16:04:06.027 main SpiceManager stopped.
08-03 16:04:06.076 16113-16113/com.goodrequest.dofeparticipant.debug V//SpiceService.java:506﹕ 16:04:06.076 main Pending requests : 0
08-03 16:04:06.079 16113-16113/com.goodrequest.dofeparticipant.debug V//SpiceService.java:508﹕ 16:04:06.079 main Stop foreground
08-03 16:04:06.082 16113-16113/com.goodrequest.dofeparticipant.debug V//SpiceService.java:495﹕ 16:04:06.082 main Pending requests : 0
08-03 16:04:06.088 16113-16113/com.goodrequest.dofeparticipant.debug D//SpiceService.java:303﹕ 16:04:06.088 main SpiceService instance destroyed.
08-03 16:04:07.872 16113-16152/com.goodrequest.dofeparticipant.debug D/OpenGLRenderer﹕ endAllStagingAnimators on 0xa15ad180 (RippleDrawable) with handle 0xaee689f0
my code :
public class SettingsActivity : ToolbarActivity(R.layout.settings, navigation = Navigation.UP)
public class SettingsView(context: Context, attrs: AttributeSet) : RxLayout(context, attrs) {
val email : EditText by bindView(R.id.settings_email_edit_text_input)
val phone : EditText by bindView(R.id.settings_phone_edit_text_input)
val picture : ImageView by bindView(R.id.settings_user_photo)
private val pickerListener = object : Picker.PickListener {
override fun onCancel() { }
override fun onPickedSuccessfully(p0: ArrayList<ImageEntry>) {
for(image in p0){
image.bg("Image")
}
//picture.load(p0[0].path)
}
}
override fun onFinishInflate() {
super<RxLayout>.onFinishInflate()
email.setText("[email protected]")
phone.setText("+420 904 497 337")
settings_user_photo.onClick { Picker.Builder(context, pickerListener, R.style.ImagePicker)
//.setPickMode(PickMode.SINGLE_IMAGE)
.disableCaptureImageFromCamera()
.build()
.startActivity() }
}
override fun onAttachedToWindow() {
super<RxLayout>.onAttachedToWindow()
}
}
Can you try to clone this repo and run it and see what happens ?
I was having a similar problem and when I checked the device I had the "Don't keep activities" developer option on. Once I turned that setting off the picker began functioning.