Open yateeshkota opened 6 years ago
@yateeshkota Which version of Toro you are using? It looks like v2 or even v1 ....
it is version v2
@yateeshkota By any chance it can be changed to v3?
I have not much more time to change in v3
@eneim I am not able to upload my XML code here
I am new in android and Github
@yateeshkota Just open the xml file in android studio, copy paste it into the comment, remove the part you need.
`<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<View
android:layout_width="match_parent"
android:layout_height="@dimen/activity_vertical_margin"
android:background="#e5e5e5"
android:visibility="gone" />
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="#f5f5f5"
android:lineSpacingMultiplier="1.2"
android:padding="8dp"
android:text="@string/sample"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:visibility="gone" />
<include layout="@layout/vh_fb_feed_user" />
<include layout="@layout/vh_toro_video_simple" />
<View
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:layout_marginLeft="24dp"
android:layout_marginRight="24dp"
android:background="#e5e5e5" />
<include layout="@layout/vh_fb_feed_bottom" />
</LinearLayout>
`
hi eneim, I am using toro library with streaming on Amazon API. I am facing an issue when my recycler view has the first item is a photo then other videos of recycler view are always paused but when the first item of recycler view is video it will be working good and also play and pause on scrolling. please help me.
my view holder