Skip to content

Instantly share code, notes, and snippets.

View rafalniski's full-sized avatar
🏠
Working from home

Rafal Niski rafalniski

🏠
Working from home
  • Gdansk, Poland
View GitHub Profile
08-22 19:07:30.500 31934-31934/samsungupdate.com E/AndroidRuntime: FATAL EXCEPTION: main
Process: samsungupdate.com, PID: 31934
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.AbsListView.setOnScrollListener(android.widget.AbsListView$OnScrollListener)' on a null object reference
at com.updato.Fragments.PostLatest.implementScrollListener(PostLatest.java:261)
at com.updato.Fragments.PostLatest.onCreateView(PostLatest.java:115)
at android.support.v4.app.Fragment.performCreateView(Fragment.java:2192)
at android.support.v4.app.FragmentManagerImpl.moveToState(Fragmen
var config = function () {
var servicesDomain, domain, s3domain, baseUrl, servicesUrl, prefix;
//Localhost
//servicesDomain = "localhost:58952";
//storesServicesDomain = servicesDomain;
//domain = "localhost:56899";
//s3domain = 'https://prodhuntitems.s3.amazonaws.com';
//prefix = "http://";
//mixPanel = "3f3f5d14b958ae80003e37a1a968a863";
Intent intent = new Intent(MainActivity.this, NotificationWebView.class);
intent.putExtra(NotificationFactory.WEB_VIEW_URL, EverytapSDK.getDealScreenUri(MainActivity.this).toString());
intent.putExtra(WEB_VIEW_TITLE, "List of Offers");
startActivity(intent);
// The app consists of MainActivity.java and SearchResultFragment.java at which I don't want to show Ads and few other fragemnt with Ads.
// The Appodeal bottom banner is handled only in the Activity.
// In onCreate() method there is initilization:
Appodeal.initialize(this, appKey, Appodeal.INTERSTITIAL | Appodeal.BANNER_BOTTOM);
// and then call for showing bottom banner
Appodeal.show(this, Appodeal.BANNER_BOTTOM);
{
"address":"jdjd",
"area":"jdjd",
"id_back_image_url":"uploads/c0eb1226-4c44-4e07-8c16-32b8e61ef444.jpg",
"backLocalImage":"file:///storage/emulated/0/Android/data/com.zaintablet/files/picBack.jpg",
"block":"87",
"building":"building",
"date_of_birth":"12.12.1990",
"email_address":"xjjd@csss.com",
"id_expiration_date":"11.12.2023",
<p>{{T}}here’s a good reason that classic evening wear is a style perennial, and said reason is: fabulous gowns never date. One woman who knows this well is designer Elizabeth Kennedy, who this season makes her debut at Harvey Nichols-Dubai.</p>
<p><img src="//images.contentful.com/bfopu590uq4p/51uW87uSlGMW4c88OgKmek/80c1c7e15361c23d0fc9183427217aac/EK2.jpg" alt="EK2"></p>
<p>With a collection fit for both royalty and red carpet alike (Ms Jennifer Lopez is a fan) each piece is a beautifully crafted slice of evening wear perfection. With inspiration for A/W16 having been found in the opulent nature and textiles of the Napoleonic era, structured silhouettes in bold, graphic hues are the mainstay of this season’s offering.</p>
<p><img src="//images.contentful.com/bfopu590uq4p/2YAi12Zf5uiuIYOAGMOWq8/873a8a0dbfbdded0ac4267908d078e6d/EK5.jpg" alt="EK5"></p>
<blockquote>
<p>Who needs diamonds with dresses such as this?</p>