-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
viewing images leads to a black screen, stfalcon-studio/FrescoImageVi…
…ewer#94 this is having the same issue
- Loading branch information
Showing
11 changed files
with
74 additions
and
23 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
package com.example.schat.Chat; | ||
|
||
import java.util.ArrayList; | ||
|
||
public class MessageObject | ||
{ | ||
String messageId, senderId, message; | ||
ArrayList<String> mediaUrLList; | ||
|
||
public MessageObject(String messageId, String senderId, String message) | ||
public MessageObject(String messageId, String senderId, String message, ArrayList<String> mediaUrLList) | ||
{ | ||
this.messageId = messageId; | ||
this.senderId = senderId; | ||
this.message = message; | ||
this.mediaUrLList = mediaUrLList; | ||
} | ||
|
||
public String getMessageId() { return messageId; } | ||
public String getSenderId() { return senderId; } | ||
public String getMessage() { return message; } | ||
public ArrayList<String> getMediaUrLList() { return mediaUrLList; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:orientation="vertical" android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
|
||
<ImageView | ||
android:layout_width="wrap_content" | ||
android:layout_height="100sp" | ||
android:id="@+id/media" | ||
android:src="@mipmap/ic_launcher"/> | ||
app:srcCompat="@mipmap/ic_launcher"/> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
|
||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:orientation="vertical" android:layout_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:id="@+id/messageList"> | ||
android:orientation="horizontal" | ||
android:layout_width="match_parent" | ||
android:layout_height="match_parent"> | ||
<LinearLayout | ||
android:layout_alignParentBottom="true" | ||
android:layout_width="match_parent" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:orientation="horizontal" | ||
android:id="@+id/sendLayout"> | ||
android:orientation="vertical"> | ||
|
||
<EditText | ||
android:layout_weight="0.8" | ||
android:layout_width="0dp" | ||
<TextView | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/message" | ||
android:hint="message..."/> | ||
android:id="@+id/message"/> | ||
|
||
<Button | ||
android:layout_weight="0.2" | ||
android:layout_width="0dp" | ||
<TextView | ||
|
||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:id="@+id/send"/> | ||
android:id="@+id/sender"/> | ||
<View | ||
android:layout_width="match_parent" | ||
android:layout_height="1sp" | ||
android:background="#000000"/> | ||
|
||
</LinearLayout> | ||
<Button | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:text="view Picture(s)" | ||
android:id="@+id/viewMedia"/> | ||
|
||
</LinearLayout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,7 @@ allprojects { | |
repositories { | ||
google() | ||
jcenter() | ||
maven { url "https://jitpack.io" } | ||
|
||
} | ||
} | ||
|