Developers-Portfolio
Developers-Portfolio copied to clipboard
Issues on Feeds
-
Displaying Images on the Feeds
-
Unable to save the download Uri of an image to Post Object(for more clarification, Ask Emmanuel the author)
Will look into this Tomorrow, Been busy.
ok thanks @Madonahs
Hey @emmaunel I see you created a different method, please can you configure that inside the method
public void uploadToServer() {
// TODO 4: In the database, change the image location to the location in firebase storage
//TODO 2: ensure we get the following
Post post = new Post(postText.getText().toString(), "Ayo", selectedImage.getPath());
private ChildEventListener feedsListener = new ChildEventListener() {
@Override
public void onChildAdded(DataSnapshot dataSnapshot, String s) {
// This is triggered when we receive a post
Post p = dataSnapshot.getValue(Post.class);
if(p != null) {
p.setKey(dataSnapshot.getKey());
if(!mPosts.contains(p)) {
mPosts.add(p);
mAdapter.notifyItemInserted(mPosts.size() - 1);
}
}
@Madonahs Is the image able to show on the main feed?
Yes, I will be updating the new code after i finish the inspection.
@emmaunel I forgot to update been busy, with the current ongoing project. :(
@Madonahs It's fine. I have been busy too. I plan on coming back during the summer so I can focus on it better.
That sounds great. I was hoping once I'm done with the projects i can jump in.
@emmaunel can you image i am still on working on my scholarship projects how are you doing?
@Madonahs I am good. And yes, the scholarship projects are a lot of work. I am currently on the project 4 and I am having difficulties with it.😂
@emmaunel I can imagine, challenging but indeed good.
@Madonahs hey, I just wanted to say that I am going to start working on the app while I'm waiting for my scholarship project to be reviewed. So hi again
That is amazing. Welcome back.