Open prensmiskin opened 4 years ago
2019-10-16 14:42:42.011 8322-8322/? I/cyclerviewloca: Not late-enabling -Xcheck:jni (already on)
2019-10-16 14:42:42.044 8322-8322/? E/cyclerviewloca: Unknown bits set in runtime_flags: 0x8000
2019-10-16 14:42:42.044 8322-8322/? W/cyclerviewloca: Unexpected CPU variant for X86 using defaults: x86
2019-10-16 14:42:42.396 8322-8322/com.example.recyclerviewlocal W/RenderThread: type=1400 audit(0.0:32): avc: denied { write } for name="property_service" dev="tmpfs" ino=6829 scontext=u:r:untrusted_app:s0:c142,c256,c512,c768 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
2019-10-16 14:42:42.401 8322-8357/com.example.recyclerviewlocal D/libEGL: Emulator has host GPU support, qemu.gles is set to 1.
2019-10-16 14:42:42.411 8322-8357/com.example.recyclerviewlocal W/libc: Unable to set property "qemu.gles" to "1": connection failed; errno=13 (Permission denied)
2019-10-16 14:42:42.467 8322-8357/com.example.recyclerviewlocal D/libEGL: loaded /vendor/lib/egl/libEGL_emulation.so
2019-10-16 14:42:42.468 8322-8357/com.example.recyclerviewlocal D/libEGL: loaded /vendor/lib/egl/libGLESv1_CM_emulation.so
2019-10-16 14:42:42.483 8322-8357/com.example.recyclerviewlocal D/libEGL: loaded /vendor/lib/egl/libGLESv2_emulation.so
2019-10-16 14:42:42.635 8322-8322/com.example.recyclerviewlocal W/cyclerviewloca: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed)
2019-10-16 14:42:42.635 8322-8322/com.example.recyclerviewlocal W/cyclerviewloca: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed)
2019-10-16 14:42:42.764 8322-8351/com.example.recyclerviewlocal D/HostConnection: HostConnection::get() New Host Connection established 0xd624c2d0, tid 8351
2019-10-16 14:42:42.781 8322-8351/com.example.recyclerviewlocal D/HostConnection: HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_YUV420_888_to_NV21 ANDROID_EMU_YUV_Cache GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
2019-10-16 14:42:42.783 8322-8322/com.example.recyclerviewlocal D/AndroidRuntime: Shutting down VM
2019-10-16 14:42:42.785 8322-8351/com.example.recyclerviewlocal W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2019-10-16 14:42:42.786 8322-8322/com.example.recyclerviewlocal E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.recyclerviewlocal, PID: 8322
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.get(ArrayList.java:437)
at com.example.recyclerviewlocal.MyAdapter.onBindViewHolder(MyAdapter.java:39)
at com.example.recyclerviewlocal.MyAdapter.onBindViewHolder(MyAdapter.java:15)
at androidx.recyclerview.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6781)
at androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:6823)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:5752)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6019)
at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5858)
at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5854)
at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2230)
at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1557)
at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1517)
at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:612)
at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3924)
at androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:3641)
at androidx.recyclerview.widget.RecyclerView.onLayout(RecyclerView.java:4194)
at android.view.View.layout(View.java:21912)
at android.view.ViewGroup.layout(ViewGroup.java:6260)
at androidx.constraintlayout.widget.ConstraintLayout.onLayout(ConstraintLayout.java:1915)
at android.view.View.layout(View.java:21912)
at android.view.ViewGroup.layout(ViewGroup.java:6260)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:21912)
at android.view.ViewGroup.layout(ViewGroup.java:6260)
at androidx.appcompat.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:446)
at android.view.View.layout(View.java:21912)
at android.view.ViewGroup.layout(ViewGroup.java:6260)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:21912)
at android.view.ViewGroup.layout(ViewGroup.java:6260)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1829)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1673)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1582)
at android.view.View.layout(View.java:21912)
at android.view.ViewGroup.layout(ViewGroup.java:6260)
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:779)
at android.view.View.layout(View.java:21912)
at android.view.ViewGroup.layout(ViewGroup.java:6260)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3080)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2590)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1721)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7598)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:966)
at android.view.Choreographer.doCallbacks(Choreographer.java:790)
at android.view.Choreographer.doFrame(Choreographer.java:725)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:951)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7356)
at java.lang.reflect.Method.invoke(Native Method)
2019-10-16 14:42:42.786 8322-8322/com.example.recyclerviewlocal E/AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)
2019-10-16 14:42:42.790 8322-8351/com.example.recyclerviewlocal D/eglCodecCommon: setVertexArrayObject: set vao to 0 (0) 0 0
2019-10-16 14:42:42.790 8322-8351/com.example.recyclerviewlocal D/EGL_emulation: eglCreateContext: 0xd621a360: maj 2 min 0 rcv 2
2019-10-16 14:42:42.810 8322-8351/com.example.recyclerviewlocal D/EGL_emulation: eglMakeCurrent: 0xd621a360: ver 2 0 (tinfo 0xd620f1d0)
2019-10-16 14:42:42.820 8322-8322/com.example.recyclerviewlocal I/Process: Sending signal. PID: 8322 SIG: 9
I want to show the latest post in the top row. How can I do this on android. I am using mysql- php as webservis.
I'm trying to make twitter clonu. last post, needs to be seen in the top row.
Github Project
https://github.com/prensmiskin/vollley-one/tree/master/volleydenemetwo/app/src/main/java/com/example/volleydenemetwo
web Service / mysql - php twit https://github.com/prensmiskin/vollley-one/blob/master/akis.php login https://github.com/prensmiskin/vollley-one/blob/master/login.php register https://github.com/prensmiskin/vollley-one/blob/master/myphp.php
screenshot https://user-images.githubusercontent.com/40228440/66035919-bb89fd00-e514-11e9-8151-ebba56fc7670.png