{"action":"created","issue":{"url":"https://api.github.com/repos/yarolegovich/DiscreteScrollView/issues/80","repository_url":"https://api.github.com/repos/yarolegovich/DiscreteScrollView","labels_url":"https://api.github.com/repos/yarolegovich/DiscreteScrollView/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/yarolegovich/DiscreteScrollView/issues/80/comments","events_url":"https://api.github.com/repos/yarolegovich/DiscreteScrollView/issues/80/events","html_url":"https://github.com/yarolegovich/DiscreteScrollView/issues/80","id":294858970,"number":80,"title":"TextView is not visible","user":{"login":"Hitch","id":16507765,"avatar_url":"https://avatars2.githubusercontent.com/u/16507765?v=4","gravatar_id":"","url":"https://api.github.com/users/Hitch","html_url":"https://github.com/Hitch","followers_url":"https://api.github.com/users/Hitch/followers","following_url":"https://api.github.com/users/Hitch/following{/other_user}","gists_url":"https://api.github.com/users/Hitch/gists{/gist_id}","starred_url":"https://api.github.com/users/Hitch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hitch/subscriptions","organizations_url":"https://api.github.com/users/Hitch/orgs","repos_url":"https://api.github.com/users/Hitch/repos","events_url":"https://api.github.com/users/Hitch/events{/privacy}","received_events_url":"https://api.github.com/users/Hitch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-06T18:07:53Z","updated_at":"2018-02-06T19:11:07Z","closed_at":null,"author_association":"NONE","body":"i've implemented the library to my default RecyclerViewAdapeter , but text is not visible... while on a recyclerView list text always showing. \r\n\r\nhere's the Adapter code: \r\n\r\n````\r\nclass itemsRecyclerAdapter(private var items: ArrayList<userDTO>):RecyclerView.Adapter<itemsRecyclerAdapter.ViewHolder>() {\r\n    override fun onCreateViewHolder(parent: ViewGroup?, viewType: Int): ViewHolder {\r\n        val itemView = LayoutInflater.from(parent?.context)\r\n                .inflate(R.layout.items_cell, parent, false)\r\n\r\n        return ViewHolder(itemView)\r\n    }\r\n\r\n    override fun getItemCount(): Int {\r\n        return items.size\r\n    }\r\n\r\n    override fun onBindViewHolder(holder: ViewHolder?, position: Int) {\r\n        var userDto = items[position]\r\n\r\n        holder?.product_Name?.text = userDto.name\r\n        holder?.merchant_name?.text = userDto.comment\r\n    }\r\n\r\n    class ViewHolder(row: View):RecyclerView.ViewHolder(row) {\r\n        var product_Name: TextView? = null\r\n        var merchant_name: TextView? = null\r\n        var product_image: ImageView?= null\r\n\r\n        init {\r\n            this.product_Name = row?.findViewById<TextView>(R.id.product_name)\r\n            this.product_image = row?.findViewById(R.id.product_image)\r\n            //this.merchant_name = row?.findViewById<TextView>(R.id.txtComment))\r\n        }\r\n\r\n\r\n    }\r\n}\r\n````\r\n\r\nHere's the cells layout XML\r\n````\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<LinearLayout android:layout_width=\"wrap_content\"\r\n        android:layout_height=\"wrap_content\"\r\n        android:orientation=\"vertical\"\r\n        android:padding=\"12dp\"\r\n        android:layout_margin=\"10dp\"\r\n        android:background=\"@drawable/rounded_corner\"\r\n        xmlns:android=\"http://schemas.android.com/apk/res/android\">\r\n\r\n        <FrameLayout\r\n            android:layout_width=\"wrap_content\"\r\n            android:layout_height=\"wrap_content\">\r\n\r\n            <com.makeramen.roundedimageview.RoundedImageView\r\n                xmlns:app=\"http://schemas.android.com/apk/res-auto\"\r\n                android:id=\"@+id/product_image\"\r\n                android:layout_height=\"124dp\"\r\n                android:layout_width=\"208dp\"\r\n                android:src=\"@drawable/door_key\"\r\n                android:scaleType=\"fitCenter\"\r\n                app:riv_corner_radius=\"4dip\"\r\n                app:riv_border_width=\"2dip\"\r\n                app:riv_border_color=\"#333333\"\r\n                app:riv_mutate_background=\"true\"\r\n                app:riv_tile_mode=\"repeat\"\r\n                app:riv_oval=\"false\"/>\r\n        </FrameLayout>\r\n        <TextView\r\n            android:id=\"@+id/product_name\"\r\n            android:layout_width=\"match_parent\"\r\n            android:layout_height=\"wrap_content\"\r\n            android:layout_marginTop=\"8dp\"\r\n            android:layout_marginBottom=\"4dp\"/>\r\n\r\n</LinearLayout>\r\n````\r\n\r\nNOTE: im using Kotlin , but im pretty good in JAVA , so a java syntax response will be understandable"},"comment":{"url":"https://api.github.com/repos/yarolegovich/DiscreteScrollView/issues/comments/363531768","html_url":"https://github.com/yarolegovich/DiscreteScrollView/issues/80#issuecomment-363531768","issue_url":"https://api.github.com/repos/yarolegovich/DiscreteScrollView/issues/80","id":363531768,"user":{"login":"yarolegovich","id":9644546,"avatar_url":"https://avatars2.githubusercontent.com/u/9644546?v=4","gravatar_id":"","url":"https://api.github.com/users/yarolegovich","html_url":"https://github.com/yarolegovich","followers_url":"https://api.github.com/users/yarolegovich/followers","following_url":"https://api.github.com/users/yarolegovich/following{/other_user}","gists_url":"https://api.github.com/users/yarolegovich/gists{/gist_id}","starred_url":"https://api.github.com/users/yarolegovich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarolegovich/subscriptions","organizations_url":"https://api.github.com/users/yarolegovich/orgs","repos_url":"https://api.github.com/users/yarolegovich/repos","events_url":"https://api.github.com/users/yarolegovich/events{/privacy}","received_events_url":"https://api.github.com/users/yarolegovich/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T19:11:07Z","updated_at":"2018-02-06T19:11:07Z","author_association":"OWNER","body":"I'm on it."}}
{"actor":{"display_login":"yarolegovich"}}