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
int? parseIntPrefix(String s) { | |
var re = RegExp(r'(-?[0-9]+).*'); | |
var match = re.firstMatch(s); | |
if (match == null) { | |
return null; | |
} | |
return int.parse(match.group(1)!); | |
} | |
int compareIntPrefixes(String a, String b) { |
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
android.view.InflateException: | |
at android.view.LayoutInflater.inflate (LayoutInflater.java:539) | |
at android.view.LayoutInflater.inflate (LayoutInflater.java:423) | |
at com.viztushar.bigmoji.i.c (Unknown Source) | |
at com.viztushar.bigmoji.i.a (Unknown Source) | |
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
java.lang.RuntimeException: | |
at android.os.AsyncTask$3.done (AsyncTask.java:366) | |
at java.util.concurrent.FutureTask.finishCompletion (FutureTask.java:383) | |
at java.util.concurrent.FutureTask.setException (FutureTask.java:252) | |
at java.util.concurrent.FutureTask.run (FutureTask.java:271) | |
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
import 'package:flutter/material.dart'; | |
import 'package:UrbanWalls/dataModel/DopeWallsModel.dart'; | |
class ListItem extends StatelessWidget { | |
final List<DopeWallsModel> walls; | |
DopeWallsItem({Key key, this.walls}) : super(key: key); | |
@override |
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
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.viztushar.urbanwalls/com.viztushar.urbanwalls.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getPaddingLeft()' on a null object reference | |
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2659) | |
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2724) | |
at android.app.ActivityThread.-wrap12(ActivityThread.java) | |
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1473) | |
at android.os.Handler.dispatchMessage(Handler.java:102) | |
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
AccountHeader header = new AccountHeaderBuilder().withActivity(this) | |
.withAccountHeader(R.layout.header).build(); | |
new DrawerBuilder() | |
.withActivity(this) | |
.withToolbar(mToolbar) | |
.withAccountHeader(header) | |
.addDrawerItems(item,item2,new DividerDrawerItem(),item3,item4,item5,item6,new DividerDrawerItem(), | |
item7) | |
.withActionBarDrawerToggle(true) |
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
package com.viztushar.myaccessibility; | |
import android.accessibilityservice.AccessibilityService; | |
import android.accessibilityservice.AccessibilityServiceInfo; | |
import android.os.Bundle; | |
import android.support.v4.view.accessibility.AccessibilityNodeInfoCompat; | |
import android.util.Log; | |
import android.view.accessibility.AccessibilityEvent; | |
import android.view.accessibility.AccessibilityNodeInfo; |