sromku / android-simple-facebook

[Deprecated] Simple Facebook SDK for Android
Other
879 stars 349 forks source link

Page.getCover(); issue #408

Open mindshifter opened 8 years ago

mindshifter commented 8 years ago

It seems that Cover.java don't have any Setter and Getter Methods

my code:

PictureAttributes pictureAttributes = Attributes.createPictureAttributes();
        pictureAttributes.setHeight(150);
        pictureAttributes.setWidth(150);
        pictureAttributes.setType(PictureAttributes.PictureType.SQUARE);
        Page.Properties properties = new Page.Properties.Builder()
                .add(Page.Properties.ID)
                .add(Page.Properties.NAME)
                .add(Page.Properties.CATEGORY)
                .add(Page.Properties.COVER)
                .add(Page.Properties.PICTURE, pictureAttributes)
                .add(Page.Properties.LINK)
                .build();

public void onComplete(Page response) {...

Glide.with(getApplicationContext()).load(response.getCover()).fitCenter().centerCrop().into(pageCoverPhoto);

how do i get response.getCover() image url ?

thx