Skip to content

Instantly share code, notes, and snippets.

🐢
Working

HighSoftWare96

🐢
Working
  • Italy
Block or report user

Report or block HighSoftWare96

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@HighSoftWare96
HighSoftWare96 / swiper-flat-list get current index.js
Created Jan 23, 2019
How to get current index from swiper-flat-list or flat-list in react native.
View swiper-flat-list get current index.js
import React from "react";
import SwiperFlatList from "react-native-swiper-flatlist";
export default class MyComponent extends React.Component {
// INSIDE A COMPONENT
constructor(props) {
super(props);
this.currentIndex = 0;
this._updateIndex = this._updateIndex.bind(this);
this.viewabilityConfig = {
@HighSoftWare96
HighSoftWare96 / main.py
Last active Sep 5, 2017 — forked from anonymous/main.py
Objs, special methods, imports, files
View main.py
# import di classi esterne al mio file principale
from module import Book
from module import Dictionary
book = Book("Moby Dick", "Loomings. \
Call me Ishmael. Some years ago—never mind how\
long precisely...", 500)
book.read()
print("Implementation of special method __len__:")
View KaAo-19.py
import math # learn more: https://python.org/pypi/Math
class Email:
sender = "me"
destination = "other"
def send(self):
print("Sent!")
host = "host"
newMail = Email()
print(newMail.sender)
You can’t perform that action at this time.