mirror of
https://github.com/KokaKiwi/BarInsta
synced 2026-03-05 12:01:35 +00:00
Update Feed view, check description
Changes: 1. Separate out view holders for feed post types. 2. Improve performance for binding. 4. Initiating migration from Glide to Fresco, as performance of Fresco is way better. 3. Prefetch feed view thumbnails to get aspect ratio, to improve layout performance. 4. If auto play is off, the videos in feed are not loaded until play is pressed. 5. Lots of optimizations here and there.
This commit is contained in:
parent
0b183c5ab5
commit
da98cff507
44 changed files with 4375 additions and 1274 deletions
11
app/src/main/res/drawable/rounder_corner_semi_black_bg.xml
Normal file
11
app/src/main/res/drawable/rounder_corner_semi_black_bg.xml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<solid android:color="@color/semi_transparent_black" />
|
||||
<padding
|
||||
android:left="2dp"
|
||||
android:right="2dp"
|
||||
android:bottom="2dp"
|
||||
android:top="2dp" />
|
||||
|
||||
<corners android:radius="5dp" />
|
||||
</shape>
|
||||
Loading…
Add table
Add a link
Reference in a new issue