This file contains hidden or 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
interface ModelObservable : Observable { | |
fun notifyChange() | |
fun notifyPropertyChanged(fieldId: Int) | |
} | |
/** | |
* A convenience class that implements an extension of the [Observable] interface and provides | |
* [.notifyPropertyChanged] and [.notifyChange] methods. | |
*/ | |
class ModelObservableImpl : ModelObservable { |
This file contains hidden or 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'; | |
class ScrollToBottomController extends ScrollController { | |
ScrollToBottomController({ | |
@required Listenable listenable, | |
double initialScrollOffset = 0.0, | |
bool keepScrollOffset = true, | |
String debugLabel, | |
}) : _listenable = listenable, | |
super( |
This file contains hidden or 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.huffingtonpost.android.base.widget; | |
import android.os.Bundle; | |
import android.os.Parcel; | |
import android.os.Parcelable; | |
import android.support.v4.app.Fragment; | |
import android.support.v4.app.FragmentManager; | |
import android.support.v4.app.FragmentTransaction; | |
import android.support.v4.view.PagerAdapter; | |
import android.view.View; |
This file contains hidden or 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.project.vegassms.helpers; | |
import java.io.Serializable; | |
import java.util.Observable; | |
import android.os.Handler; | |
import android.os.Looper; | |
import com.project.vegassms.Message; | |
This file contains hidden or 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.serve.platform.service.support; | |
import java.io.Serializable; | |
import java.util.Arrays; | |
import java.util.LinkedList; | |
import android.os.Parcel; | |
import android.os.Parcelable; | |
public class Extras implements Parcelable { |
This file contains hidden or 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
public Fragment getParentFragmentTwo() { | |
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { | |
return getParentFragment(); | |
} else { | |
View view = getView(); | |
while (view.getParent() != null) { | |
Fragment fragment = getFragmentManager().findFragmentByTag((String) view.getTag()); | |
if (fragment != null) | |
return fragment; | |
view = (View) view.getParent(); |
This file contains hidden or 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.project.vegassms.managers; | |
import java.io.File; | |
import java.io.FileOutputStream; | |
import java.io.InputStream; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
import android.app.Application; |
This file contains hidden or 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
/* | |
* Copyright (C) 2011 Markus Junginger, greenrobot (http://greenrobot.de) | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains hidden or 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.project.vegassms.classes; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.util.Observable; | |
import java.util.Observer; | |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.os.Handler; |
This file contains hidden or 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.project.floatingvideos; | |
import java.util.Random; | |
import android.app.Activity; | |
import android.app.Fragment; | |
import android.app.FragmentManager; | |
import android.app.FragmentTransaction; | |
import android.content.Context; | |
import android.content.res.TypedArray; |
NewerOlder