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
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
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 { |
OlderNewer