Posts

AppBarLayout not working with RecyclerView in android 23.0.1 -

i facing issue while implementing appbarlayout animation recyclerview. not working. if replace recyclerview nesterrecyclerview works fine. please me fix this... <android.support.design.widget.coordinatorlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:clickable="true"> <android.support.design.widget.appbarlayout android:id="@+id/main.appbar" android:layout_width="match_parent" android:layout_height="wrap_content" android:theme="@style/themeoverlay.appcompat.dark.actionbar"> <android.support.design.widget.collapsingtoolbarlayout android:id="@+id/main.collapsing" android:layout_width="match_parent" android:layout_height="wrap_content" app:la...

asp.net - Remove connection from all groups in SignalR -

how can remove specific connection groups in signalr? - in application connection of specific user can associated several groups. don't want use database track association of connection groups. signalir docs the simplest solution iterate on groups , remove connection id each of them. there isn't inbuilt method in signalr this.

How to implement SearchView with Toolbar in Android? -

Image
i trying implement toolbar have done in android studio, cannot figure out how add searchview once search icon clicked. this want toolbar when search icon clicked. this toolbar.xml file: <?xml version="1.0" encoding="utf-8"?> <android.support.v7.widget.toolbar xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" xmlns:app="http://schemas.android.com/apk/res-auto" android:background="#000000" android:elevation="5dp" android:contentinsetleft="15dp" > <textview android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="bean" android:layout_gravity="center" android:textcolor="@color/beanblue" android:id="@+id/toolbar_title" ...

google apps marketplace - Gmail Gadget Error 406 being thrown on osapi.http.post -

we have multiple marketplace apps use gmail contextual gadgets. these have been running years successfully. we noticing following intermittent error being thrown when calling out external web server using open social osapi.http.post "{"id":"http.post","error":{"message":"response not valid json","code":406}}" we have checked , there nothing wrong our server. can make call directly our server without fail. we can replicate issue calling multiple servers running different apps/gadgets. commonality appears use of osapi.http.post. here post osapi.http.post({ 'body': postdata, 'href': serverurl + 'ilinkstreamer.ashx?data=' + "" + settimestamp() + debugstring, 'format': 'json', 'authz': 'signed', 'nocache': true }).execute(displaystreamlist...

Error compile apk in appcelerator -

i try compile apk using appcelerator error , using module ti.cloudpush. how solve it. currently i'm using titanium sdk: 5.2.0.ga [error] : failed run dexer: [error] : [error] : uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/dynamic/lifecycledelegate; [error] : uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/auth/googleauthutil; [error] : uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/auth/userrecoverableauthexception; [error] : uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/auth/googleauthexception; [error] : uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/auth/googleplayservicesavailabilityexception; [error] : uncaught translation error: java.lang.illegalargumentexception: added: lcom/google/android/gms/auth/userre...

angularjs - What if a file does not exist in local storage for angular.js ngStorage? -

(javascript) var app = angular.module('app', ['ngstorage']); app.config(function($scope, $localstorageprovider){   var userlogstatus = $localstorageprovider.get('userloggedin');   if (userlogstatus === 'null') {     $scope.loggedinout = 'partials/pagelink.html';   } else {     $scope.loggedinout = 'partials/anotherpage.html';  &nbsp} }; (html) <div ng-include="'{{loggedinout}}'"></div> the code mentioned above not working. value of userlogstatus taken null in javascript because file not exist in local storage of website. please correct code mentioned above , me. you should correct line: if (userlogstatus === 'null') to this: if (userlogstatus === null)

javascript - Unsolved PHP page refreshing without Ajax [Solved - Thanks!!] -

please, can publish mistakes corrected , tested code problem? program - 22.php has form. when user enter , click submit button, result should taken 23.php , displayed in div on 22.php i tried solutions below , none of them solve problem; 1) changed to: $("#testform").submit(function(event){ 2) included "return false;" @ end prevent submit form , reload page. 3) clear browser cache i can see happen program computer; 1) not error message after click submit. 2) can see tab of page reloads , entered text fields cleared. 3) no error message or result shows. <html> <head> <title>my first php page</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script> $(document).ready(function() { $("#btn").click(function(event){ event.pre...