Example #1
0
  private void initOfferList() {
    SellTapOffer.getAllOffers(
        new LoadingCallback<BackendlessCollection<SellTapOffer>>(this, "Getting Offers", true) {
          @Override
          public void handleResponse(BackendlessCollection<SellTapOffer> loadedoffers) {
            mBackendlessCollection = loadedoffers;

            convertToList(loadedoffers);

            super.handleResponse(loadedoffers);
          }
        });
  }
Example #2
0
 private void navigateToOffer(SellTapOffer offer) {
   Intent offerDetail = new Intent(MainActivity.this, ViewOfferActivity.class);
   offerDetail.putExtra("offerId", offer.getObjectId());
   startActivity(offerDetail);
 }